From: Marco Date: Tue, 7 Feb 2017 17:35:56 +0000 (-0800) Subject: vp9: Adjust rate_err threshold for setting active_worst factor. X-Git-Tag: v1.7.0~747^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c2f076ad090ec6f44fbec9b051155e1bb4de33b;p=libvpx vp9: Adjust rate_err threshold for setting active_worst factor. Only affects 1 pass vbr. Small improvement on ytlive set. Change-Id: I09a7456fe658fbea82ece1035cf683bd8bd8bd14 --- diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c index f7816224c..2013bf59e 100644 --- a/vp9/encoder/vp9_ratectrl.c +++ b/vp9/encoder/vp9_ratectrl.c @@ -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; }