Skip to content
Snippets Groups Projects
Commit 4874f30f authored by Guichun's avatar Guichun
Browse files

Add harmonization with JVET-Q0438 MONOCHROME BUGFIXES

parent 2182553d
No related branches found
No related tags found
1 merge request!1261JVET-Q0471: chroma QT split based on block height
......@@ -391,7 +391,11 @@ void QTBTPartitioner::canSplit( const CodingStructure &cs, bool& canNo, bool& ca
// don't allow QT-splitting below a BT split
if( lastSplit != CTU_LEVEL && lastSplit != CU_QUAD_SPLIT ) canQt = false;
#if JVET_Q0471_CHROMA_QT_SPLIT_ON_HEIGHT
#if JVET_Q0438_MONOCHROME_BUGFIXES
SizeType side = (chType == CHANNEL_TYPE_CHROMA) ? areaC->height : area.height;
#else
SizeType side = chType == CHANNEL_TYPE_CHROMA ? areaC.height : area.height;
#endif
if (side <= minQtSize) canQt = false;
#else
if( area.width <= minQtSize ) canQt = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment