shithub: libvpx

Download patch

ref: 58b07a6f9df373075bab8745c9b07b83d6a4c026
parent: ace93a175de219fa0b9a643ef8c217dea4217564
author: Guillaume Martres <[email protected]>
date: Fri Aug 9 13:28:33 EDT 2013

Honor min_partition_size properly

It represents the minimum partition size, so don't split if
bsize == min_partition_size .

Change-Id: Id77c32d6afef7d2ddec0368eaae18fb13227d30e

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -1641,7 +1641,7 @@
 
   // PARTITION_SPLIT
   if (!cpi->sf.auto_min_max_partition_size ||
-      bsize >= cpi->sf.min_partition_size) {
+      bsize > cpi->sf.min_partition_size) {
     if (bsize > BLOCK_8X8) {
       subsize = get_subsize(bsize, PARTITION_SPLIT);