Changeset 170 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
- Timestamp:
- 9 May 2013, 17:40:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r169 r170 797 797 #endif 798 798 #endif 799 #if JCTVC_M0458 800 WRITE_FLAG(vps->getMaxOneActiveRefLayerFlag(), "max_one_active_ref_layer_flag"); 801 #endif 799 802 #if !VPS_MOVE_DIR_DEPENDENCY_FLAG 800 803 #if VPS_EXTN_DIRECT_REF_LAYERS … … 1163 1166 } 1164 1167 } 1168 #if JCTVC_M0458 1169 if((pcSlice->getSPS()->getLayerId() > 0) && (pcSlice->getNumILRRefIdx() > 0) ) 1170 { 1171 WRITE_FLAG(pcSlice->getInterLayerPredEnabledFlag(),"inter_layer_pred_enabled_flag"); 1172 if( pcSlice->getInterLayerPredEnabledFlag()) 1173 { 1174 if(pcSlice->getNumILRRefIdx() > 1) 1175 { 1176 if( !pcSlice->getVPS()->getMaxOneActiveRefLayerFlag()) 1177 { 1178 WRITE_UVLC(pcSlice->getNumInterLayerRefPics(),"num_inter_layer_ref_pics_minus1"); 1179 } 1180 for(Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ ) 1181 WRITE_UVLC(pcSlice->getInterLayerPredEnabledFlag(),"inter_layer_pred_layer_idc[i]"); 1182 } 1183 } 1184 } 1185 #endif 1165 1186 if(pcSlice->getPPS()->getSliceHeaderExtensionPresentFlag()) 1166 1187 {
Note: See TracChangeset for help on using the changeset viewer.