shithub: libvpx

Download patch

ref: ff637d19038a32a31901954a169f29e4cfc15a6e
parent: 68f035026fc9d9465a07e61267a3baff288e50c2
parent: 8c6fa5c5e3a8c40873775c01b8bdb5f8ac84df9c
author: Marco Paniconi <marpan@google.com>
date: Thu Jun 1 19:56:53 EDT 2017

Merge "vp9: Speed >8: Set subpel_search_method for low motion."

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -585,8 +585,11 @@
 
     if (content == VP9E_CONTENT_SCREEN)
       sf->mv.subpel_force_stop = 3;
-    else if (cm->width * cm->height > 352 * 288)
+    else if (cm->width * cm->height > 352 * 288) {
       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->lpf_pick = LPF_PICK_MINIMAL_LPF;
     // Only keep INTRA_DC mode for speed 8.