﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1033	Mismatch spec/VTM on RefPicLtPocList set	audrey.turquin		"

The calculation of FullPocLt[i][j] is not aligned with the specification.
In the VTM, at each calculation (present at multiple places), there is a condition that is not present in the spec.

For example (source/Lib/CommonLib/Slice.cpp, function 'constructRefPicList') :


{{{
int ltrpPoc = m_pRPL0->getRefPicIdentifier(ii) & pocMask;
if(m_localRPL0.getDeltaPocMSBPresentFlag(ii))
{
  ltrpPoc += getPOC() - m_localRPL0.getDeltaPocMSBCycleLT(ii) * (pocMask + 1) - (getPOC() & pocMask);
}

}}}

The condition ""if(m_localRPL0.getDeltaPocMSBPresentFlag(ii))"" should not be here, the calculation should be in any case :


{{{
int ltrpPoc = m_pRPL0->getRefPicIdentifier(ii) + getPOC() - m_localRPL0.getDeltaPocMSBCycleLT(ii) * (pocMask + 1) - (getPOC() & pocMask);
}}}


Moreover, the POC calculated this way is always the POC with MSB.
Consequently, in function xGetLongTermRefPic, the part with ""pocHasMsb"" is wrong and should be removed."	defect	closed	minor		spec		fixed		ksuehring XiangLi fbossen jvet@…
