shithub: libvpx

Download patch

ref: 8b48f68c0d2bd6ab2aa862ead1879c4e01f07b7e
parent: 4f9d852759ceca15c16f9ffed96c08d4b427f40b
parent: b6e1bdfc76a1d5017116aa3148cdb626feb3eb26
author: Marco Paniconi <marpan@google.com>
date: Wed Jun 14 11:59:54 EDT 2017

Merge "vp8: Adjust the pred_err threhsold for drop on overshoot."

--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -1459,7 +1459,7 @@
     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. Should add QP dependence on threshold?
-    int thresh_pred_err_mb = (256 << 4);
+    int thresh_pred_err_mb = (200 << 4);
     int pred_err_mb = (int)(cpi->mb.prediction_error / cpi->common.MBs);
     if (Q < thresh_qp && cpi->projected_frame_size > thresh_rate &&
         pred_err_mb > thresh_pred_err_mb) {