summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaveen Kumar Penda <pnaveen@ti.com>2012-03-05 21:17:37 +0530
committerNaveen Kumar Penda <pnaveen@ti.com>2012-03-06 13:14:37 +0530
commit86aa9f97d6e426abb0224fc01e766d485c09af20 (patch)
treed732842b557368867e4513847a1dafd2cbda047e
parent4a9d808b4e33471eebb8a8f95f883adc93d9dcd2 (diff)
downloaddomx-omapzoom-86aa9f97d6e426abb0224fc01e766d485c09af20.tar.gz
OMX interface for Port Tap Point
Signed-off-by: naveen kumar penda <a0393443@ti.com> Ducati side changes: https://gerrit.ext.ti.com/gerrit/omap/#change,4943 Change-Id: I69a99ddd247b291f542a40209c95f5c8eec92b39
-rw-r--r--omx_core/inc/OMX_TI_IVCommon.h27
-rw-r--r--omx_core/inc/OMX_TI_Index.h2
2 files changed, 28 insertions, 1 deletions
diff --git a/omx_core/inc/OMX_TI_IVCommon.h b/omx_core/inc/OMX_TI_IVCommon.h
index add820b..85d71b9 100644
--- a/omx_core/inc/OMX_TI_IVCommon.h
+++ b/omx_core/inc/OMX_TI_IVCommon.h
@@ -3198,6 +3198,33 @@ typedef struct OMX_TI_CONFIG_ZSLFRAMESELECTPRIOTYPE {
OMX_VERSIONTYPE nVersion;
OMX_TI_ZSL_PRIORITY_TYPE ePriority;
} OMX_TI_CONFIG_ZSLFRAMESELECTPRIOTYPE;
+
+typedef enum OMX_TI_PORTTAPPOINTTYPE {
+ OMX_TI_PortTap_Bayer_SensorOutput,
+ OMX_TI_PortTap_Bayer_PostLsc,
+ OMX_TI_PortTap_Bayer_PreBayerToYUVConversion,
+ OMX_TI_PortTap_YUV_PostBayerToYUVConversion,
+ OMX_TI_PortTap_YUV_PreJPEGCompression,
+ OMX_TI_PortTap = 0x7FFFFFFF
+} OMX_TI_PORTTAPPOINTTYPE;
+
+/**
+ * Define configuration structure for
+ * tap in/out points for the selected port
+ *
+ * STRUCT MEMBERS:
+ * nSize : Size of the structure in bytes
+ * nVersion : OMX specification version information
+ * nPortIndex : Port that this structure applies to
+ * eTapPoint : Select the tap in/out point for the port
+ */
+typedef struct OMX_TI_CONFIG_PORTTAPPOINTTYPE {
+ OMX_U32 nSize;
+ OMX_VERSIONTYPE nVersion;
+ OMX_U32 nPortIndex;
+ OMX_TI_PORTTAPPOINTTYPE eTapPoint;
+} OMX_TI_CONFIG_PORTTAPPOINTTYPE;
+
#ifdef __cplusplus
}
diff --git a/omx_core/inc/OMX_TI_Index.h b/omx_core/inc/OMX_TI_Index.h
index 027a0b1..683dfc0 100644
--- a/omx_core/inc/OMX_TI_Index.h
+++ b/omx_core/inc/OMX_TI_Index.h
@@ -245,7 +245,7 @@ typedef enum OMX_TI_INDEXTYPE {
OMX_TI_IndexConfigOTPEeprom, /**< 0x7F000096 reference: OMX_CONFIG_OTPEEPROM */
OMX_TI_IndexConfigISPInfo, /**< 0x7F000097 reference: OMX_CONFIG_ISPINFO */
OMX_TI_IndexConfigPicSizeControlInfo, /**< 0x7F000098 reference: OMX_TI_VIDEO_CONFIG_PICSIZECONTROLINFO */
-
+ OMX_TI_IndexConfigPortTapPoint, /**< 0x7F000099 reference: OMX_TI_CONFIG_PORTTAPPOINTTYPE */
OMX_TI_IndexConfigStreamInterlaceFormats = ((OMX_INDEXTYPE)OMX_IndexVendorStartUnused + 0x100) /**< 0x7F000100 reference: OMX_STREAMINTERLACEFORMATTYPE */
} OMX_TI_INDEXTYPE;