summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco <marpan@google.com>2017-02-07 09:35:56 -0800
committerMarco <marpan@google.com>2017-02-07 09:38:16 -0800
commit3c2f076ad090ec6f44fbec9b051155e1bb4de33b (patch)
tree09296c279d77b129d11beed98788d99cd68e88fd
parentdbc5090b5e9cb262aa575fb5d41314ecfefff6eb (diff)
downloadlibvpx-3c2f076ad090ec6f44fbec9b051155e1bb4de33b.tar
libvpx-3c2f076ad090ec6f44fbec9b051155e1bb4de33b.tar.gz
libvpx-3c2f076ad090ec6f44fbec9b051155e1bb4de33b.tar.bz2
libvpx-3c2f076ad090ec6f44fbec9b051155e1bb4de33b.zip
vp9: Adjust rate_err threshold for setting active_worst factor.
Only affects 1 pass vbr. Small improvement on ytlive set. Change-Id: I09a7456fe658fbea82ece1035cf683bd8bd8bd14
-rw-r--r--vp9/encoder/vp9_ratectrl.c2
1 files changed, 1 insertions, 1 deletions
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;
}