- Timestamp:
- 16 Mar 2013, 06:55:07 (12 years ago)
- Location:
- branches/HM-10.0-dev-SHM/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComSlice.cpp
r88 r89 2036 2036 // Assumed that RPL of the base layer is same to the EL, otherwise this information should be also dumped and read from the metadata file 2037 2037 setPOC( pcSlice->getPOC() ); 2038 if( pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA )2038 if( pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA && pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA ) 2039 2039 { 2040 2040 setSliceType( I_SLICE ); -
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TypeDef.h
r83 r89 62 62 #define JCTVC_L0178 1 ///< implementation of JCTVC-L0178 (code only supports right and bottom croppping offsets) 63 63 #endif 64 65 #define IDR_ALIGNMENT 1 ///< align IDR picures across layers 64 66 65 67 #if AVC_BASE -
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncGOP.cpp
r71 r89 413 413 pcSlice->setNalUnitType(getNalUnitType(pocCurr)); 414 414 #if REF_IDX_FRAMEWORK 415 #if IDR_ALIGNMENT 416 TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId-1]->getListPic(); 417 pcSlice->setBaseColPic (*cListPic, m_layerId ); 418 #endif 419 415 420 if( m_layerId > 0 && (pocCurr % m_pcCfg->getIntraPeriod() == 0) ) 416 421 { 422 #if IDR_ALIGNMENT 423 if( pcSlice->getBaseColPic()->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR ) 424 { 425 pcSlice->setNalUnitType(NAL_UNIT_CODED_SLICE_IDR); 426 } 427 else 428 #endif 417 429 pcSlice->setNalUnitType(NAL_UNIT_CODED_SLICE_CRA); 418 430 } … … 516 528 if(m_layerId > 0) 517 529 { 530 #if !IDR_ALIGNMENT 518 531 TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId-1]->getListPic(); 519 532 pcSlice->setBaseColPic (*cListPic, m_layerId ); 533 #endif 520 534 #if SVC_UPSAMPLING 521 535 if ( pcPic->isSpatialEnhLayer())
Note: See TracChangeset for help on using the changeset viewer.