summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShivaraj Shetty <shettyshivaraj@ti.com>2012-03-09 12:38:47 +0530
committerShivaraj Shetty <shettyshivaraj@ti.com>2012-03-09 12:38:47 +0530
commit2534cfa38da2cdd1c2818396c3dad6319d300631 (patch)
tree9d66c2e10f9ac962942677cb02288e5e8c3e57fa
parent4a1384678869ed4109e7bf42b83f7707edda38c8 (diff)
downloaddomx-omapzoom-domx-ducati-2.0.tar.gz
[OMAP4-DOMX]Patch to add new index to control feature to skip grey framesdomx-ducati-2.0
Signed-off-by: Shivaraj Shetty <shettyshivaraj@ti.com>
-rw-r--r--omx_core/inc/OMX_TI_Index.h2
-rwxr-xr-xomx_core/inc/OMX_TI_Video.h12
2 files changed, 13 insertions, 1 deletions
diff --git a/omx_core/inc/OMX_TI_Index.h b/omx_core/inc/OMX_TI_Index.h
index f9b1f41..842de14 100644
--- a/omx_core/inc/OMX_TI_Index.h
+++ b/omx_core/inc/OMX_TI_Index.h
@@ -237,7 +237,7 @@ typedef enum OMX_TI_INDEXTYPE {
OMX_TI_IndexParamTimeStampInDecodeOrder, /**< 0x7F00008E reference: OMX_TI_PARAM_TIMESTAMP_IN_DECODE_ORDER */
OMX_TI_IndexParamVideoAutoFrameRateUpdate, /**< 0x7F00008F reference: OMX_TI_VIDEO_PARAM_AUTO_FRAMERATE_UPDATE */
OMX_TI_IndexParamBayerCompression, /**< 0x7F000090 reference: OMX_TI_PARAM_BAYERCOMPRESSION */
-
+ OMX_TI_IndexParamSkipGreyOutputFrames, /**< 0x7F000091 reference: OMX_TI_PARAM_SKIP_GREY_OUTPUT_FRAMES */
OMX_TI_IndexConfigStreamInterlaceFormats = ((OMX_INDEXTYPE)OMX_IndexVendorStartUnused + 0x100) /**< 0x7F000100 reference: OMX_STREAMINTERLACEFORMATTYPE */
} OMX_TI_INDEXTYPE;
diff --git a/omx_core/inc/OMX_TI_Video.h b/omx_core/inc/OMX_TI_Video.h
index 8cb2f2e..dd84d53 100755
--- a/omx_core/inc/OMX_TI_Video.h
+++ b/omx_core/inc/OMX_TI_Video.h
@@ -1218,5 +1218,17 @@ typedef struct OMX_TI_VIDEO_PARAM_AUTO_FRAMERATE_UPDATE {
OMX_U32 nMaxSessionFrameRate;
} OMX_TI_VIDEO_PARAM_AUTO_FRAMERATE_UPDATE;
+/* ============================================================================= */
+/*
+@brief OMX_TI_PARAM_SKIP_GREY_OUTPUT_FRAMES : Structure to enable feature to skip grey output
+ frames which doesn't have proper reference.
+*/
+/* ============================================================================= */
+typedef struct OMX_TI_PARAM_SKIP_GREY_OUTPUT_FRAMES {
+ OMX_U32 nSize;
+ OMX_VERSIONTYPE nVersion;
+ OMX_BOOL bEnabled;
+} OMX_TI_PARAM_SKIP_GREY_OUTPUT_FRAMES;
+
#endif /* OMX_TI_VIDEO_H */