aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoDecoderH263.h
diff options
context:
space:
mode:
authorTianmi Chen <tianmi.chen@intel.com>2014-04-11 17:32:34 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:58 -0700
commit6c36d9722df768cfe63e015193459d870f3cdaa9 (patch)
tree9d01777db8bb0003a5484a1e04cfda9061d853b9 /videocodec/OMXVideoDecoderH263.h
parentd6909bc46ae314eb3cf17b411c095ede37c7465e (diff)
downloadandroid_hardware_intel_common_omx-components-6c36d9722df768cfe63e015193459d870f3cdaa9.tar.gz
android_hardware_intel_common_omx-components-6c36d9722df768cfe63e015193459d870f3cdaa9.tar.bz2
android_hardware_intel_common_omx-components-6c36d9722df768cfe63e015193459d870f3cdaa9.zip
omx-component: set max buffer count in case of protected video
BZ: 186222 max buffer count is set in case of adaptive playback. Protected video also needs to override the function. Change-Id: Ie532c66c5b77ca307bee5f434fe9474cf524948b Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
Diffstat (limited to 'videocodec/OMXVideoDecoderH263.h')
-rw-r--r--videocodec/OMXVideoDecoderH263.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/videocodec/OMXVideoDecoderH263.h b/videocodec/OMXVideoDecoderH263.h
index 47609fc..9da8fef 100644
--- a/videocodec/OMXVideoDecoderH263.h
+++ b/videocodec/OMXVideoDecoderH263.h
@@ -39,6 +39,7 @@ protected:
virtual OMX_ERRORTYPE PrepareDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p);
virtual OMX_ERRORTYPE BuildHandlerList(void);
+ virtual OMX_ERRORTYPE SetMaxOutputBufferCount(OMX_PARAM_PORTDEFINITIONTYPE *p);
virtual OMX_COLOR_FORMATTYPE GetOutputColorFormat(int width, int height);
DECLARE_HANDLER(OMXVideoDecoderH263, ParamVideoH263);
DECLARE_HANDLER(OMXVideoDecoderH263, ParamVideoH263ProfileLevel);