Changeset 1512 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 15 Dec 2015, 19:47:27 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
-
TDecTop.cpp (modified) (5 diffs)
-
TDecTop.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1510 r1512 272 272 if(m_layerId > 0) 273 273 { 274 xSet SpatialEnhLayerFlag( vps, sps, pps, rpcPic );274 xSetRequireResamplingFlag( vps, sps, pps, rpcPic ); 275 275 } 276 276 … … 321 321 if( m_layerId > 0 ) 322 322 { 323 xSet SpatialEnhLayerFlag( vps, sps, pps, rpcPic );323 xSetRequireResamplingFlag( vps, sps, pps, rpcPic ); 324 324 } 325 325 … … 1711 1711 #endif 1712 1712 1713 if( m_pcPic-> isSpatialEnhLayer(refLayerIdc) )1713 if( m_pcPic->requireResampling(refLayerIdc) ) 1714 1714 { 1715 1715 // check for the sample prediction picture type … … 2590 2590 } 2591 2591 2592 Void TDecTop::xSet SpatialEnhLayerFlag( const TComVPS &vps, const TComSPS &sps, const TComPPS &pps, TComPic* pic )2592 Void TDecTop::xSetRequireResamplingFlag( const TComVPS &vps, const TComSPS &sps, const TComPPS &pps, TComPic* pic ) 2593 2593 { 2594 2594 for(UInt i = 0; i < vps.getNumDirectRefLayers( m_layerId ); i++ ) … … 2620 2620 ) 2621 2621 { 2622 pic->set SpatialEnhLayerFlag( i, true );2622 pic->setRequireResamplingFlag( i, true ); 2623 2623 2624 2624 //only for scalable extension -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h
r1505 r1512 262 262 263 263 #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; } 267 267 #endif 268 268 #endif //SVC_EXTENSION … … 279 279 #if SVC_EXTENSION 280 280 Bool xDecodeSlice(InputNALUnit &nalu, Int &iSkipFrame, Int iPOCLastDisplay, UInt& curLayerId, Bool& bNewPOC); 281 Void xSet SpatialEnhLayerFlag( 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 ); 282 282 #else 283 283 Bool xDecodeSlice(InputNALUnit &nalu, Int &iSkipFrame, Int iPOCLastDisplay);
Note: See TracChangeset for help on using the changeset viewer.