shithub: libvpx

Download patch

ref: aba995832f2069a16180c02f4d97caa9894f9328
parent: c73a44c725ab76fdec608fb63c7c22d1e189deef
author: Marco Paniconi <marpan@google.com>
date: Mon Mar 4 06:28:52 EST 2019

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

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -748,9 +748,7 @@
 
   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 @@
       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)