From: Marco Date: Wed, 8 Jun 2016 22:13:52 +0000 (-0700) Subject: vp9: Reduce overshoot factor for setting longer gf interval. X-Git-Tag: v1.6.0~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77ffea92c5d57adb28467c4e15a4d85c18ee387f;p=libvpx vp9: Reduce overshoot factor for setting longer gf interval. Only affects 1 pass vbr mode. Change-Id: Ifd7ff3771eabe322a371b35b159cace6baa3b070 --- 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 &&