Set mbmi_ext's tcoeff to size MAX_SB_SQUARE
This a simple implementation.
We will use a more precise buffer size for tcoeff once the
experiment functions correctly.
Change-Id: Ib561974f21ee1b8d72ce407882ea2be3cf0b069f
diff --git a/av1/encoder/block.h b/av1/encoder/block.h
index ed8289d..056e740 100644
--- a/av1/encoder/block.h
+++ b/av1/encoder/block.h
@@ -68,7 +68,8 @@
int_mv ref_mvs[MODE_CTX_REF_FRAMES][MAX_MV_REF_CANDIDATES];
int16_t mode_context[MODE_CTX_REF_FRAMES];
#if CONFIG_LV_MAP
- tran_low_t *tcoeff[MAX_MB_PLANE];
+ // TODO(angiebird): Reduce the buffer size according to sb_type
+ tran_low_t tcoeff[MAX_MB_PLANE][MAX_SB_SQUARE];
uint16_t eobs[MAX_MB_PLANE][MAX_SB_SQUARE / (TX_SIZE_W_MIN * TX_SIZE_H_MIN)];
uint8_t txb_skip_ctx[MAX_MB_PLANE]
[MAX_SB_SQUARE / (TX_SIZE_W_MIN * TX_SIZE_H_MIN)];