Avoid gf/altref boost in pick_q under svc cbr mode.
authorMarco Paniconi <marpan@google.com>
Tue, 4 Mar 2014 02:51:32 +0000 (18:51 -0800)
committerMarco Paniconi <marpan@google.com>
Tue, 4 Mar 2014 03:11:02 +0000 (19:11 -0800)
Change-Id: Ib719a9f74924718715592e0238bc391ae239d026

vp9/encoder/vp9_ratectrl.c

index 89aa821..8430e4b 100644 (file)
@@ -587,6 +587,7 @@ static int rc_pick_q_and_bounds_one_pass_cbr(const VP9_COMP *cpi,
                                                    q_adj_factor);
     }
   } else if (!rc->is_src_frame_alt_ref &&
+             !cpi->use_svc &&
              (cpi->refresh_golden_frame || cpi->refresh_alt_ref_frame)) {
     // Use the lower of active_worst_quality and recent
     // average Q as basis for GF/ARF best Q limit unless last frame was