aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorYong Yao <yong.yao@intel.com>2011-11-25 05:47:46 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:03:38 -0700
commit92528264a273da7a58fefc7b77b0437bbcc6c330 (patch)
treea4fc15f25660381bd68cc0b6f35a06f655fe0a02 /core
parent44e493bfd5e5abeadd4431e294d3108235bdeb29 (diff)
downloadwrs_omxil_core-92528264a273da7a58fefc7b77b0437bbcc6c330.tar.gz
CAMERA: add setParameter for storeMetaDataInBuffers
BZ: 15257 Change-Id: I915d759af9476b78cd251c290cac876d006b64a4 Signed-off-by: Shuo Liu <shuo.liu@intel.com> Reviewed-on: http://android.intel.com:8080/25227 Reviewed-by: Seibel, Eric <eric.seibel@intel.com> Tested-by: Seibel, Eric <eric.seibel@intel.com> Reviewed-by: Gross, Mark <mark.gross@intel.com> Tested-by: Gross, Mark <mark.gross@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'core')
-rw-r--r--core/inc/khronos/openmax/include/OMX_IndexExt.h1
-rw-r--r--core/inc/khronos/openmax/include/OMX_VideoExt.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/core/inc/khronos/openmax/include/OMX_IndexExt.h b/core/inc/khronos/openmax/include/OMX_IndexExt.h
index 59bede1..7f2383e 100644
--- a/core/inc/khronos/openmax/include/OMX_IndexExt.h
+++ b/core/inc/khronos/openmax/include/OMX_IndexExt.h
@@ -75,6 +75,7 @@ typedef enum OMX_INDEXEXTTYPE {
OMX_IndexParamIntelAVCVUI, /**< reference: OMX_VIDEO_PARAM_INTEL_AVCVUI */
OMX_IndexParamIntelAdaptiveSliceControl, /**< reference: OMX_VIDEO_PARAM_INTEL_ADAPTIVE_SLICE_CONTROL */
OMX_IndexBufferIDMode, /**< reference: boolean value to specify buffer id mode is in effect*/
+ OMX_IndexStoreMetaDataInBuffers, /**< reference: StoreMetaDataInBuffersParams*/
/* Image & Video common configurations */
OMX_IndexExtCommonStartUnused = OMX_IndexKhronosExtensions + 0x00700000,
diff --git a/core/inc/khronos/openmax/include/OMX_VideoExt.h b/core/inc/khronos/openmax/include/OMX_VideoExt.h
index bfdbd7b..7a4a9c0 100644
--- a/core/inc/khronos/openmax/include/OMX_VideoExt.h
+++ b/core/inc/khronos/openmax/include/OMX_VideoExt.h
@@ -145,6 +145,13 @@ typedef struct OMX_VIDEO_PARAM_INTEL_ADAPTIVE_SLICE_CONTROL {
OMX_U32 nSliceSizeSkipThreshold; // Slice size skip threshold for adaptive slice control to start a new slice
} OMX_VIDEO_PARAM_INTEL_ADAPTIVE_SLICE_CONTROL;
+//align with <media/stagefright/HardwareAPI.h>
+typedef struct StoreMetaDataInBuffersParams {
+ OMX_U32 nSize; // Size of the structure
+ OMX_VERSIONTYPE nVersion; // OMX specification version
+ OMX_U32 nPortIndex; // Port that this struct applies to
+ OMX_BOOL bStoreMetaData; // Enable/disable meta data input
+} StoreMetaDataInBuffersParams;
#ifdef __cplusplus
}