summaryrefslogtreecommitdiffstats
path: root/domx/omx_core/inc/OMX_TI_IVCommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'domx/omx_core/inc/OMX_TI_IVCommon.h')
-rwxr-xr-xdomx/omx_core/inc/OMX_TI_IVCommon.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/domx/omx_core/inc/OMX_TI_IVCommon.h b/domx/omx_core/inc/OMX_TI_IVCommon.h
index b439470..53ff447 100755
--- a/domx/omx_core/inc/OMX_TI_IVCommon.h
+++ b/domx/omx_core/inc/OMX_TI_IVCommon.h
@@ -476,7 +476,9 @@ typedef struct OMX_CONFIG_BRACKETINGTYPE {
OMX_BRACKETMODETYPE eBracketMode;
OMX_U32 nNbrBracketingValues;
OMX_S32 nBracketValues[10]; /**< 10 can be assumed */
+#ifndef DOMX_TUNA
OMX_S32 nBracketValues2[10]; /**< 10 can be assumed */
+#endif
} OMX_CONFIG_BRACKETINGTYPE;
@@ -1741,6 +1743,9 @@ typedef struct OMX_CONFIG_EXTRADATATYPE {
OMX_VERSIONTYPE nVersion;
OMX_U32 nPortIndex; /**< The read-only value containing the index of the port */
OMX_EXT_EXTRADATATYPE eExtraDataType; /**< Identifies the extra data payload type */
+#ifdef DOMX_TUNA
+ OMX_TI_CAMERAVIEWTYPE eCameraView;
+#endif
OMX_BOOL bEnable;
} OMX_CONFIG_EXTRADATATYPE;
@@ -2544,9 +2549,11 @@ typedef enum OMX_TI_SENFACING_TYPE {
typedef struct OMX_TI_SENMOUNT_TYPE {
OMX_U32 nSenId;
OMX_U32 nRotation;
+#ifndef DOMX_TUNA
OMX_BOOL bMirror;
OMX_BOOL bFlip;
OMX_TI_SENFACING_TYPE eFacing;
+#endif
}OMX_TI_SENMOUNT_TYPE;
/**
@@ -2599,7 +2606,9 @@ typedef struct OMX_TI_CAPRESTYPE {
OMX_U32 nHeightMin; // smallest height supported
OMX_U32 nWidthMax; // biggest width supported
OMX_U32 nHeightMax; // biggest height supported
+#ifndef DOMX_TUNA
OMX_U32 nMaxResInPixels;// max resolution in pixels
+#endif
} OMX_TI_CAPRESTYPE;
/**
@@ -2695,34 +2704,72 @@ typedef struct OMX_TI_CAPTYPE {
OMX_VERSIONTYPE nVersion;
OMX_U32 nPortIndex;
OMX_U16 ulPreviewFormatCount; // supported preview pixelformat count
+#ifdef DOMX_TUNA
+ OMX_COLOR_FORMATTYPE ePreviewFormats[100];
+#else
OMX_COLOR_FORMATTYPE ePreviewFormats[32];
+#endif
OMX_U16 ulImageFormatCount; // supported image pixelformat count
+#ifdef DOMX_TUNA
+ OMX_COLOR_FORMATTYPE eImageFormats[100];
+#else
OMX_COLOR_FORMATTYPE eImageFormats[32];
+#endif
OMX_TI_CAPRESTYPE tPreviewResRange; // supported preview resolution range
+#ifndef DOMX_TUNA
OMX_TI_CAPRESTYPE tRotatedPreviewResRange; // supported rotated preview resolution range
+#endif
OMX_TI_CAPRESTYPE tImageResRange; // supported image resolution range
OMX_TI_CAPRESTYPE tThumbResRange; // supported thumbnail resolution range
OMX_U16 ulWhiteBalanceCount; // supported whitebalance mode count
+#ifdef DOMX_TUNA
+ OMX_WHITEBALCONTROLTYPE eWhiteBalanceModes[100];
+#else
OMX_WHITEBALCONTROLTYPE eWhiteBalanceModes[32];
+#endif
OMX_U16 ulColorEffectCount; // supported effects count
+#ifdef DOMX_TUNA
+ OMX_IMAGEFILTERTYPE eColorEffects[100];
+#else
OMX_IMAGEFILTERTYPE eColorEffects[32];
+#endif
OMX_S32 xMaxWidthZoom; // Fixed point value stored as Q16
OMX_S32 xMaxHeightZoom; // Fixed point value stored as Q16
OMX_U16 ulFlickerCount; // supported anti-flicker mode count
+#ifdef DOMX_TUNA
+ OMX_COMMONFLICKERCANCELTYPE eFlicker[100];
+#else
OMX_COMMONFLICKERCANCELTYPE eFlicker[32];
+#endif
OMX_U16 ulExposureModeCount; // supported exposure mode count
+#ifdef DOMX_TUNA
+ OMX_EXPOSURECONTROLTYPE eExposureModes[100];
+#else
OMX_EXPOSURECONTROLTYPE eExposureModes[32];
+#endif
OMX_BOOL bLensDistortionCorrectionSupported;
OMX_BOOL bISONoiseFilterSupported;
OMX_S32 xEVCompensationMin; // Fixed point value stored as Q16
OMX_S32 xEVCompensationMax; // Fixed point value stored as Q16
OMX_U32 nSensitivityMax; // nSensitivityMax = 100 implies maximum supported equal to "ISO 100"
OMX_U16 ulFocusModeCount; // supported focus mode count
+#ifdef DOMX_TUNA
+ OMX_IMAGE_FOCUSCONTROLTYPE eFocusModes[100];
+#else
OMX_IMAGE_FOCUSCONTROLTYPE eFocusModes[32];
+#endif
OMX_U16 ulSceneCount; // supported scene count
+#ifdef DOMX_TUNA
+ OMX_SCENEMODETYPE eSceneModes[100];
+#else
OMX_SCENEMODETYPE eSceneModes[64];
+#endif
OMX_U16 ulFlashCount; // supported flash modes count
+#ifdef DOMX_TUNA
+ OMX_IMAGE_FLASHCONTROLTYPE eFlashModes[100];
+#else
OMX_IMAGE_FLASHCONTROLTYPE eFlashModes[32];
+#endif
OMX_U32 xFramerateMin; // Fixed point value stored as Q16
OMX_U32 xFramerateMax; // Fixed point value stored as Q16
OMX_BOOL bContrastSupported;
@@ -2735,6 +2782,7 @@ typedef struct OMX_TI_CAPTYPE {
OMX_U16 ulCapVarFPSModesCount; // supported variable FPS capture modes count
OMX_TI_VARFPSTYPE tCapVarFPSModes[10];
OMX_TI_SENMOUNT_TYPE tSenMounting;
+#ifndef DOMX_TUNA
OMX_U16 ulAutoConvModesCount; // supported auto convergence modes count
OMX_TI_AUTOCONVERGENCEMODETYPE eAutoConvModes[32];
OMX_U16 ulBracketingModesCount; // supported bracketing modes count
@@ -2745,6 +2793,7 @@ typedef struct OMX_TI_CAPTYPE {
OMX_IMAGE_CODINGTYPE eImageCodingFormat[32];
OMX_U16 uSenNativeResWidth;
OMX_U16 uSenNativeResHeight;
+#endif
OMX_U16 ulAlgoAreasFocusCount;
OMX_U16 ulAlgoAreasExposureCount;
OMX_BOOL bAELockSupported;