Changeset 89 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncGOP.cpp
- Timestamp:
- 16 Mar 2013, 06:55:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.