Changeset 291 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
- Timestamp:
- 18 Jun 2013, 14:06:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r290 r291 548 548 WRITE_FLAG( pcSPS->getTMVPFlagsPresent() ? 1 : 0, "sps_temporal_mvp_enable_flag" ); 549 549 #if REF_IDX_MFM 550 #if !M0457_COL_PICTURE_SIGNALING 550 551 if( pcSPS->getLayerId() > 0 ) 551 552 { 552 553 WRITE_FLAG( pcSPS->getMFMEnabledFlag() ? 1 : 0, "sps_enh_mfm_enable_flag" ); 553 554 } 555 #endif 554 556 #endif 555 557 WRITE_FLAG( pcSPS->getUseStrongIntraSmoothing(), "sps_strong_intra_smoothing_enable_flag" ); … … 1219 1221 if ( pcSlice->getEnableTMVPFlag() ) 1220 1222 { 1223 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING 1224 if ( !pcSlice->getIdrPicFlag() && pcSlice->getLayerId() > 0 && pcSlice->getNumMotionPredRefLayers() > 0 ) 1225 { 1226 WRITE_FLAG( 1, "alt_collocated_indication_flag" ); 1227 if (pcSlice->getNumMotionPredRefLayers() > 1) 1228 { 1229 WRITE_UVLC(0, "collocated_ref_layer_idx"); 1230 } 1231 } 1232 else 1233 { 1234 #endif 1221 1235 if ( pcSlice->getSliceType() == B_SLICE ) 1222 1236 { … … 1230 1244 WRITE_UVLC( pcSlice->getColRefIdx(), "collocated_ref_idx" ); 1231 1245 } 1246 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING 1247 } 1248 #endif 1232 1249 } 1233 1250 if ( (pcSlice->getPPS()->getUseWP() && pcSlice->getSliceType()==P_SLICE) || (pcSlice->getPPS()->getWPBiPred() && pcSlice->getSliceType()==B_SLICE) )
Note: See TracChangeset for help on using the changeset viewer.