aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Liang <dan.liang@intel.com>2014-03-11 14:35:49 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:57 -0700
commit9e84e79d7e04bb535ca650ffdb54d6edf55878ff (patch)
treeba82366924943288806731b443a4b1dbfa381858
parent94f43328fd68ede85ccf631ca0fa9c942d18f5ee (diff)
downloadandroid_hardware_intel_common_omx-components-9e84e79d7e04bb535ca650ffdb54d6edf55878ff.tar.gz
android_hardware_intel_common_omx-components-9e84e79d7e04bb535ca650ffdb54d6edf55878ff.tar.bz2
android_hardware_intel_common_omx-components-9e84e79d7e04bb535ca650ffdb54d6edf55878ff.zip
omx-component: reduce the default buffer count for AVC Decoder
BZ: 175667 Reduce the buffer count for AVC Decoder from 17 to 11, while the 6 left will be allocated dynamically when WiDi is on. Change-Id: Ia1c67913e730476be625f38fdad9280d2184b8f4 Signed-off-by: Dan Liang <dan.liang@intel.com>
-rw-r--r--videocodec/OMXVideoDecoderAVC.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/videocodec/OMXVideoDecoderAVC.h b/videocodec/OMXVideoDecoderAVC.h
index c9fa2b9..86a8373 100644
--- a/videocodec/OMXVideoDecoderAVC.h
+++ b/videocodec/OMXVideoDecoderAVC.h
@@ -64,7 +64,7 @@ private:
EXTRA_REFERENCE_FRAME = 6,
// a typical value for 1080p clips
- OUTPORT_NATIVE_BUFFER_COUNT = 17,
+ OUTPORT_NATIVE_BUFFER_COUNT = 11,
};
OMX_VIDEO_PARAM_AVCTYPE mParamAvc;