Honor min_partition_size properly

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

Change-Id: Id77c32d6afef7d2ddec0368eaae18fb13227d30e
This commit is contained in:
Guillaume Martres
2013-08-09 17:28:33 -07:00
parent ace93a175d
commit 58b07a6f9d

View File

@@ -1641,7 +1641,7 @@ static void rd_pick_partition(VP9_COMP *cpi, TOKENEXTRA **tp, int mi_row,
// PARTITION_SPLIT // PARTITION_SPLIT
if (!cpi->sf.auto_min_max_partition_size || if (!cpi->sf.auto_min_max_partition_size ||
bsize >= cpi->sf.min_partition_size) { bsize > cpi->sf.min_partition_size) {
if (bsize > BLOCK_8X8) { if (bsize > BLOCK_8X8) {
subsize = get_subsize(bsize, PARTITION_SPLIT); subsize = get_subsize(bsize, PARTITION_SPLIT);