aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Bolun <bolun.liu@intel.com>2014-01-03 14:32:35 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:03:42 -0700
commit2fbd2a6c3abf7da5bdc40dc3539dd7bcc515f2e1 (patch)
treeeed1dafe42f557417d319a760e0207b188683938
parenta4315bcc3603ce74c2faeb4b81563dd3396cbd64 (diff)
downloadwrs_omxil_core-2fbd2a6c3abf7da5bdc40dc3539dd7bcc515f2e1.tar.gz
Enalbe Max Frame Size setting for VP8 encode.
BZ: 162278 Add related OMX Index type and OMX Config data structure. Change-Id: I5da09c8c630b51015b3c2a62a26a7e5c718b2f42 Signed-off-by: Liu Bolun <bolun.liu@intel.com>
-rw-r--r--core/inc/khronos/openmax/include/OMX_IntelIndexExt.h3
-rw-r--r--core/inc/khronos/openmax/include/OMX_IntelVideoExt.h9
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 */