ref: 368200a80758234b96bf61776bc79133d21f4317
parent: db41138a09f4fdfe6bb4382e3ec9717ea315635d
author: Marco Paniconi <marpan@google.com>
date: Mon Dec 17 13:39:22 EST 2018
vp9-svc: Fix condition in real-time speed setting Remove the "spatial_layer_id == 0" condition in the speed features for setting the motion search for screen content. Change-Id: Ib47aea3af5f3b2e04226694b4126b2ae2f458f13
--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -796,7 +796,6 @@
// 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