ref: e161a36a6f5b133adb4eb3174e9530025677eaea
parent: a430020f73104a200627bd24611426327253940b
author: Marco Paniconi <[email protected]>
date: Mon Nov 5 04:35:47 EST 2018
vp8: Increase rate correction threshold for drop-overshoot For 1 pass cbr encoding mode, with frame-dropping on: increase the rate correction threshold for drop-overshoot detection, to better capture cases of large overshoot. Change-Id: I1153b1b71cf106749dd985074d6bc8f37d163c7e
--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -1464,7 +1464,7 @@
(cpi->oxcf.screen_content_mode == 2 ||
(cpi->drop_frames_allowed &&
(force_drop_overshoot ||
- (cpi->rate_correction_factor < (4.0f * MIN_BPB_FACTOR) &&
+ (cpi->rate_correction_factor < (8.0f * MIN_BPB_FACTOR) &&
cpi->frames_since_last_drop_overshoot > (int)cpi->framerate))))) {
// Note: the "projected_frame_size" from encode_frame() only gives estimate
// of mode/motion vector rate (in non-rd mode): so below we only require