Opened 5 years ago

Closed 4 years ago

#1096 closed defect (invalid)

The function of IntraPrediction::getWideAngle() is different from 8.4.5.2.6 of JVET-R2001-v10.doc

Reported by: annci Owned by:
Priority: minor Milestone:
Component: VTM Version:
Keywords: Cc: ksuehring, XiangLi, fbossen, jvet@…

Description

In 8.4.5.2.6 of JVET-R2001-v10.doc, if all of the following conditions are true,predModeIntra is set equal to (predModeIntra - 67):

  • nH is greater than nW
  • predModeIntra is less thran or equal to 66
  • predModeIntra is greater than (whRatio > 1)?(60-2*whRatio ):60

But in the function of IntraPrediction::getWideAngle() of VTM Codec, predModeIntra is set equal to (predModeIntra - 65)

int IntraPrediction::getWideAngle( int width, int height, int predMode )
{

if ( predMode > DC_IDX && predMode <= VDIA_IDX )
{

int modeShift[] = { 0, 6, 10, 12, 14, 15 };
int deltaSize = abs(floorLog2(width) - floorLog2(height));
if (width > height && predMode < 2 + modeShift[deltaSize])
{

predMode += (VDIA_IDX - 1);

}
else if (height > width && predMode > VDIA_IDX - modeShift[deltaSize])
{

predMode -= (VDIA_IDX - 1);

}

}
return predMode;

}

Change history (2)

comment:1 Changed 5 years ago by deluxan

Please, check the resolution of Ticket #1064.

comment:2 Changed 4 years ago by fbossen

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.