Commit 169431b8 authored by Geza Lore's avatar Geza Lore

Make variance based partitioning compatible with SEG_LVL_SKIP

Inter blocks that have SEG_LVL_SKIP active must be at least 8x8 in
size for bitstream conformance (see read_inter_block_mode_info in
decodemv.c).

This patch makes the variance based partitioning scheme stop at 8x8
blocks in inter frames. This satisfies the SEG_LVL_SKIP constraint
and is more in line with the original implementation of this function
(before it got extended for 128x128 superblocks).

BUG=webm:1234

Change-Id: I1fdd894569a9c0817713a77daabe4c8b8e1d00c0
parent 019dbb4c
......@@ -468,6 +468,11 @@ static void set_vt_partitioning(VP10_COMP *cpi,
assert(hbh == hbw);
if (vt->bsize == BLOCK_8X8 && cm->frame_type != KEY_FRAME) {
set_block_size(cpi, x, xd, mi_row, mi_col, BLOCK_8X8);
return;
}
if (vt->force_split || (!has_cols && !has_rows))
goto split;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment