Shrink subsize lookup table
Change-Id: Id55ae0fbd0df5744ad5629632e9726521e41c675
diff --git a/av1/decoder/decodeframe.c b/av1/decoder/decodeframe.c
index 5c10fb4..c701c09 100644
--- a/av1/decoder/decodeframe.c
+++ b/av1/decoder/decodeframe.c
@@ -693,7 +693,7 @@
PARTITION_TYPE partition;
BLOCK_SIZE subsize;
const int quarter_step = bw / 4;
- BLOCK_SIZE bsize2 = get_subsize(bsize, PARTITION_SPLIT);
+ BLOCK_SIZE bsize2 = get_partition_subsize(bsize, PARTITION_SPLIT);
const int has_rows = (mi_row + hbs) < cm->mi_rows;
const int has_cols = (mi_col + hbs) < cm->mi_cols;
@@ -718,7 +718,7 @@
partition = (bsize < BLOCK_8X8) ? PARTITION_NONE
: read_partition(xd, mi_row, mi_col, r,
has_rows, has_cols, bsize);
- subsize = subsize_lookup[partition][bsize]; // get_subsize(bsize, partition);
+ subsize = get_partition_subsize(bsize, partition);
// Check the bitstream is conformant: if there is subsampling on the
// chroma planes, subsize must subsample to a valid block size.