Changeset 1295 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
20 Jul 2015, 20:49:33 (10 years ago)
Author:
seregin
Message:

port rev 4327 (TComSlice::m_prevTid0POC)

Location:
branches/SHM-dev/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1292 r1295  
    10841084
    10851085
    1086 Int TComSlice::m_prevTid0POC = 0;
    1087 
    10881086/** Function for setting the slice's temporal layer ID and corresponding temporal_layer_switching_point_flag.
    10891087 * \param uiTLayer Temporal layer ID of the current slice
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h

    r1292 r1295  
    19091909  Int                        m_iAssociatedIRAP;
    19101910  NalUnitType                m_iAssociatedIRAPType;
    1911   static Int                 m_prevTid0POC; // TODO: Remove this static member variable.
    19121911  TComReferencePictureSet*   m_pcRPS;
    19131912  TComReferencePictureSet    m_LocalRPS;
     
    20612060  Void                        setRPSidx( Int iBDidx )                                { m_iBDidx = iBDidx;                                            }
    20622061  Int                         getRPSidx() const                                      { return m_iBDidx;                                              }
    2063   Int                         getPrevTid0POC() const                                 { return m_prevTid0POC;                                         }
    20642062  TComRefPicListModification* getRefPicListModification()                            { return &m_RefPicListModification;                             }
    20652063  Void                        setLastIDR(Int iIDRPOC)                                { m_iLastIDR = iIDRPOC;                                         }
     
    21022100  Bool                        isReferenced() const                                   { return m_bRefenced;                                           }
    21032101  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; }
    21052103  Void                        setNalUnitType( NalUnitType e )                        { m_eNalUnitType      = e;                                      }
    21062104  NalUnitType                 getNalUnitType() const                                 { return m_eNalUnitType;                                        }
     
    21352133
    21362134#if SVC_EXTENSION
    2137   Void                        setPrevTid0POC( Int x )                                { m_prevTid0POC = x;                                            }
    21382135  Void                        setAssociatedIrapPocBeforeReset(Int x)                 { m_associatedIrapPocBeforeReset = x;                           }
    21392136  Int                         getAssociatedIrapPocBeforeReset(     )                 { return m_associatedIrapPocBeforeReset;                        }
Note: See TracChangeset for help on using the changeset viewer.