ref: 74dfa752ea742c314199dd2d7280223336e4d4e9
parent: 78c44e2dc26e383fdc54eb4bf406a76e52ea361e
parent: 74cf247d319188441d9b5d91230c3c31bbfcece1
author: Deepa K G <deepa.kg@ittiam.com>
date: Wed May 15 00:26:02 EDT 2019
Merge "Increase the active best quality in CQ"
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -1441,14 +1441,9 @@
// For constrained quality dont allow Q less than the cq level
if (oxcf->rc_mode == VPX_CQ) {
if (q < cq_level) q = cq_level;
-
- active_best_quality = get_gf_active_quality(cpi, q, cm->bit_depth);
-
- // Constrained quality use slightly lower active best.
- active_best_quality = active_best_quality * 15 / 16;
- } else {
- active_best_quality = get_gf_active_quality(cpi, q, cm->bit_depth);
}
+ active_best_quality = get_gf_active_quality(cpi, q, cm->bit_depth);
+
// Modify best quality for second level arfs. For mode VPX_Q this
// becomes the baseline frame q.
if (gf_group->rf_level[gf_group_index] == GF_ARF_LOW) {