Add tx_size_1d_in_unit table
Change-Id: I096d3f1310116ab87eaa769cdcedf400f6d62dbb
diff --git a/av1/common/common_data.h b/av1/common/common_data.h
index b2da0d4..41eb26d 100644
--- a/av1/common/common_data.h
+++ b/av1/common/common_data.h
@@ -116,6 +116,8 @@
static const uint8_t tx_size_1d_log2[TX_SIZES] = { 2, 3, 4, 5 };
+static const int tx_size_1d_in_unit[TX_SIZES] = { 1, 2, 4, 8 };
+
static const TX_SIZE max_txsize_lookup[BLOCK_SIZES] = {
TX_4X4, TX_4X4, TX_4X4, TX_8X8, TX_8X8, TX_8X8, TX_16X16,
TX_16X16, TX_16X16, TX_32X32, TX_32X32, TX_32X32, TX_32X32