Ticket #1232: update_m_prevTid0POC.patch
File update_m_prevTid0POC.patch, 1.4 KB (added by dfsouza, 11 years ago) |
---|
-
Lib/TLibCommon/TComSlice.h
1266 1266 Void setReferenced(Bool b) { m_bRefenced = b; } 1267 1267 Bool isReferenced() { return m_bRefenced; } 1268 1268 Bool isReferenceNalu() { return ((getNalUnitType() <= NAL_UNIT_RESERVED_VCL_R15) && (getNalUnitType()%2 != 0)) || ((getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP) && (getNalUnitType() <= NAL_UNIT_RESERVED_IRAP_VCL23) ); } 1269 Void setPOC ( Int i ) { m_iPOC = i; if ((getTLayer()==0) && ( isReferenceNalu() && (getNalUnitType()!=NAL_UNIT_CODED_SLICE_RASL_R)&& (getNalUnitType()!=NAL_UNIT_CODED_SLICE_RADL_R))) {m_prevTid0POC=i;} }1269 Void setPOC ( Int i ) { m_iPOC = i; if ((getTLayer()==0) && ((isReferenceNalu() && (getNalUnitType()!=NAL_UNIT_CODED_SLICE_RASL_R) && (getNalUnitType()!=NAL_UNIT_CODED_SLICE_RADL_R)) || (getNalUnitType()==NAL_UNIT_CODED_SLICE_TRAIL_N))) {m_prevTid0POC=i;} } 1270 1270 Void setNalUnitType ( NalUnitType e ) { m_eNalUnitType = e; } 1271 1271 NalUnitType getNalUnitType () const { return m_eNalUnitType; } 1272 1272 Bool getRapPicFlag ();