ref: 74cf247d319188441d9b5d91230c3c31bbfcece1
parent: 4bb51416e183381cd1df474662a8224a47476c2d
author: Deepa K G <deepa.kg@ittiam.com>
date: Tue Mar 26 14:34:19 EDT 2019
Increase the active best quality in CQ For boosted frames, active best quality is increased. Change-Id: I282fbefaf16b4216f5d22d344f098e6a5766c4a5
--- 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) {