﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1464	local RPS usage in arrangeLongtermPicturesInRPS	Tomohiro Ikai		"With the change of #4483 (corresponding to HM-16.6), local RPS(pcSlice->getLocalRPS()) became used instead of pcSlice->getRPS() in arrangeLongtermPicturesInRPS(). 
#The change also involves const for pcSlice->getRPS().

But the original implementation (seems from HM-7.1 for I0342, #define CODE_POCLSBLT_FIXEDLEN) would only work with pcSlice->getRPS(), because in many cases local RPS would be empty (not initialalized/set). Exception cases (local RPS can be valid) would be that createExplicitReferencePictureSetFromReference is called beforehand in TEncGOP.cpp due to a loss detection (return non-zero in checkThatAllRefPicsAreAvailable or IRAP. The createExplicit... prepares local RPS.

The patch (relative to HM-16.13) may resolve this issue. 

two possible options:
FIX_LOCAL_RPS==1: revert local RPS usage, which needs const removal (not included in the patch for the removal part)
FIX_LOCAL_RPS==2: copy pcSlice->getRPS() data to local RPS (if needed) and use local RPS.


Note: the issue is not related to CTC. The fix may not be good enough..(i not so familiar with this area) "	defect	new	minor		HM	HM-16.13			ksuehring davidf karlsharman jct-vc@…
