diff --git a/source/Lib/CommonLib/Rom.cpp b/source/Lib/CommonLib/Rom.cpp index 04bd24ce6c6a0524ad95a698b78fbac59defc845..0a6c0097f3ac9f5caa3f5ff7de8c149684733d3f 100644 --- a/source/Lib/CommonLib/Rom.cpp +++ b/source/Lib/CommonLib/Rom.cpp @@ -597,7 +597,11 @@ const int g_invQuantScales[SCALING_LIST_REM_NUM] = //structures //EMT transform sets const int g_aiTrSubsetIntra[3][2] = { { DST7, DCT8 }, { DST7, DCT8 }, { DST7, DCT8 } }; +#if JVET_L0118_ALIGN_MTS_INDEX +const int g_aiTrSubsetInter[4] = { DST7, DCT8 }; +#else const int g_aiTrSubsetInter[4] = { DCT8, DST7 }; +#endif const uint8_t g_aucTrSetVert[NUM_INTRA_MODE - 1] = {//0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 diff --git a/source/Lib/CommonLib/TypeDef.h b/source/Lib/CommonLib/TypeDef.h index 472b3428168d2b7d107d8418d1b0042f6f45c2c0..012145dc8b5f8ec233f44f72908265cc1d02ba11 100644 --- a/source/Lib/CommonLib/TypeDef.h +++ b/source/Lib/CommonLib/TypeDef.h @@ -50,6 +50,8 @@ #include <assert.h> #include <cassert> +#define JVET_L0118_ALIGN_MTS_INDEX 1 // Align mts_index on intra and inter + #define JVET_L0285_8BIT_TRANSFORM_CORE 1 // Primary transform using 8-bit cores #define JVET_L0081_VPDU_SPLIT_CONSTRAINTS 1 // VPDU constraints for binary and ternary partitions