From: Marco Paniconi Date: Mon, 17 Dec 2018 23:12:04 +0000 (-0800) Subject: vp9-svc: Adjust search step param for spatial layers X-Git-Tag: v1.8.0~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db41138a09f4fdfe6bb4382e3ec9717ea315635d;p=libvpx vp9-svc: Adjust search step param for spatial layers For non-base spatial layer in screen-content mode: use nstep but with larger step_param value than sl0, to avoid increase in encode_time. Some improvement on scrolling slides content. Change-Id: Ica918ac01664431d1fabb3c674d857cf6ad87414 --- diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index d7620d7e0..c960b8af5 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -799,7 +799,9 @@ static void set_rt_speed_feature_framesize_independent( svc->spatial_layer_id == 0 && (svc->high_num_blocks_with_motion || svc->last_layer_dropped[0])) { sf->mv.search_method = NSTEP; - sf->mv.fullpel_search_step_param = 2; + // 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; } }