From 368200a80758234b96bf61776bc79133d21f4317 Mon Sep 17 00:00:00 2001 From: Marco Paniconi Date: Mon, 17 Dec 2018 18:39:22 -0800 Subject: [PATCH] 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 --- vp9/encoder/vp9_speed_features.c | 1 - 1 file changed, 1 deletion(-) diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index c960b8af5..602147421 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -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 -- 2.40.0