From: Marco Paniconi Date: Mon, 4 Mar 2019 19:28:52 +0000 (-0800) Subject: vp9-rtc: Speed feature changes to speed 9 X-Git-Tag: v1.8.1~217 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aba995832f2069a16180c02f4d97caa9894f9328;p=libvpx vp9-rtc: Speed feature changes to speed 9 Compared to speed 8 for low resolutions: quality loss is ~8-10%, and encoder fps is ~15% higher on ARM for 1 thread. Change-Id: I4f12390d2917a5c4045114ef81a05edb2a3b9c96 --- diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index 9fc1c75ac..8c59662c3 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -748,9 +748,7 @@ static void set_rt_speed_feature_framesize_independent( if (speed >= 9) { sf->mv.enable_adaptive_subpel_force_stop = 1; - sf->mv.adapt_subpel_force_stop.mv_thresh = 2; - if (cpi->rc.avg_frame_low_motion < 40) - sf->mv.adapt_subpel_force_stop.mv_thresh = 1; + sf->mv.adapt_subpel_force_stop.mv_thresh = 1; sf->mv.adapt_subpel_force_stop.force_stop_below = QUARTER_PEL; sf->mv.adapt_subpel_force_stop.force_stop_above = HALF_PEL; // Disable partition blocks below 16x16, except for low-resolutions. @@ -758,7 +756,7 @@ static void set_rt_speed_feature_framesize_independent( sf->disable_16x16part_nonkey = 1; // Allow for disabling GOLDEN reference, for CBR mode. if (cpi->oxcf.rc_mode == VPX_CBR) sf->disable_golden_ref = 1; - if (cpi->rc.avg_frame_low_motion < 65) sf->default_interp_filter = BILINEAR; + sf->default_interp_filter = BILINEAR; } if (sf->nonrd_use_ml_partition)