From: Marco Date: Mon, 23 Oct 2017 17:58:28 +0000 (-0700) Subject: vp9-svc: Allow for adapt_rd_thresh with row-mt. X-Git-Tag: v1.7.0~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0738d9016921d836a657a39f81f9ce408fd2dd59;p=libvpx vp9-svc: Allow for adapt_rd_thresh with row-mt. Set adaptive_row_thresh_mt = 1 at speed >= 7, for svc when multi-threading is used with row-mt. This allow the adaptive_rd_thresh feature to be used in the nonrd-pickmode. ~1-2% speedup for SVC encoding with small quality loss (< 0.6%) on RTC set. Change-Id: Iab9878dff117bccdaef3e4d0645165db9808cdfc --- diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index e5499d6dd..cebaca7fc 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -583,6 +583,8 @@ static void set_rt_speed_feature_framesize_independent( if (cpi->svc.non_reference_frame) sf->mv.subpel_search_method = SUBPEL_TREE_PRUNED_EVENMORE; } + if (cpi->use_svc && cpi->row_mt && cpi->oxcf.max_threads > 1) + sf->adaptive_rd_thresh_row_mt = 1; // Enable partition copy. For SVC only enabled for top spatial resolution // layer. cpi->max_copied_frame = 0;