Changeset 559 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibEncoder
- Timestamp:
- 27 Jan 2014, 17:15:16 (11 years ago)
- Location:
- branches/SHM-5.0-dev/source/Lib/TLibEncoder
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r556 r559 1671 1671 } 1672 1672 } 1673 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG1674 if( pcSlice->getNumSamplePredRefLayers() > 0 && pcSlice->getActiveNumILRRefIdx() > 0 )1675 {1676 WRITE_FLAG( pcSlice->getInterLayerSamplePredOnlyFlag(), "inter_layer_sample_pred_only_flag" );1677 }1678 #endif1679 1673 #endif 1680 1674 -
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncCu.cpp
r540 r559 462 462 testInter = false; 463 463 } 464 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG465 if( pcSlice->getInterLayerSamplePredOnlyFlag() )466 {467 testInter = false;468 }469 #endif470 464 } 471 465 #endif -
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r558 r559 696 696 #endif 697 697 #endif 698 }699 #endif700 701 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG702 pcSlice->setNumSamplePredRefLayers( m_pcEncTop->getNumSamplePredRefLayers() );703 pcSlice->setInterLayerSamplePredOnlyFlag( 0 );704 if( pcSlice->getNumSamplePredRefLayers() > 0 && pcSlice->getActiveNumILRRefIdx() > 0 )705 {706 if( m_pcEncTop->getIlSampleOnlyPred() > 0 )707 {708 pcSlice->setInterLayerSamplePredOnlyFlag( true );709 }710 698 } 711 699 #endif … … 1306 1294 } 1307 1295 1308 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG1309 if (pcSlice->getSliceType() == B_SLICE && m_pcEncTop->getIlSampleOnlyPred() == 0)1310 #else1311 1296 if (pcSlice->getSliceType() == B_SLICE) 1312 #endif1313 1297 { 1314 1298 #if !SVC_EXTENSION -
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncTop.h
r540 r559 137 137 Bool m_bMFMEnabledFlag; 138 138 #endif 139 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG140 Int m_ilSampleOnlyPred;141 #endif142 139 UInt m_numScaledRefLayerOffsets; 143 140 #if O0098_SCALED_REF_LAYER_ID … … 237 234 Bool getMFMEnabledFlag() {return m_bMFMEnabledFlag;} 238 235 #endif 239 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG240 Void setIlSampleOnlyPred( Int i ) { m_ilSampleOnlyPred = i; }241 Int getIlSampleOnlyPred() { return m_ilSampleOnlyPred; }242 #endif243 236 #if AVC_SYNTAX 244 237 Void setBLSyntaxFile( fstream* pFile ) { m_pBLSyntaxFile = pFile; }
Note: See TracChangeset for help on using the changeset viewer.