shithub: libvpx

Download patch

ref: 7f8ff8e377a87aa5878efce60db13d8eb6440750
parent: ac5e269b9469002b640983ba3abfa37497fc4580
author: Ravi Chaudhary <ravi.chaudhary@ittiam.com>
date: Wed May 22 06:16:30 EDT 2019

Start with q=active_best_quality for non-forced key frames

Change-Id: I435d247ab4d1d160f12f5a3710e6cafb5cfd6610

--- 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);