Changeset 1510 in SHVCSoftware for branches


Ignore:
Timestamp:
15 Dec 2015, 17:36:20 (9 years ago)
Author:
seregin
Message:

update SPS setting to non HEVC BL

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComPicSym.h

    r1503 r1510  
    192192  Bool         getSkippedTileSetFlag( Int i )                        { return *(m_pbSkippedTileSetFlag + i); }
    193193#endif
    194   Void         inferSpsForNonHEVCBL(TComVPS *vps)                    { m_sps.inferSPS(0, vps);              }
     194  Void         inferSpsForNonHEVCBL(TComVPS *vps, const UInt maxCuWidth, const UInt maxCuHeight)  { m_sps.inferSPS(0, vps); m_sps.setMaxCUWidth(maxCuWidth), m_sps.setMaxCUHeight(maxCuHeight); }
    195195#endif //SVC_EXTENSION
    196196
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1505 r1510  
    520520        UInt refLayerId = 0;
    521521
    522         pBLPic->create( *sps, *pps, true, refLayerId);
     522        pBLPic->getPicSym()->inferSpsForNonHEVCBL(vps, sps->getMaxCUWidth(), sps->getMaxCUHeight());
     523
     524        pBLPic->create( pBLPic->getPicSym()->getSPS(), *pps, true, refLayerId);
    523525
    524526        // it is needed where the VPS is accessed through the slice
    525527        pBLPic->getSlice(0)->setVPS( vps );
    526         pBLPic->getPicSym()->inferSpsForNonHEVCBL(vps);
    527528        pBLPic->getSlice(0)->setSPS( &pBLPic->getPicSym()->getSPS() );
    528529      }
     
    16431644          if( pic )
    16441645          {
    1645             pcSlice->setBaseColPic ( refLayerIdc, pic );
     1646            pcSlice->setBaseColPic( refLayerIdc, pic );
    16461647          }
    16471648          else
     
    16541655          TDecTop *pcTDecTop = (TDecTop *)getRefLayerDec( refLayerIdc );
    16551656          TComList<TComPic*> *cListPic = pcTDecTop->getListPic();
    1656           if( !pcSlice->setBaseColPic ( *cListPic, refLayerIdc ) )
     1657          if( !pcSlice->setBaseColPic( *cListPic, refLayerIdc ) )
    16571658          {
    16581659            continue;
Note: See TracChangeset for help on using the changeset viewer.