From de5f20b9b49ec2a8d4e8dd83af3cc59c949aa14c Mon Sep 17 00:00:00 2001 From: Luong Pham Van <lphamvan@qti.qualcomm.com> Date: Wed, 23 Oct 2019 14:03:24 -0700 Subject: [PATCH] Cleanup --- source/Lib/CommonLib/CodingStructure.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/Lib/CommonLib/CodingStructure.cpp b/source/Lib/CommonLib/CodingStructure.cpp index 7a47326c46..cdd826d76c 100644 --- a/source/Lib/CommonLib/CodingStructure.cpp +++ b/source/Lib/CommonLib/CodingStructure.cpp @@ -190,11 +190,11 @@ void CodingStructure::setDecomp(const UnitArea &_area, const bool _isCoded /*= t const int CodingStructure::signalModeCons( const PartSplit split, Partitioner &partitioner, const ModeType modeTypeParent ) const { - if( CS::isDualITree( *this ) || modeTypeParent != MODE_TYPE_ALL || partitioner.currArea().chromaFormat == CHROMA_444 #if JVET_P0406_YUV_FMT_GENERALIZATION_LDT - || partitioner.currArea().chromaFormat == CHROMA_400 -#endif - ) + if (CS::isDualITree(*this) || modeTypeParent != MODE_TYPE_ALL || partitioner.currArea().chromaFormat == CHROMA_444 || partitioner.currArea().chromaFormat == CHROMA_400 ) +#else + if (CS::isDualITree(*this) || modeTypeParent != MODE_TYPE_ALL || partitioner.currArea().chromaFormat == CHROMA_444 ) +#endif return LDT_MODE_TYPE_INHERIT; #if JVET_P0406_YUV_FMT_GENERALIZATION_LDT int minLumaArea = partitioner.currArea().lumaSize().area(); -- GitLab