summaryrefslogtreecommitdiffstats
path: root/mm-core
diff options
context:
space:
mode:
authorDeva Ramasubramanian <dramasub@codeaurora.org>2012-11-28 12:53:26 -0800
committerIliyan Malchev <malchev@google.com>2013-01-25 11:09:16 -0800
commit2d1c6fa918d6d3afcb93a25c0e6d60cac8365275 (patch)
tree57a9bcc273c0933bb77682b6b4075b18c61f7c13 /mm-core
parent57550cf78d0e21406efd278ad44069674b2e1813 (diff)
downloadandroid_hardware_qcom_media-2d1c6fa918d6d3afcb93a25c0e6d60cac8365275.tar.gz
android_hardware_qcom_media-2d1c6fa918d6d3afcb93a25c0e6d60cac8365275.tar.bz2
android_hardware_qcom_media-2d1c6fa918d6d3afcb93a25c0e6d60cac8365275.zip
mm-video: add support for the bitstream_restrict flag in VUI
Expose the OMX_QcomIndexParamEnableVUIStreamRestrictFlag parameter which allows the OMX client to enable bitstream_restriction_flag in the H264 VUI. Bug: 7490963 Change-Id: I0f0d1959c6b044f790173288680b9241069a5038 Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'mm-core')
-rw-r--r--mm-core/inc/OMX_QCOMExtns.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/mm-core/inc/OMX_QCOMExtns.h b/mm-core/inc/OMX_QCOMExtns.h
index ffbaddf3..7890a1d0 100644
--- a/mm-core/inc/OMX_QCOMExtns.h
+++ b/mm-core/inc/OMX_QCOMExtns.h
@@ -358,6 +358,8 @@ enum OMX_QCOM_EXTN_INDEXTYPE
OMX_QcomIndexEnableSliceDeliveryMode = 0x7F00001F,
OMX_QcomIndexParamSequenceHeaderWithIDR = 0x7F000020,
+
+ OMX_QcomIndexParamEnableVUIStreamRestrictFlag = 0x7F000021,
};
/**
@@ -868,6 +870,15 @@ typedef enum {
QOMX_VIDEO_CONTENT_RL_VIEW = 2,
} QOMX_VIDEO_CONTENT_INTERPRETATION;
+// A pointer to this struct is passed to OMX_SetParameter when the extension
+// index for the 'OMX.google.android.index.setVUIStreamRestrictFlag' extension
+// is given.
+typedef struct QOMX_VUI_BITSTREAM_RESTRICT {
+ OMX_U32 nSize;
+ OMX_VERSIONTYPE nVersion;
+ OMX_BOOL bEnable;
+} QOMX_VUI_BITSTREAM_RESTRICT;
+
#ifdef __cplusplus
}
#endif /* __cplusplus */