From 58b07a6f9df373075bab8745c9b07b83d6a4c026 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Fri, 9 Aug 2013 17:28:33 -0700 Subject: Honor min_partition_size properly It represents the minimum partition size, so don't split if bsize == min_partition_size . Change-Id: Id77c32d6afef7d2ddec0368eaae18fb13227d30e --- vp9/encoder/vp9_encodeframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3