Commit 456e0864 authored by Jingning Han's avatar Jingning Han

Fix enc/dec mismatch due to ext-partition-type in cb4x4 mode

This commit fixes an enc/dec mismatch issue in ext-partition-type
in the cb4x4 mode.

BUG=aomedia:137

Change-Id: I19f538a967a6059a40b1668eed076bc315b46149
parent d9c24a33
......@@ -673,7 +673,7 @@ static INLINE void update_ext_partition_context(MACROBLOCKD *xd, int mi_row,
BLOCK_SIZE bsize,
PARTITION_TYPE partition) {
if (bsize >= BLOCK_8X8) {
const int bsl = b_width_log2_lookup[bsize], hbs = (1 << bsl) / 4;
const int hbs = mi_size_wide[bsize] / 2;
BLOCK_SIZE bsize2 = get_subsize(bsize, PARTITION_SPLIT);
switch (partition) {
case PARTITION_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