Commit e38c5751 authored by Remy Foray's avatar Remy Foray
Browse files

Fix predMode inference when modeType == MODE_TYPE_INTER

Always use intra mode on 4x4 CU, as indicated in the specification
parent bbf94d32
Pipeline #2420 passed with stage
......@@ -1151,7 +1151,7 @@ void CABACReader::pred_mode( CodingUnit& cu )
#if JVET_O0050_LOCAL_DUAL_TREE
if( cu.isConsInter() )
{
cu.predMode = MODE_INTER;
cu.predMode = ( cu.lwidth() == 4 && cu.lheight() == 4 ) ? MODE_INTRA : MODE_INTER;
return;
}
#endif
......@@ -1224,7 +1224,7 @@ void CABACReader::pred_mode( CodingUnit& cu )
#if JVET_O0050_LOCAL_DUAL_TREE
if( cu.isConsInter() )
{
cu.predMode = MODE_INTER;
cu.predMode = ( cu.lwidth() == 4 && cu.lheight() == 4 ) ? MODE_INTRA : MODE_INTER;
return;
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment