diff options
author | Cheng Chen <chengchen@google.com> | 2021-02-01 16:57:09 -0800 |
---|---|---|
committer | Cheng Chen <chengchen@google.com> | 2021-02-03 11:29:06 -0800 |
commit | 557368a8fa9f839afd7a6ded6a95f18829ff3365 (patch) | |
tree | 65c3e3e8ef36625cefb349947dec8005bb3e4ff3 /vp9/encoder/vp9_ext_ratectrl.h | |
parent | 61edec1efbea1c02d71857e2aff9426d9cd2df4e (diff) | |
download | libvpx-557368a8fa9f839afd7a6ded6a95f18829ff3365.tar libvpx-557368a8fa9f839afd7a6ded6a95f18829ff3365.tar.gz libvpx-557368a8fa9f839afd7a6ded6a95f18829ff3365.tar.bz2 libvpx-557368a8fa9f839afd7a6ded6a95f18829ff3365.zip |
L2E: let external rate control pass in a max frame size
And allow the frame to recode when the frame size is larger
than the input max frame size.
If the max frame size is not specified, let vp9 decide whether
to recode. The recode follows the vp9's current recoding mechanism.
The rate control api will return the new qindex back to the
external model.
Change-Id: I796fbf713ad50a5b413b0e2501583b565ed2343f
Diffstat (limited to 'vp9/encoder/vp9_ext_ratectrl.h')
-rw-r--r-- | vp9/encoder/vp9_ext_ratectrl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_ext_ratectrl.h b/vp9/encoder/vp9_ext_ratectrl.h index 11e9102a6..214236308 100644 --- a/vp9/encoder/vp9_ext_ratectrl.h +++ b/vp9/encoder/vp9_ext_ratectrl.h @@ -43,6 +43,6 @@ vpx_codec_err_t vp9_extrc_update_encodeframe_result( EXT_RATECTRL *ext_ratectrl, int64_t bit_count, const YV12_BUFFER_CONFIG *source_frame, const YV12_BUFFER_CONFIG *coded_frame, uint32_t bit_depth, - uint32_t input_bit_depth); + uint32_t input_bit_depth, int actual_encoding_qindex); #endif // VPX_VP9_ENCODER_VP9_EXT_RATECTRL_H_ |