﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
202	If GOP size and intra period are same, decoder has mismatch	secret9th		"When I tested HM4.0rc1 using following 

TAppEncoder.exe -c encoder_randomaccess.cfg -c per-sequence/BQSquare.cfg -q 37 -g 16 -f 17 -ip 16

I got mismatch for decoder. (log is attatched)

Based on the simple analysis, it seems that gop size estimation at decoder is a source of mismatch. In xGetNewPicBuffer(), gop size is estimated by assuming gop size is POC gap between first and second picture (P or B). However, when gop size and intra period are same, gop size is wrongly estimated as 0. 

One simple solution is to fix the value of variable m_iMaxRefPicNum such as 16. This is similar approach to H.264/AVC, but cost huge memory allocation in decoder. 

Need to find better solution for this.
"	defect	closed	minor		HM	HM-3.4	fixed		fbossen ksuehring davidf jct-vc@…
