Merge "Add tx_size to pixel number map" into nextgenv2
This commit is contained in:
Коммит
feee3ed5ee
|
@ -442,6 +442,17 @@ static const TX_SIZE txsize_vert_map[TX_SIZES_ALL] = {
|
||||||
#endif // CONFIG_EXT_TX
|
#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] = {
|
static const BLOCK_SIZE txsize_to_bsize[TX_SIZES_ALL] = {
|
||||||
BLOCK_4X4, // TX_4X4
|
BLOCK_4X4, // TX_4X4
|
||||||
BLOCK_8X8, // TX_8X8
|
BLOCK_8X8, // TX_8X8
|
||||||
|
|
Загрузка…
Ссылка в новой задаче