]> granicus.if.org Git - libvpx/commitdiff
vp9-rtc: Speed feature changes to speed 9
authorMarco Paniconi <marpan@google.com>
Mon, 4 Mar 2019 19:28:52 +0000 (11:28 -0800)
committerMarco Paniconi <marpan@google.com>
Mon, 4 Mar 2019 19:45:20 +0000 (11:45 -0800)
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

vp9/encoder/vp9_speed_features.c

index 9fc1c75ac8d06f652f66b74c848991cade8cbe12..8c59662c37016fac70e707c1539903b1e9afce4f 100644 (file)
@@ -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)