Opened 5 years ago

Last modified 5 years ago

#100 closed defect

A SW bug in VTM for MPM generation when multiline is used for intra CU prediction — at Version 1

Reported by: ezhizng Owned by:
Priority: major Milestone:
Component: VTM Version: VTM-2.2
Keywords: Cc: zhi.a.zhang@…, frank.bossen@…, ksuehring, XiangLi, fbossen, jvet@…

Description (last modified by ksuehring)

It looks as if there is a potential bug in intra prediction from multi reference line, please double check.

The code below is used for multi reference line intra prediction MPM generation. To avoid insert duplicated modes in MPM, the red marked code:

if (aboveIntraDir > DC_IDX)

should be changed to:

if (aboveIntraDir > DC_IDX && aboveIntraDir != leftIntraDir)


Code snip below:
UtilTools.cpp
Line 333

int PU::getIntraMPMs()
{
#if JVET_L0283_MULTI_REF_LINE
    if (extendRefLine)
    {
      int modeIdx = 0;
      int angularMode[2] = { 0, 0 };
 
      if (leftIntraDir > DC_IDX)
      {
        angularMode[modeIdx++] = leftIntraDir;
      }
      if (aboveIntraDir > DC_IDX)
      {
        angularMode[modeIdx++] = aboveIntraDir;
      }
}

Change history (1)

comment:1 Changed 5 years ago by ksuehring

  • Description modified (diff)
Note: See TracTickets for help on using tickets.