diff options
author | Bolun <bolun.liu@intel.com> | 2013-11-22 13:02:52 +0800 |
---|---|---|
committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 22:03:42 -0700 |
commit | 7fe59118003a3c624651cf4512fd4251171b9e6a (patch) | |
tree | f04cac3a43bfa5d8250136fdb8f6d9f82e300e61 /base | |
parent | 64e2d27bd6b5c91266349730c4fe00a9f07bee81 (diff) | |
download | wrs_omxil_core-7fe59118003a3c624651cf4512fd4251171b9e6a.tar.gz |
Add a new data structure and OMX Index for setting k frame for VP8 encode.
BZ: 153768
Add a new data structure and OMX Index for setting k frame for VP8 encode.
Put the vpp index to the end.
Change-Id: I018a29259b86365e9968c3d4c87f19936d3bea03
Orig-Change-Id: I2d3936a5614113ebd680c4caa928df90b08d69cb
Signed-off-by: Bolun <bolun.liu@intel.com>
Diffstat (limited to 'base')
-rw-r--r-- | base/src/componentbase.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/base/src/componentbase.cpp b/base/src/componentbase.cpp index 5968ad1..55836d1 100644 --- a/base/src/componentbase.cpp +++ b/base/src/componentbase.cpp @@ -768,11 +768,16 @@ OMX_ERRORTYPE ComponentBase::CBaseGetExtensionIndex( } #endif - if (!strcmp(cParameterName, "OMX.Intel.index.enableErrorReport")) { + if (!strcmp(cParameterName, "OMX.Intel.index.enableErrorReport")) { *pIndexType = static_cast<OMX_INDEXTYPE>(OMX_IndexExtEnableErrorReport); return OMX_ErrorNone; } + if (!strcmp(cParameterName, "OMX.Intel.index.vp8ForceKFrame")) { + *pIndexType = static_cast<OMX_INDEXTYPE>(OMX_IndexExtVP8ForceKFrame); + return OMX_ErrorNone; + } + return OMX_ErrorUnsupportedIndex; } |