shithub: libvpx

Download patch

ref: 02975a604c679b57ad57e4785abf6f7f0ebd6052
parent: 976ddb61d34afc81cc65a56b91a9506ee28f47ef
author: Marco <marpan@google.com>
date: Thu Mar 16 13:05:42 EDT 2017

vp9: Fix speed 8 condition for enabling copy_partition.

Change-Id: I2c090e6ba853a30fef1957b620853315f9471753

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