﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1096	The function of IntraPrediction::getWideAngle() is different from 8.4.5.2.6 of JVET-R2001-v10.doc	annci		"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;
}"	defect	closed	minor		VTM		invalid		ksuehring XiangLi fbossen jvet@…
