]> granicus.if.org Git - libvpx/commitdiff
Honor min_partition_size properly
authorGuillaume Martres <gmartres@google.com>
Sat, 10 Aug 2013 00:28:33 +0000 (17:28 -0700)
committerGuillaume Martres <gmartres@google.com>
Sat, 10 Aug 2013 00:28:33 +0000 (17:28 -0700)
It represents the minimum partition size, so don't split if
bsize == min_partition_size .

Change-Id: Id77c32d6afef7d2ddec0368eaae18fb13227d30e

vp9/encoder/vp9_encodeframe.c

index 5d09024dfb0f7ae855c8c52635c00aeeebbf03f5..a48295485fe83836fe1cad0cdbb935a3ce1b7cc1 100644 (file)
@@ -1641,7 +1641,7 @@ static void rd_pick_partition(VP9_COMP *cpi, TOKENEXTRA **tp, int mi_row,
 
   // 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);