diff options
Diffstat (limited to 'msm8974/mm-core')
-rw-r--r-- | msm8974/mm-core/inc/OMX_IndexExt.h | 1 | ||||
-rw-r--r-- | msm8974/mm-core/inc/OMX_VideoExt.h | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/msm8974/mm-core/inc/OMX_IndexExt.h b/msm8974/mm-core/inc/OMX_IndexExt.h index feddcb1..3f278ba 100644 --- a/msm8974/mm-core/inc/OMX_IndexExt.h +++ b/msm8974/mm-core/inc/OMX_IndexExt.h @@ -72,6 +72,7 @@ typedef enum OMX_INDEXEXTTYPE { OMX_IndexParamVideoAndroidVp8Encoder, /**< reference: OMX_VIDEO_PARAM_ANDROID_VP8ENCODERTYPE */ OMX_IndexParamVideoHevc, /**< reference: OMX_VIDEO_PARAM_HEVCTYPE */ OMX_IndexParamSliceSegments, /**< reference: OMX_VIDEO_SLICESEGMENTSTYPE */ + OMX_IndexConfigAndroidIntraRefresh, /**< reference: OMX_VIDEO_CONFIG_ANDROID_INTRAREFRESHTYPE */ /* Image & Video common configurations */ OMX_IndexExtCommonStartUnused = OMX_IndexKhronosExtensions + 0x00700000, diff --git a/msm8974/mm-core/inc/OMX_VideoExt.h b/msm8974/mm-core/inc/OMX_VideoExt.h index 5bf6fd4..92d360a 100644 --- a/msm8974/mm-core/inc/OMX_VideoExt.h +++ b/msm8974/mm-core/inc/OMX_VideoExt.h @@ -157,6 +157,21 @@ typedef struct OMX_VIDEO_PARAM_HEVCTYPE { OMX_VIDEO_HEVCLEVELTYPE eLevel; } OMX_VIDEO_PARAM_HEVCTYPE; +/** + * Structure for configuring video compression intra refresh period + * + * STRUCT MEMBERS: + * nSize : Size of the structure in bytes + * nVersion : OMX specification version information + * nPortIndex : Port that this structure applies to + * nRefreshPeriod : Intra refreh period in frames. Value 0 means disable intra refresh +*/ +typedef struct OMX_VIDEO_CONFIG_ANDROID_INTRAREFRESHTYPE { + OMX_U32 nSize; + OMX_VERSIONTYPE nVersion; + OMX_U32 nPortIndex; + OMX_U32 nRefreshPeriod; +} OMX_VIDEO_CONFIG_ANDROID_INTRAREFRESHTYPE; #ifdef __cplusplus } |