vp9: Speed >= 8: Remove logic on reducing subpel.
authorMarco <marpan@google.com>
Wed, 28 Jun 2017 03:14:26 +0000 (20:14 -0700)
committerMarco <marpan@google.com>
Wed, 28 Jun 2017 03:27:02 +0000 (20:27 -0700)
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

vp9/encoder/vp9_speed_features.c

index 4c864d4..803b7ed 100644 (file)
@@ -584,14 +584,7 @@ static void set_rt_speed_feature_framesize_independent(
     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) {