summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorMarco <marpan@google.com>2017-10-23 10:58:28 -0700
committerMarco <marpan@google.com>2017-10-23 11:47:18 -0700
commit0738d9016921d836a657a39f81f9ce408fd2dd59 (patch)
treefd5693bb10316d44546a6f505079baec28fcdd28 /vp9
parent4906cea0276c17a089f3b7616a43511cbc5ff069 (diff)
downloadlibvpx-0738d9016921d836a657a39f81f9ce408fd2dd59.tar
libvpx-0738d9016921d836a657a39f81f9ce408fd2dd59.tar.gz
libvpx-0738d9016921d836a657a39f81f9ce408fd2dd59.tar.bz2
libvpx-0738d9016921d836a657a39f81f9ce408fd2dd59.zip
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
Diffstat (limited to 'vp9')
-rw-r--r--vp9/encoder/vp9_speed_features.c2
1 files changed, 2 insertions, 0 deletions
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;