From: Guillaume Martres Date: Sat, 10 Aug 2013 00:28:33 +0000 (-0700) Subject: Honor min_partition_size properly X-Git-Tag: v1.3.0~619^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58b07a6f9df373075bab8745c9b07b83d6a4c026;p=libvpx Honor min_partition_size properly It represents the minimum partition size, so don't split if bsize == min_partition_size . Change-Id: Id77c32d6afef7d2ddec0368eaae18fb13227d30e --- diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 5d09024df..a48295485 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -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);