shithub: libvpx

Download patch

ref: 9b5ab487b505e289ceef40bc9e71b944503b91a4
parent: ba003455ab92894b8041eeee0f1e89bea3c1a0c7
author: Marco Paniconi <marpan@google.com>
date: Wed Nov 21 06:12:28 EST 2018

vp9 screen-content: Adjust seach step param

Increase to 4 (from 2) on slide/scroll changes,
as there is an issue/failure with the current setting
with offline encode for high resolns.

Change-Id: I8f06c6bdcd59013ab000d75bd75770c667bf70d2

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -796,14 +796,16 @@
     sf->partition_search_type = FIXED_PARTITION;
     sf->always_this_block_size = BLOCK_64X64;
   }
-  // Special case for screen content: increase motion search on baase spatial
+  // Special case for screen content: increase motion search on base spatial
   // layer when high motion is detected or previous SL0 frame was dropped.
   // Avoid speed 5 for as there is an issue with SVC datarate test.
+  // TODO(marpan/jianj): Investigate issue at speed 5.
   if (cpi->oxcf.content == VP9E_CONTENT_SCREEN && cpi->oxcf.speed > 5 &&
       cpi->svc.spatial_layer_id == 0 &&
       (cpi->rc.high_num_blocks_with_motion || cpi->svc.last_layer_dropped[0])) {
     sf->mv.search_method = NSTEP;
-    sf->mv.fullpel_search_step_param = 2;
+    // TODO(marpan/jianj): Investigate issue for lower setting of step_param.
+    sf->mv.fullpel_search_step_param = 4;
   }
 }