Avoid gf/altref boost in pick_q under svc cbr mode.

Change-Id: Ib719a9f74924718715592e0238bc391ae239d026
This commit is contained in:
Marco Paniconi 2014-03-03 18:51:32 -08:00
parent 91e5e5a680
commit 02b8baf35e

View File

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