In cases of strong undershoot adjust Q range down faster.
Change-Id: I84982beceb3c9b6dc50e52e4a6e891c7dd395d03
// rate miss. If so adjust the active maxQ for the subsequent frames.
if (q > cpi->twopass.active_worst_quality) {
cpi->twopass.active_worst_quality = q;
+#ifdef CORPUS_VBR_EXPERIMENT
+ } else if (q == q_low && rc->projected_frame_size < rc->this_frame_target) {
+ cpi->twopass.active_worst_quality =
+ VPXMAX(q, cpi->twopass.active_worst_quality - 1);
+#endif
}
}