summaryrefslogtreecommitdiff
path: root/mm-core/inc
diff options
context:
space:
mode:
authorKarthikeyan Periasamy <kperiasa@codeaurora.org>2017-03-13 15:41:47 -0700
committerKarthikeyan Periasamy <kperiasa@codeaurora.org>2017-03-13 15:41:47 -0700
commit56fd525115ea5cc79cda21ea77dbda5bf7ba0caf (patch)
treef0460358a41eb01e7048685b2550f0c17ef59afd /mm-core/inc
parentd2d009805425717f0555472163b0ac36666fb587 (diff)
downloadmedia-56fd525115ea5cc79cda21ea77dbda5bf7ba0caf.tar.gz
mm-core: Re-enable config perf level and MBI statistics mode
To fix the compilation issues, we re-enable config perf level and MBI statistics mode Change-Id: I45071dfca94135c553707e940f8285d2075ab2c2
Diffstat (limited to 'mm-core/inc')
-rw-r--r--mm-core/inc/OMX_QCOMExtns.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/mm-core/inc/OMX_QCOMExtns.h b/mm-core/inc/OMX_QCOMExtns.h
index 29ae0a61..0733f42a 100644
--- a/mm-core/inc/OMX_QCOMExtns.h
+++ b/mm-core/inc/OMX_QCOMExtns.h
@@ -497,6 +497,8 @@ enum OMX_QCOM_EXTN_INDEXTYPE
OMX_QcomIndexParamSetMVSearchrange = 0x7F00003C,
+ OMX_QcomIndexConfigPerfLevel = 0x7F00003D,
+
/*"OMX.QCOM.index.param.video.LTRCount"*/
OMX_QcomIndexParamVideoLTRCount = QOMX_IndexParamVideoLTRCount,
@@ -523,6 +525,9 @@ enum OMX_QCOM_EXTN_INDEXTYPE
/* Enable VPP */
OMX_QcomIndexParamEnableVpp = 0x7F000046,
+ /* MBI statistics mode */
+ OMX_QcomIndexParamMBIStatisticsMode = 0x7F000047,
+
/* Set PictureTypeDecode */
OMX_QcomIndexConfigPictureTypeDecode = 0x7F000048,
@@ -1026,6 +1031,34 @@ typedef struct OMX_QCOM_VIDEO_CONFIG_AUD
OMX_BOOL bEnable; /** Enable/disable the setting */
} OMX_QCOM_VIDEO_CONFIG_AUD;
+typedef enum QOMX_VIDEO_PERF_LEVEL
+{
+ OMX_QCOM_PerfLevelNominal,
+ OMX_QCOM_PerfLevelTurbo
+} QOMX_VIDEO_PERF_LEVEL;
+
+/**
+ * This structure describes the parameters corresponding
+ * to OMX_QcomIndexParamPerfLevel extension. It will set
+ * the performance mode specified as QOMX_VIDEO_PERF_LEVEL.
+ */
+typedef struct OMX_QCOM_VIDEO_PARAM_PERF_LEVEL {
+ OMX_U32 nSize; /** Size of the structure in bytes */
+ OMX_VERSIONTYPE nVersion; /** OMX specification version information */
+ QOMX_VIDEO_PERF_LEVEL ePerfLevel; /** Performance level */
+} OMX_QCOM_VIDEO_PARAM_PERF_LEVEL;
+
+/**
+ * This structure describes the parameters corresponding
+ * to OMX_QcomIndexConfigPerfLevel extension. It will set
+ * the performance mode specified as QOMX_VIDEO_PERF_LEVEL.
+ */
+typedef struct OMX_QCOM_VIDEO_CONFIG_PERF_LEVEL {
+ OMX_U32 nSize; /** Size of the structure in bytes */
+ OMX_VERSIONTYPE nVersion; /** OMX specification version information */
+ QOMX_VIDEO_PERF_LEVEL ePerfLevel; /** Performance level */
+} OMX_QCOM_VIDEO_CONFIG_PERF_LEVEL;
+
typedef enum QOMX_VIDEO_PICTURE_TYPE_DECODE
{
OMX_QCOM_PictypeDecode_IPB,
@@ -1939,6 +1972,13 @@ typedef enum OMX_QOMX_VIDEO_MBISTATISTICSTYPE {
QOMX_MBI_STATISTICS_MODE_2 = 0x02,
} OMX_QOMX_VIDEO_MBISTATISTICSTYPE;
+typedef struct OMX_QOMX_VIDEO_MBI_STATISTICS {
+ OMX_U32 nSize;
+ OMX_VERSIONTYPE nVersion;
+ OMX_U32 nPortIndex;
+ OMX_QOMX_VIDEO_MBISTATISTICSTYPE eMBIStatisticsType;
+} OMX_QOMX_VIDEO_MBI_STATISTICS;
+
typedef struct QOMX_VIDEO_BATCHSIZETYPE {
OMX_U32 nSize;
OMX_VERSIONTYPE nVersion;