﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1141	Missing subtraction for sps_max_num_merge_cand_minus_max_num_gpm_cand	hbteo		"Spec description:
The value of sps_max_num_merge_cand_minus_max_num_gpm_cand shall be in the range of 0 to MaxNumMergeCand [[span(style=color: #FF0000, − 2 )]] , inclusive.

VTM, Decoder:

{{{
      READ_UVLC(uiCode, ""max_num_merge_cand_minus_max_num_gpm_cand"");
      CHECK(pcSPS->getMaxNumMergeCand() < uiCode, ""Incorrrect max number of GEO candidates!"");

}}}

VTM, Encoder:

{{{
      WRITE_UVLC(pcSPS->getMaxNumMergeCand() - pcSPS->getMaxNumGeoCand(), ""max_num_merge_cand_minus_max_num_gpm_cand"");


}}}

Should be:
VTM, Decoder:

{{{
      READ_UVLC(uiCode, ""max_num_merge_cand_minus_max_num_gpm_cand"");
      CHECK((pcSPS->getMaxNumMergeCand() - 2) < uiCode, ""Incorrrect max number of GEO candidates!"");

}}}
VTM, Encoder:

{{{
      WRITE_UVLC(pcSPS->getMaxNumMergeCand() - pcSPS->getMaxNumGeoCand() - 2, ""max_num_merge_cand_minus_max_num_gpm_cand"");

}}}
"	defect	closed	minor	VTM-10.0	VTM	VTM-9.0	fixed		ksuehring XiangLi fbossen jvet@…
