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

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
static const TX_SIZE max_txsize_rect_lookup[BLOCK_SIZES] = {
// 2X2, 2X4, 4X2,
TX_2X2, TX_2X2, TX_2X2,
#endif // CONFIG_CB4X4
// 4X4
// 4X8, 8X4, 8X8
......@@ -486,6 +487,9 @@ static const TX_SIZE max_txsize_rect_lookup[BLOCK_SIZES] = {
#endif // CONFIG_TX64X64
#define max_txsize_rect_lookup max_txsize_lookup
#endif // CONFIG_RECT_TX
// Same as "max_txsize_lookup[bsize] - TX_8X8", except for rectangular
Supports Markdown
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