shithub: libvpx

Download patch

ref: f8ce04c93f7c12e49efc89f9967e289e23ebf918
parent: 6f56d8b86981b40fc36222f7e754b96fd07ce0d9
parent: e188b5435de71bcd602c378f1ac0441111f0f915
author: Marco Paniconi <marpan@google.com>
date: Thu Oct 11 06:25:12 EDT 2018

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

--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -1474,7 +1474,7 @@
     // QP threshold: only allow dropping if we are not close to qp_max.
     int thresh_qp = 3 * cpi->worst_quality >> 2;
     // Rate threshold, in bytes.
-    int thresh_rate = 3 * (cpi->av_per_frame_bandwidth >> 3);
+    int thresh_rate = 2 * (cpi->av_per_frame_bandwidth >> 3);
     // Threshold for the average (over all macroblocks) of the pixel-sum
     // residual error over 16x16 block.
     int thresh_pred_err_mb = (200 << 4);