Clean up ext-tx experiment Remove unnecessary #if statements from the implementation. Change-Id: I09c2f046aec2c43894f8dcfd99216fdf0a50451d
diff --git a/av1/common/blockd.h b/av1/common/blockd.h index 859986a..3fac8a1 100644 --- a/av1/common/blockd.h +++ b/av1/common/blockd.h
@@ -822,12 +822,8 @@ #endif // CONFIG_EXT_INTRA || CONFIG_FILTER_INTRA #if CONFIG_EXT_TX -#if EXT_TX_SIZES == 4 if (xd->lossless[mbmi->segment_id] || txsize_sqr_map[tx_size] > TX_32X32 || (txsize_sqr_map[tx_size] >= TX_32X32 && !is_inter_block(mbmi))) -#else - if (xd->lossless[mbmi->segment_id] || txsize_sqr_map[tx_size] >= TX_32X32) -#endif return DCT_DCT; if (mbmi->sb_type >= BLOCK_8X8 || CONFIG_CB4X4) { if (plane_type == PLANE_TYPE_Y) {
diff --git a/av1/common/entropymode.c b/av1/common/entropymode.c index 8bb8e86..18f9a3a 100644 --- a/av1/common/entropymode.c +++ b/av1/common/entropymode.c
@@ -1417,9 +1417,7 @@ { 0 }, { 0 }, { 0 }, -#if EXT_TX_SIZES == 4 { 0 }, -#endif }, { { 10, 24, 30, 128, 128, 128, 128, 112, 160, 128, 128, 128, 128, 128, @@ -1428,26 +1426,17 @@ 128 }, { 10, 24, 30, 128, 128, 128, 128, 112, 160, 128, 128, 128, 128, 128, 128 }, -#if EXT_TX_SIZES == 4 { 10, 24, 30, 128, 128, 128, 128, 112, 160, 128, 128, 128, 128, 128, 128 }, -#endif }, { { 10, 30, 128, 112, 160, 128, 128, 128, 128, 128, 128 }, { 10, 30, 128, 112, 160, 128, 128, 128, 128, 128, 128 }, { 10, 30, 128, 112, 160, 128, 128, 128, 128, 128, 128 }, -#if EXT_TX_SIZES == 4 { 10, 30, 128, 112, 160, 128, 128, 128, 128, 128, 128 }, -#endif }, { - { 12 }, - { 12 }, - { 12 }, -#if EXT_TX_SIZES == 4 - { 12 }, -#endif + { 12 }, { 12 }, { 12 }, { 12 }, } }; @@ -1492,7 +1481,6 @@ { 0 }, { 0 }, }, -#if EXT_TX_SIZES == 4 { { 0 }, { 0 }, @@ -1505,7 +1493,6 @@ { 0 }, { 0 }, }, -#endif }, { { @@ -1544,7 +1531,6 @@ { 10, 23, 32, 128, 80, 176 }, { 10, 32, 32, 128, 16, 64 }, }, -#if EXT_TX_SIZES == 4 { { 8, 224, 32, 128, 64, 128 }, { 10, 32, 32, 128, 16, 192 }, @@ -1557,7 +1543,6 @@ { 10, 23, 32, 128, 80, 176 }, { 10, 32, 32, 128, 16, 64 }, }, -#endif }, { { @@ -1596,7 +1581,6 @@ { 10, 23, 80, 176 }, { 10, 32, 16, 64 }, }, -#if EXT_TX_SIZES == 4 { { 8, 224, 64, 128 }, { 10, 32, 16, 192 }, @@ -1609,7 +1593,6 @@ { 10, 23, 80, 176 }, { 10, 32, 16, 64 }, }, -#endif }, }; #else