Changeset 1512 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
15 Dec 2015, 19:47:27 (10 years ago)
Author:
seregin
Message:

rename isSpatialEnhLayer to requireResampling for clarity since the difference may be in bitdepth only

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1510 r1512  
    272272    if(m_layerId > 0)
    273273    {
    274       xSetSpatialEnhLayerFlag( vps, sps, pps, rpcPic );
     274      xSetRequireResamplingFlag( vps, sps, pps, rpcPic );
    275275    }
    276276
     
    321321  if( m_layerId > 0 )
    322322  {
    323     xSetSpatialEnhLayerFlag( vps, sps, pps, rpcPic );
     323    xSetRequireResamplingFlag( vps, sps, pps, rpcPic );
    324324  }
    325325
     
    17111711#endif
    17121712
    1713         if( m_pcPic->isSpatialEnhLayer(refLayerIdc) )
     1713        if( m_pcPic->requireResampling(refLayerIdc) )
    17141714        {
    17151715          // check for the sample prediction picture type
     
    25902590}
    25912591
    2592 Void TDecTop::xSetSpatialEnhLayerFlag( const TComVPS &vps, const TComSPS &sps, const TComPPS &pps, TComPic* pic )
     2592Void TDecTop::xSetRequireResamplingFlag( const TComVPS &vps, const TComSPS &sps, const TComPPS &pps, TComPic* pic )
    25932593{
    25942594  for(UInt i = 0; i < vps.getNumDirectRefLayers( m_layerId ); i++ )
     
    26202620      )
    26212621    {
    2622       pic->setSpatialEnhLayerFlag( i, true );
     2622      pic->setRequireResamplingFlag( i, true );
    26232623
    26242624      //only for scalable extension
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h

    r1505 r1512  
    262262
    263263#if CONFORMANCE_BITSTREAM_MODE
    264   std::vector<TComPic>* getConfListPic() { return &m_confListPic; }
    265   Bool      getConfModeFlag() const      { return m_confModeFlag; }
    266   Void      setConfModeFlag(Bool x)      { m_confModeFlag = x;    }
     264  std::vector<TComPic>* getConfListPic()                                    { return &m_confListPic; }
     265  Bool      getConfModeFlag() const                                         { return m_confModeFlag; }
     266  Void      setConfModeFlag(Bool x)                                         { m_confModeFlag = x;    }
    267267#endif
    268268#endif //SVC_EXTENSION
     
    279279#if SVC_EXTENSION
    280280  Bool      xDecodeSlice(InputNALUnit &nalu, Int &iSkipFrame, Int iPOCLastDisplay, UInt& curLayerId, Bool& bNewPOC);
    281   Void      xSetSpatialEnhLayerFlag( const TComVPS &vps, const TComSPS &sps, const TComPPS &pps, TComPic* pic );
     281  Void      xSetRequireResamplingFlag( const TComVPS &vps, const TComSPS &sps, const TComPPS &pps, TComPic* pic );
    282282#else
    283283  Bool      xDecodeSlice(InputNALUnit &nalu, Int &iSkipFrame, Int iPOCLastDisplay);
Note: See TracChangeset for help on using the changeset viewer.