aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Liang <dan.liang@intel.com>2013-10-16 17:26:01 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:55 -0700
commit07cf1edddd80bbcd569575d9a6759fd82fd963f8 (patch)
treede93cb8214b72540dafb1925e22073f167a37c49
parent5e797fded8842fa4aaa87812311397b04bf46d54 (diff)
downloadandroid_hardware_intel_common_omx-components-07cf1edddd80bbcd569575d9a6759fd82fd963f8.tar.gz
android_hardware_intel_common_omx-components-07cf1edddd80bbcd569575d9a6759fd82fd963f8.tar.bz2
android_hardware_intel_common_omx-components-07cf1edddd80bbcd569575d9a6759fd82fd963f8.zip
[PDK KK ABSP] omx-component: rename VPX as VP8 due to KK header file changes
BZ: 141313 Modify VPX to VP8 Change-Id: I27ab9e7e91c0183898b1a01cbbf7f9b8a7540288 Signed-off-by: Dan Liang <dan.liang@intel.com>
-rw-r--r--videocodec/OMXVideoDecoderVP8.cpp4
-rw-r--r--videocodec/OMXVideoEncoderVP8.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/videocodec/OMXVideoDecoderVP8.cpp b/videocodec/OMXVideoDecoderVP8.cpp
index b81c705..d3d7fcd 100644
--- a/videocodec/OMXVideoDecoderVP8.cpp
+++ b/videocodec/OMXVideoDecoderVP8.cpp
@@ -42,7 +42,7 @@ OMX_ERRORTYPE OMXVideoDecoderVP8::InitInputPortFormatSpecific(OMX_PARAM_PORTDEFI
paramPortDefinitionInput->nBufferCountMin = INPORT_MIN_BUFFER_COUNT;
paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE;
paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)VP8_MIME_TYPE;
- paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVPX;
+ paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP8;
// OMX_VIDEO_PARAM_VP8TYPE
memset(&mParamVp8, 0, sizeof(mParamVp8));
@@ -107,6 +107,6 @@ OMX_ERRORTYPE OMXVideoDecoderVP8::SetParamVideoVp8(OMX_PTR pStructure) {
}
-DECLARE_OMX_COMPONENT("OMX.Intel.VideoDecoder.VPX", "video_decoder.vpx", OMXVideoDecoderVP8);
+DECLARE_OMX_COMPONENT("OMX.Intel.VideoDecoder.VP8", "video_decoder.vp8", OMXVideoDecoderVP8);
diff --git a/videocodec/OMXVideoEncoderVP8.cpp b/videocodec/OMXVideoEncoderVP8.cpp
index 917c124..8df2b3d 100644
--- a/videocodec/OMXVideoEncoderVP8.cpp
+++ b/videocodec/OMXVideoEncoderVP8.cpp
@@ -39,7 +39,7 @@ OMX_ERRORTYPE OMXVideoEncoderVP8::InitOutputPortFormatSpecific(OMX_PARAM_PORTDEF
paramPortDefinitionOutput->nBufferCountMin = OUTPORT_MIN_BUFFER_COUNT;
paramPortDefinitionOutput->nBufferSize = OUTPORT_BUFFER_SIZE;
paramPortDefinitionOutput->format.video.cMIMEType = (OMX_STRING)VP8_MIME_TYPE;
- paramPortDefinitionOutput->format.video.eCompressionFormat = OMX_VIDEO_CodingVPX;
+ paramPortDefinitionOutput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP8;
mParamProfileLevel.eProfile = OMX_VIDEO_VP8ProfileMain;
mParamProfileLevel.eLevel = OMX_VIDEO_VP8Level_Version3;