diff options
-rw-r--r-- | core/inc/khronos/openmax/include/OMX_IntelIndexExt.h | 2 | ||||
-rw-r--r-- | core/inc/khronos/openmax/include/OMX_IntelVideoExt.h | 17 |
2 files changed, 19 insertions, 0 deletions
diff --git a/core/inc/khronos/openmax/include/OMX_IntelIndexExt.h b/core/inc/khronos/openmax/include/OMX_IntelIndexExt.h index 122cd46..401677a 100644 --- a/core/inc/khronos/openmax/include/OMX_IntelIndexExt.h +++ b/core/inc/khronos/openmax/include/OMX_IntelIndexExt.h @@ -68,6 +68,8 @@ typedef enum OMX_INTELINDEXEXTTYPE { OMX_IndexExtPrepareForAdaptivePlayback, /**<reference: Prepare for AdaptivePlayback*/ OMX_IndexExtVP8ForceKFrame, /**<reference: For VP8 Force K Frame*/ OMX_IndexExtVP8MaxFrameSizeRatio, /**<reference: For VP8 Max Frame Size*/ + OMX_IndexExtVP8NumberOfTemporalLayer, /**<reference: For SAND VP8 Number of Layer*/ + OMX_IndexExtVP8TemporalLayerBitRateFrameRate, /**<reference: For SAND VP8 bitrate and framerate for every layer*/ // Index for VPP must always be put at the end #ifdef TARGET_HAS_VPP OMX_IndexExtVppBufferNum, /**<reference: vpp buffer number*/ diff --git a/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h b/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h index 4b119f6..1e7bba0 100644 --- a/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h +++ b/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h @@ -196,6 +196,23 @@ typedef struct OMX_VIDEO_CONFIG_INTEL_VP8_MAX_FRAME_SIZE_RATIO { OMX_U32 nMaxFrameSizeRatio; } OMX_VIDEO_CONFIG_INTEL_VP8_MAX_FRAME_SIZE_RATIO; +// number of temporal layer for WebRTC and Sand +typedef struct OMX_VIDEO_PARAM_INTEL_VP8_NUMBER_OF_TEMPORAL_LAYER { + OMX_U32 nSize; + OMX_VERSIONTYPE nVersion; + OMX_U32 nPortIndex; + OMX_U32 nNumberOfTemporalLayer; +} OMX_VIDEO_PARAM_INTEL_VP8_NUMBER_OF_TEMPORAL_LAYER; + +// Layer and Bitrate Framerate data paires for SAND VP8 encode +typedef struct OMX_VIDEO_CONFIG_INTEL_VP8_TEMPORAL_LAYER_BITRATE_FRAMERATE { + OMX_U32 nSize; + OMX_VERSIONTYPE nVersion; + OMX_U32 nPortIndex; + OMX_U32 nLayerID; + OMX_U32 nBitrate; + OMX_U32 nFramerate; +} OMX_VIDEO_CONFIG_INTEL_VP8_TEMPORAL_LAYER_BITRATE_FRAMERATE; #ifdef __cplusplus } |