diff options
| author | liubolun <bolun.liu@intel.com> | 2013-11-22 14:03:23 +0800 |
|---|---|---|
| committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 22:02:56 -0700 |
| commit | a0f95d79fa654a816532eea0ee8868e56049847c (patch) | |
| tree | d0f40d1c83bace7d570a41753b9708eb3fc2bd8f /videocodec/OMXVideoEncoderVP8.h | |
| parent | 2bab681173a098b357b98ce4e7f0837b9a430c07 (diff) | |
| download | android_hardware_intel_common_omx-components-a0f95d79fa654a816532eea0ee8868e56049847c.tar.gz android_hardware_intel_common_omx-components-a0f95d79fa654a816532eea0ee8868e56049847c.tar.bz2 android_hardware_intel_common_omx-components-a0f95d79fa654a816532eea0ee8868e56049847c.zip | |
[PORT FROM MAIN JB-MR2] Eble dynamic setting bitrate/framerate/K frame for VP8 encode.
BZ: 153768
Add a pair of get/set config function for seting k frame;
Add codecs judgement for bitrate/frame rate setting in VCM mode.
Change-Id: Ic86ceee7aadb7b296917ee340a732c79141b551c
Orig-Change-Id: I6ffdad79cbe19ec8cdb753837ac48f87069b6f5d
Signed-off-by: liubolun <bolun.liu@intel.com>
Diffstat (limited to 'videocodec/OMXVideoEncoderVP8.h')
| -rw-r--r-- | videocodec/OMXVideoEncoderVP8.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/videocodec/OMXVideoEncoderVP8.h b/videocodec/OMXVideoEncoderVP8.h index 54aae79..fb578c8 100644 --- a/videocodec/OMXVideoEncoderVP8.h +++ b/videocodec/OMXVideoEncoderVP8.h @@ -17,6 +17,7 @@ class OMXVideoEncoderVP8 : public OMXVideoEncoderBase { virtual OMX_ERRORTYPE SetVideoEncoderParam(); DECLARE_HANDLER(OMXVideoEncoderVP8, ParamVideoVp8); DECLARE_HANDLER(OMXVideoEncoderVP8, ConfigVideoVp8ReferenceFrame); + DECLARE_HANDLER(OMXVideoEncoderVP8, ConfigVp8ForceKFrame); private: enum { OUTPORT_MIN_BUFFER_COUNT = 1, @@ -26,6 +27,7 @@ class OMXVideoEncoderVP8 : public OMXVideoEncoderBase { OMX_VIDEO_PARAM_VP8TYPE mParamVp8; OMX_VIDEO_VP8REFERENCEFRAMETYPE mConfigVideoVp8ReferenceFrame; + OMX_VIDEO_CONFIG_INTEL_VP8_FORCE_KFRAME mVideoConfigVP8ForceKFrame; }; #endif /* OMX_VIDEO_ENCODER_VP8_H */ |
