aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoDecoderMPEG4.cpp
diff options
context:
space:
mode:
authorywan171 <yi.a.wang@intel.com>2013-02-20 11:06:46 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:50 -0700
commit8483e61c67457f8dd5c998492dcaf8d9af275452 (patch)
tree5d8a5c6beff7dd153678fcd3b966238a3d587bde /videocodec/OMXVideoDecoderMPEG4.cpp
parent6a4d2bcbe0e773aa895ca6077c235976255d5cb5 (diff)
downloadandroid_hardware_intel_common_omx-components-8483e61c67457f8dd5c998492dcaf8d9af275452.tar.gz
android_hardware_intel_common_omx-components-8483e61c67457f8dd5c998492dcaf8d9af275452.tar.bz2
android_hardware_intel_common_omx-components-8483e61c67457f8dd5c998492dcaf8d9af275452.zip
omx-component: increase native buffer count for MPEG4 decoder
BZ: 87125 increase native buffer count to 15 for MPEG4 decoder to smooth the fluctuation caused by decoding some consective frames with lots of slices. Change-Id: I1f3f9818092772517f9560e2cb7ea1e711eec891 Signed-off-by: ywan171 <yi.a.wang@intel.com> Reviewed-on: http://android.intel.com:8080/92694 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com> Reviewed-by: Liang, Dan <dan.liang@intel.com> Reviewed-by: Feng, Wei <wei.feng@intel.com> Reviewed-by: Shi, PingX <pingx.shi@intel.com> Tested-by: Shi, PingX <pingx.shi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'videocodec/OMXVideoDecoderMPEG4.cpp')
-rw-r--r--videocodec/OMXVideoDecoderMPEG4.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/videocodec/OMXVideoDecoderMPEG4.cpp b/videocodec/OMXVideoDecoderMPEG4.cpp
index 0be7571..b73c0c4 100644
--- a/videocodec/OMXVideoDecoderMPEG4.cpp
+++ b/videocodec/OMXVideoDecoderMPEG4.cpp
@@ -29,6 +29,7 @@ OMXVideoDecoderMPEG4::OMXVideoDecoderMPEG4() {
if (!mVideoDecoder) {
LOGE("createVideoDecoder failed for \"%s\"", MPEG4_MIME_TYPE);
}
+ mNativeBufferCount = OUTPORT_NATIVE_BUFFER_COUNT;
BuildHandlerList();
}