shithub: libvpx

Download patch

ref: e4f45b120ab11ce5eb7be23625fd090549be4673
parent: ea54bcc7f34ee13e7ed99d8b77645bc6ae148fbc
parent: e161a36a6f5b133adb4eb3174e9530025677eaea
author: Marco Paniconi <marpan@google.com>
date: Tue Nov 6 17:43:16 EST 2018

Merge "vp8: Increase rate correction threshold for drop-overshoot"

--- 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