shithub: libvpx

Download patch

ref: 88d11f473c7020a5da63ff8cbc1e32a21dd27898
parent: 515fed8f387a0332d39de2f7fcbd4eefc1150b0d
author: Marco <marpan@google.com>
date: Tue Jun 27 16:14:26 EDT 2017

vp9: Speed >= 8: Remove logic on reducing subpel.

Existing logic was only affecting resolutions above 720p.
Needs more testing for reducing subpel for speed >= 8.

No change on RTC metrics.

Change-Id: I2f4bf9f25891614aafa9a86aa5a5063a3ccfce4d

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -584,14 +584,7 @@
     if (cpi->row_mt && cpi->oxcf.max_threads > 1)
       sf->adaptive_rd_thresh_row_mt = 1;
 
-    if (content == VP9E_CONTENT_SCREEN)
-      sf->mv.subpel_force_stop = 3;
-    else if (cm->width * cm->height > 1280 * 720) {
-      sf->mv.subpel_force_stop = 2;
-      if (cpi->rc.avg_frame_low_motion > 87 && cm->current_video_frame > 30)
-        sf->mv.subpel_search_method = SUBPEL_TREE_PRUNED_EVENMORE;
-    }
-
+    if (content == VP9E_CONTENT_SCREEN) sf->mv.subpel_force_stop = 3;
     if (content == VP9E_CONTENT_SCREEN) sf->lpf_pick = LPF_PICK_MINIMAL_LPF;
     // Only keep INTRA_DC mode for speed 8.
     if (!is_keyframe) {