Changeset 1295 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 20 Jul 2015, 20:49:33 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1292 r1295 1084 1084 1085 1085 1086 Int TComSlice::m_prevTid0POC = 0;1087 1088 1086 /** Function for setting the slice's temporal layer ID and corresponding temporal_layer_switching_point_flag. 1089 1087 * \param uiTLayer Temporal layer ID of the current slice -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1292 r1295 1909 1909 Int m_iAssociatedIRAP; 1910 1910 NalUnitType m_iAssociatedIRAPType; 1911 static Int m_prevTid0POC; // TODO: Remove this static member variable.1912 1911 TComReferencePictureSet* m_pcRPS; 1913 1912 TComReferencePictureSet m_LocalRPS; … … 2061 2060 Void setRPSidx( Int iBDidx ) { m_iBDidx = iBDidx; } 2062 2061 Int getRPSidx() const { return m_iBDidx; } 2063 Int getPrevTid0POC() const { return m_prevTid0POC; }2064 2062 TComRefPicListModification* getRefPicListModification() { return &m_RefPicListModification; } 2065 2063 Void setLastIDR(Int iIDRPOC) { m_iLastIDR = iIDRPOC; } … … 2102 2100 Bool isReferenced() const { return m_bRefenced; } 2103 2101 Bool isReferenceNalu() const { return ((getNalUnitType() <= NAL_UNIT_RESERVED_VCL_R15) && (getNalUnitType()%2 != 0)) || ((getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP) && (getNalUnitType() <= NAL_UNIT_RESERVED_IRAP_VCL23) ); } 2104 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;}}2102 Void setPOC( Int i ) { m_iPOC = i; } 2105 2103 Void setNalUnitType( NalUnitType e ) { m_eNalUnitType = e; } 2106 2104 NalUnitType getNalUnitType() const { return m_eNalUnitType; } … … 2135 2133 2136 2134 #if SVC_EXTENSION 2137 Void setPrevTid0POC( Int x ) { m_prevTid0POC = x; }2138 2135 Void setAssociatedIrapPocBeforeReset(Int x) { m_associatedIrapPocBeforeReset = x; } 2139 2136 Int getAssociatedIrapPocBeforeReset( ) { return m_associatedIrapPocBeforeReset; }
Note: See TracChangeset for help on using the changeset viewer.