From b2d5fa2b7ae1da883db37858048d3aa169f6492b Mon Sep 17 00:00:00 2001 From: pgarus <pgarus@qti.qualcomm.com> Date: Tue, 31 Jan 2023 19:08:52 +0100 Subject: [PATCH] Added support of AC0115_INTRA_TMP_DIMD_MTS_LFNST in JVET_AC0130_NSPT --- source/Lib/CommonLib/UnitTools.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/Lib/CommonLib/UnitTools.cpp b/source/Lib/CommonLib/UnitTools.cpp index e920cd8ec..fb69f5fb3 100644 --- a/source/Lib/CommonLib/UnitTools.cpp +++ b/source/Lib/CommonLib/UnitTools.cpp @@ -17854,7 +17854,11 @@ uint32_t PU::getFinalIntraModeForTransform( const TransformUnit &tu, const Compo #if JVET_V0130_INTRA_TMP if( PU::isTmp( *tu.cs->getPU( area.pos(), toChannelType( compID ) ), toChannelType( compID ) ) ) { - intraMode = PLANAR_IDX; +#if JVET_AC0115_INTRA_TMP_DIMD_MTS_LFNST + intraMode = tu.cu->intraTmpDimdMode; +#else + intraMode = PLANAR_IDX; +#endif } #endif #if JVET_AB0155_SGPM -- GitLab