Changeset 297 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
- Timestamp:
- 20 Jun 2013, 22:40:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r296 r297 539 539 #endif 540 540 541 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG 542 pcSlice->setNumSamplePredRefLayers( m_pcEncTop->getNumSamplePredRefLayers() ); 543 pcSlice->setInterLayerSamplePredOnlyFlag( 0 ); 544 if( pcSlice->getNumSamplePredRefLayers() > 0 && pcSlice->getActiveNumILRRefIdx() > 0 ) 545 { 546 if( m_pcEncTop->getIlSampleOnlyPred() > 0 ) 547 { 548 pcSlice->setInterLayerSamplePredOnlyFlag( true ); 549 } 550 } 551 #endif 552 541 553 pcSlice->setLastIDR(m_iLastIDR); 542 554 pcSlice->setSliceIdx(0); … … 923 935 #endif 924 936 937 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG 938 if (pcSlice->getSliceType() == B_SLICE && m_pcEncTop->getIlSampleOnlyPred() == 0) 939 #else 925 940 if (pcSlice->getSliceType() == B_SLICE) 941 #endif 926 942 { 927 943 #if !REF_IDX_FRAMEWORK
Note: See TracChangeset for help on using the changeset viewer.