shithub: libvpx

Download patch

ref: 264a7ecfd8ed4938378928deb4233c187562dbe5
parent: 80de626f9fdbe3ffe6672b203b0c8233beb6ccea
parent: bf073d996b26ca430c3aefe6f1fac907147e69f9
author: Marco Paniconi <marpan@google.com>
date: Wed Apr 8 23:30:39 EDT 2020

Merge "vp9-rtc: Disable nonrd_keyframe for SVC, speed >=8"

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -728,7 +728,10 @@
   if (speed >= 8) {
     sf->adaptive_rd_thresh = 4;
     sf->skip_encode_sb = 1;
-    sf->nonrd_keyframe = 1;
+    if (cpi->svc.number_spatial_layers > 1 && !cpi->svc.simulcast_mode)
+      sf->nonrd_keyframe = 0;
+    else
+      sf->nonrd_keyframe = 1;
     if (!cpi->use_svc) cpi->max_copied_frame = 4;
     if (cpi->row_mt && cpi->oxcf.max_threads > 1)
       sf->adaptive_rd_thresh_row_mt = 1;