]> granicus.if.org Git - libvpx/commitdiff
vp9: 1 pass vbr: Reduce base qp for active_best_quality for inter-frames.
authorMarco <marpan@google.com>
Mon, 9 May 2016 16:40:43 +0000 (09:40 -0700)
committerMarco <marpan@google.com>
Mon, 9 May 2016 17:21:44 +0000 (10:21 -0700)
Reduce factor for setting base-qp for active_best_quality (for inter-frames).
Small increase in metrics on yt live set.

Change-Id: I9cf0ac797783aeddbfaf1ff510696c9035d7c5ee

vp9/encoder/vp9_ratectrl.c

index b2d748e46a3b9c4addb9dbaedf2e566556f1901e..1e6c152392f336beb08e98d77dad9406c60bb7d6 100644 (file)
@@ -956,7 +956,7 @@ static int rc_pick_q_and_bounds_one_pass_vbr(const VP9_COMP *cpi,
       // Use the min of the average Q (with some increase) and
       // active_worst_quality as basis for active_best.
       if (cm->current_video_frame > 1) {
-        q = VPXMIN(((35 * rc->avg_frame_qindex[INTER_FRAME]) >> 5),
+        q = VPXMIN(((17 * rc->avg_frame_qindex[INTER_FRAME]) >> 4),
                     active_worst_quality);
         active_best_quality = inter_minq[q];
       } else {