summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Martres <gmartres@google.com>2013-08-09 17:28:33 -0700
committerGuillaume Martres <gmartres@google.com>2013-08-09 17:28:33 -0700
commit58b07a6f9df373075bab8745c9b07b83d6a4c026 (patch)
tree0f7d373ec34ba1321ac75e1f337b70ad3be10d16
parentace93a175de219fa0b9a643ef8c217dea4217564 (diff)
downloadlibvpx-58b07a6f9df373075bab8745c9b07b83d6a4c026.tar
libvpx-58b07a6f9df373075bab8745c9b07b83d6a4c026.tar.gz
libvpx-58b07a6f9df373075bab8745c9b07b83d6a4c026.tar.bz2
libvpx-58b07a6f9df373075bab8745c9b07b83d6a4c026.zip
Honor min_partition_size properly
It represents the minimum partition size, so don't split if bsize == min_partition_size . Change-Id: Id77c32d6afef7d2ddec0368eaae18fb13227d30e
-rw-r--r--vp9/encoder/vp9_encodeframe.c2
1 files changed, 1 insertions, 1 deletions
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);