shithub: libvpx

Download patch

ref: 314641e29816f7ec8079135291baa6ab3b2d7e83
parent: 532a42aa52befcb863ff2ecbc38889ac14a6d35c
parent: bff94472a66167ad9ba40ee3c5ad554cda1c8ed8
author: Marco Paniconi <marpan@google.com>
date: Wed Nov 21 20:27:59 EST 2018

Merge "vp9 screen-content: Keep lower step_param for quality layers."

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -804,8 +804,12 @@
       cpi->svc.spatial_layer_id == 0 &&
       (cpi->rc.high_num_blocks_with_motion || cpi->svc.last_layer_dropped[0])) {
     sf->mv.search_method = NSTEP;
-    // TODO(marpan/jianj): Investigate issue for lower setting of step_param.
-    sf->mv.fullpel_search_step_param = 4;
+    sf->mv.fullpel_search_step_param = 2;
+    // TODO(marpan/jianj): Investigate issue for lower setting of step_param
+    // for spatial layers (namely on lower layers).
+    if (cpi->use_svc && cm->width != cpi->oxcf.width &&
+        cm->height != cpi->oxcf.height)
+      sf->mv.fullpel_search_step_param = 4;
   }
 }