Commit 8876a3ac authored by Jingning Han's avatar Jingning Han
Browse files

Add tx_size to pixel number map

Change-Id: I37008c93c8a5c27ab59fc03955c9989ee481ba36
parent ab2889d9
......@@ -111,6 +111,11 @@ static const BLOCK_SIZE subsize_lookup[PARTITION_TYPES][BLOCK_SIZES] = {
}
};
// transform block size in pixels
static const int tx_size_1d[TX_SIZES] = { 4, 8, 16, 32 };
static const uint8_t tx_size_1d_log2[TX_SIZES] = { 2, 3, 4, 5 };
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
......
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