Merge "vp9: 1 pass vbr: Reduce base qp for active_best_quality for inter-frames."

This commit is contained in:
Marco Paniconi 2016-05-09 21:30:11 +00:00 committed by Gerrit Code Review
commit 42bee40e50

View 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 {