aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoEncoderAVC.cpp
diff options
context:
space:
mode:
authorRemy Protat <remyx.protat@intel.com>2012-10-03 10:28:54 +0200
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:48 -0700
commiteb4e0f24d9e07fc733cf93cc883ecb9ab830b896 (patch)
tree38f1860e444c02c75f1325a55840a3be978f82f1 /videocodec/OMXVideoEncoderAVC.cpp
parentc28131c7f4fd7a6506e46cededc4ae2657dd75de (diff)
downloadandroid_hardware_intel_common_omx-components-eb4e0f24d9e07fc733cf93cc883ecb9ab830b896.tar.gz
android_hardware_intel_common_omx-components-eb4e0f24d9e07fc733cf93cc883ecb9ab830b896.tar.bz2
android_hardware_intel_common_omx-components-eb4e0f24d9e07fc733cf93cc883ecb9ab830b896.zip
Revert "omx-components: fix CTS MediaCodecListTest failure issue"
BZ: 54024 This reverts commit 78445c361f411cd154c40936ed6e01b82334fd3e. Change-Id: I306634a24e1d67c5b3141fc620197d28c6a93d01 Signed-off-by: Remy Protat <remyx.protat@intel.com> Reviewed-on: http://android.intel.com:8080/68899
Diffstat (limited to 'videocodec/OMXVideoEncoderAVC.cpp')
-rw-r--r--videocodec/OMXVideoEncoderAVC.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/videocodec/OMXVideoEncoderAVC.cpp b/videocodec/OMXVideoEncoderAVC.cpp
index 9a59485..9a39570 100644
--- a/videocodec/OMXVideoEncoderAVC.cpp
+++ b/videocodec/OMXVideoEncoderAVC.cpp
@@ -466,37 +466,9 @@ OMX_ERRORTYPE OMXVideoEncoderAVC::BuildHandlerList(void) {
AddHandler((OMX_INDEXTYPE)OMX_IndexConfigIntelSliceNumbers, GetConfigIntelSliceNumbers, SetConfigIntelSliceNumbers);
AddHandler((OMX_INDEXTYPE)OMX_IndexParamIntelAVCVUI, GetParamIntelAVCVUI, SetParamIntelAVCVUI);
AddHandler((OMX_INDEXTYPE)OMX_IndexParamVideoBytestream, GetParamVideoBytestream, SetParamVideoBytestream);
- AddHandler((OMX_INDEXTYPE)OMX_IndexParamVideoProfileLevelQuerySupported, GetParamVideoProfileLevelQuerySupported, SetParamVideoProfileLevelQuerySupported);
return OMX_ErrorNone;
}
-OMX_ERRORTYPE OMXVideoEncoderAVC::GetParamVideoProfileLevelQuerySupported(OMX_PTR pStructure) {
- OMX_ERRORTYPE ret;
- OMX_VIDEO_PARAM_PROFILELEVELTYPE *p = (OMX_VIDEO_PARAM_PROFILELEVELTYPE *)pStructure;
- CHECK_TYPE_HEADER(p);
- CHECK_PORT_INDEX(p, OUTPORT_INDEX);
-
- struct ProfileLevelTable {
- OMX_U32 profile;
- OMX_U32 level;
- } plTable[] = {
- {OMX_VIDEO_AVCProfileBaseline, OMX_VIDEO_AVCLevel41},
- };
-
- OMX_U32 count = sizeof(plTable)/sizeof(ProfileLevelTable);
- CHECK_ENUMERATION_RANGE(p->nProfileIndex,count);
-
- p->eProfile = plTable[p->nProfileIndex].profile;
- p->eLevel = plTable[p->nProfileIndex].level;
-
- return OMX_ErrorNone;
-}
-
-OMX_ERRORTYPE OMXVideoEncoderAVC::SetParamVideoProfileLevelQuerySupported(OMX_PTR pStructure) {
- LOGW("SetParamVideoAVCProfileLevel is not supported.");
- return OMX_ErrorUnsupportedSetting;
-}
-
OMX_ERRORTYPE OMXVideoEncoderAVC::GetParamVideoAvc(OMX_PTR pStructure) {
OMX_ERRORTYPE ret;
OMX_VIDEO_PARAM_AVCTYPE *p = (OMX_VIDEO_PARAM_AVCTYPE *)pStructure;