summaryrefslogtreecommitdiff
path: root/mm-core/inc
diff options
context:
space:
mode:
authorUmesh Pandey <umeshp@codeaurora.org>2017-08-10 21:07:18 -0700
committerUmesh Pandey <umeshp@codeaurora.org>2017-08-22 16:07:38 -0700
commit7c6b7a27426b9659e39d84041affd22a5812c93a (patch)
treeacc38d0d1bbc6044b2af7836c21cfed6f0c516f9 /mm-core/inc
parent4725bf6cf339c683347c75ad692ae756979e2cba (diff)
downloadmedia-7c6b7a27426b9659e39d84041affd22a5812c93a.tar.gz
mm-video-v4l2: vdec: Sufficient event to insufficient for WFD DS
WFD DS feature requires port settings changed event when the profile exceeds certain profile/level. An extension is added which will set if the session is WFD and WFD profile/level setting. Once sufficient event is received at the userspace and profile/level of the bitstream exceeds WFD profile/level, sufficient events are converted to insufficient. CRs-Fixed: 2091196 Change-Id: Ib06d8841eb4faa9325ce279523264425bea4f3e0
Diffstat (limited to 'mm-core/inc')
-rwxr-xr-xmm-core/inc/OMX_QCOMExtns.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/mm-core/inc/OMX_QCOMExtns.h b/mm-core/inc/OMX_QCOMExtns.h
index cebaa0e4..592ef904 100755
--- a/mm-core/inc/OMX_QCOMExtns.h
+++ b/mm-core/inc/OMX_QCOMExtns.h
@@ -639,6 +639,26 @@ enum OMX_QCOM_EXTN_INDEXTYPE
/* OMX.QTI.index.config.video.getdsmode */
OMX_QTIIndexConfigGetDSMode = 0x7F000075,
+ /*
+ * Client configured profile and level for sufficiency
+ * This index will be set by the OMX client which will
+ * specify profile and level of the clip upto which
+ * buffer sufficiency should be considered. if the profile
+ * or level of the clip exceeds the client specified
+ * profile and level via this index, sufficient buffer
+ * events will be converted to insufficient.
+ * Structure to be used for this extension is:
+ * typedef struct OMX_VIDEO_PARAM_PROFILELEVELTYPE {
+ * OMX_U32 nSize;
+ * OMX_VERSIONTYPE nVersion;
+ * OMX_U32 nPortIndex;
+ * OMX_U32 eProfile;
+ * OMX_U32 eLevel;
+ * OMX_U32 nProfileIndex; // index not needed
+ * } OMX_VIDEO_PARAM_PROFILELEVELTYPE;
+ */
+ OMX_QTIIndexParamClientConfiguredProfileLevelForSufficiency = 0x7F000076,
+
/* Capabilities */
OMX_QTIIndexParamCapabilitiesVTDriverVersion = 0x7F100000,