shithub: libvpx

Download patch

ref: db55f19bca0e71bfcd1da59ae0ca7b62fed284ce
parent: 541ab3db721cd593bb840319741c5135a88219a8
parent: e6332e04f20277de7db0314f95a0d8f6a841f10d
author: Marco Paniconi <marpan@google.com>
date: Tue Nov 20 17:06:33 EST 2018

Merge "Disable partition scaling on 1080p and above."

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -710,9 +710,11 @@
     // For SVC: enable use of lower resolution partition for higher resolution,
     // only for 3 spatial layers and when config/top resolution is above VGA.
     // Enable only for non-base temporal layer frames.
+    // TODO(jianj): Investigate webm:1578
     if (cpi->use_svc && cpi->svc.use_partition_reuse &&
         cpi->svc.number_spatial_layers == 3 && cpi->svc.temporal_layer_id > 0 &&
-        cpi->oxcf.width * cpi->oxcf.height > 640 * 480)
+        cpi->oxcf.width * cpi->oxcf.height > 640 * 480 &&
+        cpi->oxcf.width * cpi->oxcf.height < 1920 * 1080)
       sf->svc_use_lowres_part = 1;
     // For SVC when golden is used as second temporal reference: to avoid
     // encode time increase only use this feature on base temporal layer.