Skip to content
Snippets Groups Projects
Commit 9b72d58c authored by Remy Foray's avatar Remy Foray Committed by Frank Bossen
Browse files

Fix getTbAreaAfterCoefZeroOut after merge of !853

parent adc24266
No related branches found
No related tags found
No related merge requests found
......@@ -870,7 +870,11 @@ int TransformUnit::getTbAreaAfterCoefZeroOut(ComponentID compID) const
int tbArea = blocks[compID].width * blocks[compID].height;
int tbZeroOutWidth = blocks[compID].width;
int tbZeroOutHeight = blocks[compID].height;
#if JVET_O0538_SPS_CONTROL_ISP_SBT
if ((mtsIdx > MTS_SKIP || (cs->sps->getUseMTS() && cu->sbtInfo != 0 && blocks[compID].width <= 32 && blocks[compID].height <= 32)) && !cu->transQuantBypass && compID == COMPONENT_Y)
#else
if ((mtsIdx > MTS_SKIP || (cu->sbtInfo != 0 && blocks[compID].width <= 32 && blocks[compID].height <= 32)) && !cu->transQuantBypass && compID == COMPONENT_Y)
#endif
{
tbZeroOutWidth = (blocks[compID].width == 32) ? 16 : tbZeroOutWidth;
tbZeroOutHeight = (blocks[compID].height == 32) ? 16 : tbZeroOutHeight;
......
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