Changeset 39 in SHVCSoftware for branches/SHM-1.1-dev/source/Lib/TLibEncoder
- Timestamp:
- 20 Feb 2013, 23:42:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-1.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r38 r39 337 337 pcSlice->setNalUnitType(getNalUnitType(uiPOCCurr)); 338 338 #if REF_IDX_FRAMEWORK 339 if (m_layerId > 0 && (uiPOCCurr % m_pcCfg->getIntraPeriod() == 0)) 339 if( m_layerId > 0 && (uiPOCCurr % m_pcCfg->getIntraPeriod() == 0) ) 340 { 340 341 pcSlice->setNalUnitType(NAL_UNIT_CODED_SLICE_CRA); 342 } 341 343 if( m_layerId > 0 && !m_pcEncTop->getElRapSliceTypeB() ) 342 344 { 343 345 if( (pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA) && 344 346 (pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA) && 345 pcSlice->getSliceType() == B_SLICE ) 347 pcSlice->getSliceType() == B_SLICE ) 348 { 346 349 pcSlice->setSliceType(P_SLICE); 350 } 347 351 } 348 352 #endif … … 466 470 467 471 #if REF_IDX_FRAMEWORK 468 if (pcSlice->getSliceType() == B_SLICE) 472 if( pcSlice->getSliceType() == B_SLICE ) 473 { 469 474 pcSlice->setColFromL0Flag(1-uiColDir); 475 } 470 476 #endif 471 477
Note: See TracChangeset for help on using the changeset viewer.