shithub: libvpx

Download patch

ref: 77ffea92c5d57adb28467c4e15a4d85c18ee387f
parent: d00aaa9c12c85469fc51d690915476769c7d9e58
author: Marco <[email protected]>
date: Wed Jun 8 11:13:52 EDT 2016

vp9: Reduce overshoot factor for setting longer gf interval.

Only affects 1 pass vbr mode.

Change-Id: Ifd7ff3771eabe322a371b35b159cace6baa3b070

--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -1557,7 +1557,7 @@
     // Increase gf interval at high Q and high overshoot.
     if (cm->current_video_frame > 30 &&
         rc->avg_frame_qindex[INTER_FRAME] > (7 * rc->worst_quality) >> 3 &&
-        rate_err > 4.0) {
+        rate_err > 3.5) {
       rc->baseline_gf_interval =
           VPXMIN(15, (3 * rc->baseline_gf_interval) >> 1);
     } else if (cm->current_video_frame > 30 &&