vp9: Adjust rate_err threshold for setting active_worst factor.
authorMarco <marpan@google.com>
Tue, 7 Feb 2017 17:35:56 +0000 (09:35 -0800)
committerMarco <marpan@google.com>
Tue, 7 Feb 2017 17:38:16 +0000 (09:38 -0800)
Only affects 1 pass vbr.
Small improvement on ytlive set.

Change-Id: I09a7456fe658fbea82ece1035cf683bd8bd8bd14

vp9/encoder/vp9_ratectrl.c

index f781622..2013bf5 100644 (file)
@@ -2138,7 +2138,7 @@ void adjust_gf_boost_lag_one_pass_vbr(VP9_COMP *cpi, uint64_t avg_sad_current) {
     // Adjust factors for active_worst setting & af_ratio for next gf interval.
     rc->fac_active_worst_inter = 150;  // corresponds to 3/2 (= 150 /100).
     rc->fac_active_worst_gf = 100;
-    if (rate_err < 1.5 && !high_content) {
+    if (rate_err < 2.0 && !high_content) {
       rc->fac_active_worst_inter = 120;
       rc->fac_active_worst_gf = 90;
     }