diff options
-rw-r--r-- | core/inc/khronos/openmax/include/OMX_IntelIndexExt.h | 3 | ||||
-rw-r--r-- | core/inc/khronos/openmax/include/OMX_IntelVideoExt.h | 9 |
2 files changed, 11 insertions, 1 deletions
diff --git a/core/inc/khronos/openmax/include/OMX_IntelIndexExt.h b/core/inc/khronos/openmax/include/OMX_IntelIndexExt.h index 22862be..94ef4e1 100644 --- a/core/inc/khronos/openmax/include/OMX_IntelIndexExt.h +++ b/core/inc/khronos/openmax/include/OMX_IntelIndexExt.h @@ -66,7 +66,8 @@ typedef enum OMX_INTELINDEXEXTTYPE { /* Error report by WebRTC */ OMX_IndexExtEnableErrorReport, /**<reference: EnableErrorReport for decoder */ OMX_IndexExtPrepareForAdaptivePlayback, /**<reference: Prepare for AdaptivePlayback*/ - OMX_IndexExtVP8ForceKFrame, + OMX_IndexExtVP8ForceKFrame, /**<reference: For VP8 Force K Frame*/ + OMX_IndexExtVP8MaxFrameSize, /**<reference: For VP8 Max Frame Size*/ // 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 b134b22..c22eaca 100644 --- a/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h +++ b/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h @@ -186,6 +186,15 @@ typedef struct OMX_VIDEO_CONFIG_INTEL_VP8_FORCE_KFRAME { OMX_BOOL bForceKFrame; } OMX_VIDEO_CONFIG_INTEL_VP8_FORCE_KFRAME; +// max frame size for VP8 encode during WebRTC feature +typedef struct OMX_VIDEO_CONFIG_INTEL_VP8_MAX_FRAME_SIZE { + OMX_U32 nSize; + OMX_VERSIONTYPE nVersion; + OMX_U32 nPortIndex; + OMX_U32 nMaxFrameSize; +} OMX_VIDEO_CONFIG_INTEL_VP8_MAX_FRAME_SIZE; + + #ifdef __cplusplus } #endif /* __cplusplus */ |