﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1116	Some conditions from section 8.3.1 missing in POC decoding routine	jackh		"Section 8.3.1 of the spec states:

   Let prevTid0Pic be the previous picture in decoding order that has TemporalId equal to 0 and that is not a RASL picture, a RADL picture, or a sub-layer non-reference picture.

The relevant line in the reference decoder is in TComSlice.h:

{{{
Void setPOC( Int i ) { m_iPOC = i; if(getTLayer()==0) m_prevPOC=i; }
}}}

This misses out the RASL, RASL or sub-layer non-reference condition. I think this should be changed to:

{{{
Void setPOC( Int i ) { m_iPOC = i; if(getTLayer()==0 && !isRASL() && !isRADL() && !isNonReference()) m_prevPOC=i; }
Bool isRASL() const { return (getNalUnitType() == NAL_UNIT_CODED_SLICE_RASL_N) || (getNalUnitType() == NAL_UNIT_CODED_SLICE_RASL_R); }  
Bool isRADL() const { return (getNalUnitType() == NAL_UNIT_CODED_SLICE_RADL_N) || (getNalUnitType() == NAL_UNIT_CODED_SLICE_RADL_R); }  
Bool isNonReference() const { return 
                                     (getNalUnitType() == NAL_UNIT_CODED_SLICE_RADL_N) ||
                                     (getNalUnitType() == NAL_UNIT_CODED_SLICE_RASL_N) ||
                                     (getNalUnitType() == NAL_UNIT_CODED_SLICE_STSA_N) ||
                                     (getNalUnitType() == NAL_UNIT_CODED_SLICE_TRAIL_N) ||
                                     (getNalUnitType() == NAL_UNIT_CODED_SLICE_TSA_N)
                          ; }  
}}}"	defect	closed	minor		HM	HM-11.0	duplicate		fbossen ksuehring davidf jct-vc@…
