From 77ffea92c5d57adb28467c4e15a4d85c18ee387f Mon Sep 17 00:00:00 2001 From: Marco Date: Wed, 8 Jun 2016 15:13:52 -0700 Subject: [PATCH] vp9: Reduce overshoot factor for setting longer gf interval. Only affects 1 pass vbr mode. Change-Id: Ifd7ff3771eabe322a371b35b159cace6baa3b070 --- vp9/encoder/vp9_ratectrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c index 323aec6e5..291e78721 100644 --- a/vp9/encoder/vp9_ratectrl.c +++ b/vp9/encoder/vp9_ratectrl.c @@ -1557,7 +1557,7 @@ void vp9_rc_get_one_pass_vbr_params(VP9_COMP *cpi) { // Increase gf interval at high Q and high overshoot. if (cm->current_video_frame > 30 && rc->avg_frame_qindex[INTER_FRAME] > (7 * rc->worst_quality) >> 3 && - rate_err > 4.0) { + rate_err > 3.5) { rc->baseline_gf_interval = VPXMIN(15, (3 * rc->baseline_gf_interval) >> 1); } else if (cm->current_video_frame > 30 && -- 2.40.0