ref: 087f131851d452d71b617e33135cc8379796735b
parent: aecad5a3131dc0a0ab427c50fdcb70eba22740e3
parent: 7f8ff8e377a87aa5878efce60db13d8eb6440750
author: Ravi Chaudhary <ravi.chaudhary@ittiam.com>
date: Thu Jun 20 04:57:43 EDT 2019
Merge "Start with q=active_best_quality for non-forced key frames"
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -1525,6 +1525,8 @@
} else {
q = rc->last_boosted_qindex;
}
+ } else if (frame_is_intra_only(cm) && !rc->this_key_frame_forced) {
+ q = active_best_quality;
} else {
q = vp9_rc_regulate_q(cpi, rc->this_frame_target, active_best_quality,
active_worst_quality);