diff options
author | Weian Chen <weian.chen@intel.com> | 2011-07-05 12:23:11 -0400 |
---|---|---|
committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 22:03:38 -0700 |
commit | 0135424dc0ef82daf136d8d0032a0a95764bab05 (patch) | |
tree | e8e991ff43a292ac4a627a7d0fa92f742e0b1f50 /core | |
parent | e503ec3c9728cb056beb28d4cfbe267962bdd1c9 (diff) | |
download | wrs_omxil_core-0135424dc0ef82daf136d8d0032a0a95764bab05.tar.gz |
Add extended data structure
BZ: 4486
Add extended data structure IndexParamIntelAVCVUI and
IndexParamIntelAdaptiveSliceControl for video encoding (from froyo)
Change-Id: I1f2ec2f9f49d0bd7f68428b4953239a0684af368
Signed-off-by: Weian Chen <weian.chen@intel.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/inc/khronos/openmax/include/OMX_IndexExt.h | 4 | ||||
-rw-r--r-- | core/inc/khronos/openmax/include/OMX_VideoExt.h | 20 |
2 files changed, 23 insertions, 1 deletions
diff --git a/core/inc/khronos/openmax/include/OMX_IndexExt.h b/core/inc/khronos/openmax/include/OMX_IndexExt.h index 366b0c6..2f689c3 100644 --- a/core/inc/khronos/openmax/include/OMX_IndexExt.h +++ b/core/inc/khronos/openmax/include/OMX_IndexExt.h @@ -71,7 +71,9 @@ typedef enum OMX_INDEXEXTTYPE { OMX_IndexConfigIntelBitrate, /**< reference: OMX_VIDEO_CONFIG_INTEL_BITRATETYPE */
OMX_IndexParamIntelAVCDecodeSettings, /**< reference: OMX_VIDEO_PARAM_INTEL_AVC_DECODE_SETTINGS */
OMX_IndexConfigIntelSliceNumbers, /**< reference: OMX_VIDEO_CONFIG_INTEL_SLICE_NUMBERS */
- OMX_IndexConfigIntelAIR, /**< reference: OMX_VIDEO_CONFIG_INTEL_AIR */
+ OMX_IndexConfigIntelAIR, /**< reference: OMX_VIDEO_CONFIG_INTEL_AIR */
+ OMX_IndexParamIntelAVCVUI, /**< reference: OMX_VIDEO_PARAM_INTEL_AVCVUI */
+ OMX_IndexParamIntelAdaptiveSliceControl, /**< reference: OMX_VIDEO_PARAM_INTEL_ADAPTIVE_SLICE_CONTROL */
/* 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 f97a3bf..9c7e7af 100644 --- a/core/inc/khronos/openmax/include/OMX_VideoExt.h +++ b/core/inc/khronos/openmax/include/OMX_VideoExt.h @@ -125,6 +125,26 @@ typedef struct OMX_VIDEO_CONFIG_INTEL_AIR { } OMX_VIDEO_CONFIG_INTEL_AIR; +typedef struct OMX_VIDEO_PARAM_INTEL_AVCVUI { + OMX_U32 nSize; // Size of the structure + OMX_VERSIONTYPE nVersion; // OMX specification version + OMX_U32 nPortIndex; // Port that this structure applies to + OMX_BOOL bVuiGeneration; // Enable/disable VUI generation + +} OMX_VIDEO_PARAM_INTEL_AVCVUI; + +typedef struct OMX_VIDEO_PARAM_INTEL_ADAPTIVE_SLICE_CONTROL { + OMX_U32 nSize; // Size of the structure + OMX_VERSIONTYPE nVersion; // OMX specification version + OMX_U32 nPortIndex; // Port that this structure applies to + OMX_BOOL bEnable; // enable adaptive slice control + OMX_U32 nMinPSliceNumber; // minimum number of P slices + OMX_U32 nNumPFramesToSkip; // number of P frames after an I frame to skip before kicking in adaptive slice control + OMX_U32 nSliceSizeThreshold; // Slice size threshold for adaptive slice control to start a new slice + OMX_U32 nSliceSizeSkipThreshold; // Slice size skip threshold for adaptive slice control to start a new slice +} OMX_VIDEO_PARAM_INTEL_ADAPTIVE_SLICE_CONTROL; + + #ifdef __cplusplus } #endif /* __cplusplus */ |