ref: 3c2f076ad090ec6f44fbec9b051155e1bb4de33b
parent: dbc5090b5e9cb262aa575fb5d41314ecfefff6eb
author: Marco <marpan@google.com>
date: Tue Feb 7 04:35:56 EST 2017
vp9: Adjust rate_err threshold for setting active_worst factor. Only affects 1 pass vbr. Small improvement on ytlive set. Change-Id: I09a7456fe658fbea82ece1035cf683bd8bd8bd14
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -2138,7 +2138,7 @@
// 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;
}