diff --git a/source/Lib/CommonLib/LoopFilter.cpp b/source/Lib/CommonLib/LoopFilter.cpp index 71f3397ba4c77f123ecb72901da7a6860ff204e1..b2e5b30c93c5083cdacdd0bfa79c2d284d0ee593 100644 --- a/source/Lib/CommonLib/LoopFilter.cpp +++ b/source/Lib/CommonLib/LoopFilter.cpp @@ -65,8 +65,13 @@ const uint8_t LoopFilter::sm_tcTable[MAX_QP + 1 + DEFAULT_INTRA_TC_OFFSET] = { +#if JVET_L0410_TC_TAB + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,5,5,6,6,7,8,9,10,11,13,14,16,18,20,22,25 + , 28, 31, 35, 39, 44, 50, 56, 63, 70, 79, 88, 99 +#else //JVET_L0410_TC_TAB 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,5,5,6,6,7,8,9,10,11,13,14,16,18,20,22,24 , 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48 +#endif //JVET_L0410_TC_TAB }; const uint8_t LoopFilter::sm_betaTable[MAX_QP + 1] = diff --git a/source/Lib/CommonLib/TypeDef.h b/source/Lib/CommonLib/TypeDef.h index 1e47f18ef93e69ba27ea72d78c0e0cae41aee0e9..1963b3208d9a032305bbe6d14ee6d20b3b318acb 100644 --- a/source/Lib/CommonLib/TypeDef.h +++ b/source/Lib/CommonLib/TypeDef.h @@ -50,6 +50,8 @@ #include <assert.h> #include <cassert> +#define JVET_L0410_TC_TAB 1 // Change TC table for QP 51-63 + #define JVET_L0136_L0085_LM_RESTRICTED_LINEBUFFER 1 // line buffer restriction in LM prediction #define JVET_L0059_MTS_SIMP 1 // Simpification on MTS signaling