Commit 8b77d04e authored by Jingning Han's avatar Jingning Han Committed by Debargha Mukherjee

Decouples rect-tx from var-tx

With this patch, --enable-var-tx only enables recursive transform
partitioning without using rectangular transforms.
To enable use of rectangular transforms in addition, use:
--enable-var-tx --enable-rect-tx

The RD selection process is not fully tested under the var-tx flag
only. We might expect certain performance loss there.

Change-Id: Ie6aa17f1bbc3e8563b9990bc9ff79cc860d9a361
parent febb59cd
......@@ -455,11 +455,12 @@ static const TX_SIZE max_txsize_lookup[BLOCK_SIZES] = {
#endif // CONFIG_TX64X64
};
#if CONFIG_RECT_TX
static const TX_SIZE max_txsize_rect_lookup[BLOCK_SIZES] = {
#if CONFIG_CB4X4
// 2X2, 2X4, 4X2,
TX_2X2, TX_2X2, TX_2X2,
#endif
#endif // CONFIG_CB4X4
// 4X4
TX_4X4,
// 4X8, 8X4, 8X8
......@@ -486,6 +487,9 @@ static const TX_SIZE max_txsize_rect_lookup[BLOCK_SIZES] = {
#endif // CONFIG_EXT_PARTITION
#endif // CONFIG_TX64X64
};
#else
#define max_txsize_rect_lookup max_txsize_lookup
#endif // CONFIG_RECT_TX
#if (CONFIG_VAR_TX || CONFIG_RECT_TX)
// Same as "max_txsize_lookup[bsize] - TX_8X8", except for rectangular
......
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