shithub: libvpx

Download patch

ref: d41781560e69adc1b18ad40a5bfd8ab88cb6d98f
parent: b8c47a98b8ab00eb2ffa33311080a4a6ac97e15b
parent: 7d15444d0708cd1ff39fdec4405fd0b835d21bde
author: Yaowu Xu <[email protected]>
date: Mon Jul 20 21:24:52 EDT 2015

Merge "Fix bug in setting sf->use_square_partition_only."

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -118,10 +118,11 @@
   if (speed >= 1) {
     if ((cpi->twopass.fr_content_type == FC_GRAPHICS_ANIMATION) ||
         vp9_internal_image_edge(cpi)) {
-      sf->use_square_partition_only = frame_is_boosted(cpi);
+      sf->use_square_partition_only = !frame_is_boosted(cpi);
     } else {
       sf->use_square_partition_only = !frame_is_intra_only(cm);
     }
+
     sf->less_rectangular_check  = 1;
 
     sf->use_rd_breakout = 1;