Commit feee3ed5 authored by Jingning Han's avatar Jingning Han Committed by Gerrit Code Review

Merge "Add tx_size to pixel number map" into nextgenv2

parents 7ae6ae34 02935f5f
......@@ -442,6 +442,17 @@ static const TX_SIZE txsize_vert_map[TX_SIZES_ALL] = {
#endif // CONFIG_EXT_TX
};
static const int tx_size_1d[TX_SIZES] = { 4, 8, 16, 32 };
static const int tx_size_2d[TX_SIZES] = { 16, 64, 256, 1024 };
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 };
// TODO(jingning): Temporary table during the construction.
static const int tx_size_1d_in_unit_log2[TX_SIZES] = { 0, 1, 2, 3 };
static const BLOCK_SIZE txsize_to_bsize[TX_SIZES_ALL] = {
BLOCK_4X4, // TX_4X4
BLOCK_8X8, // TX_8X8
......
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