aboutsummaryrefslogtreecommitdiff
path: root/videocodec/OMXVideoDecoderBase.h
diff options
context:
space:
mode:
authorYu, Linda <linda.yu@intel.com>2013-10-24 12:22:22 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:54 -0700
commitc6439c546556e18f0b9ccb760109cb362d05658c (patch)
tree9fd85c7626e5b3b7b74b3e2fd0a2148bc07a247a /videocodec/OMXVideoDecoderBase.h
parentf6e051517175c02fb493a6a75e7d92a328df6e91 (diff)
downloadomx-components-c6439c546556e18f0b9ccb760109cb362d05658c.tar.gz
add set/get function for VPPBufferNum in OMX
BZ: 145717 1. add set/get function for VPPBufferNum in OMX 2. vpp buffer num should omit in decoder buffer comparison Change-Id: Id4bb404b4f001b1f27b72692a4ae1efc81db9531 Signed-off-by: Yu, Linda <linda.yu@intel.com>
Diffstat (limited to 'videocodec/OMXVideoDecoderBase.h')
-rw-r--r--videocodec/OMXVideoDecoderBase.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/videocodec/OMXVideoDecoderBase.h b/videocodec/OMXVideoDecoderBase.h
index 6889d7f..1db74d8 100644
--- a/videocodec/OMXVideoDecoderBase.h
+++ b/videocodec/OMXVideoDecoderBase.h
@@ -67,6 +67,9 @@ protected:
DECLARE_HANDLER(OMXVideoDecoderBase, NativeBufferMode);
DECLARE_HANDLER(OMXVideoDecoderBase, DecoderRotation);
DECLARE_HANDLER(OMXVideoDecoderBase, DecoderOutputCrop);
+#ifdef TARGET_HAS_VPP
+ DECLARE_HANDLER(OMXVideoDecoderBase, DecoderVppBufferNum);
+#endif
private:
enum {
@@ -93,6 +96,9 @@ private:
};
GraphicBufferParam mGraphicBufferParam;
uint32_t mRotationDegrees;
+#ifdef TARGET_HAS_VPP
+ uint32_t mVppBufferNum;
+#endif
protected:
IVideoDecoder *mVideoDecoder;