Loading media/libstagefright/codecs/on2/dec/SoftVPX.cpp +9 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ //#define LOG_NDEBUG 0 #define LOG_TAG "SoftVPX" #include <utils/Log.h> #include <utils/misc.h> #include "OMX_VideoExt.h" #include "SoftVPX.h" Loading @@ -26,6 +28,11 @@ namespace android { // Only need to declare the highest supported profile and level here. static const CodecProfileLevel kVP9ProfileLevels[] = { { OMX_VIDEO_VP9Profile0, OMX_VIDEO_VP9Level5 }, }; SoftVPX::SoftVPX( const char *name, const char *componentRole, Loading @@ -35,7 +42,8 @@ SoftVPX::SoftVPX( OMX_COMPONENTTYPE **component) : SoftVideoDecoderOMXComponent( name, componentRole, codingType, NULL /* profileLevels */, 0 /* numProfileLevels */, codingType == OMX_VIDEO_CodingVP8 ? NULL : kVP9ProfileLevels, codingType == OMX_VIDEO_CodingVP8 ? 0 : NELEM(kVP9ProfileLevels), 320 /* width */, 240 /* height */, callbacks, appData, component), mMode(codingType == OMX_VIDEO_CodingVP8 ? MODE_VP8 : MODE_VP9), mEOSStatus(INPUT_DATA_AVAILABLE), Loading Loading
media/libstagefright/codecs/on2/dec/SoftVPX.cpp +9 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ //#define LOG_NDEBUG 0 #define LOG_TAG "SoftVPX" #include <utils/Log.h> #include <utils/misc.h> #include "OMX_VideoExt.h" #include "SoftVPX.h" Loading @@ -26,6 +28,11 @@ namespace android { // Only need to declare the highest supported profile and level here. static const CodecProfileLevel kVP9ProfileLevels[] = { { OMX_VIDEO_VP9Profile0, OMX_VIDEO_VP9Level5 }, }; SoftVPX::SoftVPX( const char *name, const char *componentRole, Loading @@ -35,7 +42,8 @@ SoftVPX::SoftVPX( OMX_COMPONENTTYPE **component) : SoftVideoDecoderOMXComponent( name, componentRole, codingType, NULL /* profileLevels */, 0 /* numProfileLevels */, codingType == OMX_VIDEO_CodingVP8 ? NULL : kVP9ProfileLevels, codingType == OMX_VIDEO_CodingVP8 ? 0 : NELEM(kVP9ProfileLevels), 320 /* width */, 240 /* height */, callbacks, appData, component), mMode(codingType == OMX_VIDEO_CodingVP8 ? MODE_VP8 : MODE_VP9), mEOSStatus(INPUT_DATA_AVAILABLE), Loading