shithub: libvpx

Download patch

ref: 9152d434dc5e6f43e1a9ea9a010419fab1b2a4ad
parent: 255866419de9b802db5d9beb504af1f1ba72e5f2
author: Jerome Jiang <jianj@google.com>
date: Tue Jan 17 13:18:39 EST 2017

vp9: Disable partition copy when resizing is enabled.

Change-Id: I4fa3262e0f1c4018604c954b020ec5d1e3d1465c

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -500,7 +500,7 @@
     sf->adaptive_rd_thresh = 4;
     // Enable partition copy
     if (!cpi->use_svc && !cpi->resize_pending && !cpi->resize_state &&
-        !cpi->external_resize)
+        !cpi->external_resize && cpi->oxcf.resize_mode == RESIZE_NONE)
       sf->copy_partition_flag = 1;
     if (sf->copy_partition_flag) {
       sf->use_source_sad = 1;