]> granicus.if.org Git - libvpx/commitdiff
vp9-svc: Fix condition in real-time speed setting
authorMarco Paniconi <marpan@google.com>
Tue, 18 Dec 2018 02:39:22 +0000 (18:39 -0800)
committerMarco Paniconi <marpan@google.com>
Tue, 18 Dec 2018 02:41:30 +0000 (18:41 -0800)
Remove the "spatial_layer_id == 0" condition in
the speed features for setting the motion search
for screen content.

Change-Id: Ib47aea3af5f3b2e04226694b4126b2ae2f458f13

vp9/encoder/vp9_speed_features.c

index c960b8af5209a058559f0a96f6daff63341d4071..602147421c7ce5edc30e321ab5260868d56ab74a 100644 (file)
@@ -796,7 +796,6 @@ static void set_rt_speed_feature_framesize_independent(
   // Special case for screen content: increase motion search on base spatial
   // layer when high motion is detected or previous SL0 frame was dropped.
   if (cpi->oxcf.content == VP9E_CONTENT_SCREEN && cpi->oxcf.speed >= 5 &&
-      svc->spatial_layer_id == 0 &&
       (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