]> granicus.if.org Git - libvpx/commitdiff
vp9-svc: Adjust step_param for screen-content
authorMarco Paniconi <marpan@google.com>
Tue, 18 Dec 2018 18:59:39 +0000 (10:59 -0800)
committerMarco Paniconi <marpan@google.com>
Tue, 18 Dec 2018 19:01:33 +0000 (11:01 -0800)
Use same step_param for all spatial layers for now.
Some improvement in quality on scrolling for spatial
enhancement layer.

Change-Id: Ic9eed8ba5dd44493e9f5e81f6115df2a25825d16

vp9/encoder/vp9_speed_features.c

index 602147421c7ce5edc30e321ab5260868d56ab74a..5aede927b9f4d1eb951a53cdb1b177e4399fbd8e 100644 (file)
@@ -799,8 +799,8 @@ static void set_rt_speed_feature_framesize_independent(
       (svc->high_num_blocks_with_motion || svc->last_layer_dropped[0])) {
     sf->mv.search_method = NSTEP;
     // TODO(marpan/jianj): Tune this setting for screensharing. For now use
-    // larger step_param for non-base layer, to avoid increase in encode time.
-    sf->mv.fullpel_search_step_param = (svc->spatial_layer_id == 0) ? 2 : 4;
+    // small step_param for all spatial layers.
+    sf->mv.fullpel_search_step_param = 2;
   }
 }