Changeset 181 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibEncoder
- Timestamp:
- 11 May 2013, 01:14:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r175 r181 1013 1013 } 1014 1014 } 1015 1015 1016 if (pcSlice->getSPS()->getTMVPFlagsPresent()) 1016 1017 { … … 1018 1019 } 1019 1020 } 1021 1022 #if JCTVC_M0458_INTERLAYER_RPS_SIG 1023 if((pcSlice->getSPS()->getLayerId() > 0) && (pcSlice->getNumILRRefIdx() > 0) ) 1024 { 1025 WRITE_FLAG(pcSlice->getInterLayerPredEnabledFlag(),"inter_layer_pred_enabled_flag"); 1026 if( pcSlice->getInterLayerPredEnabledFlag()) 1027 { 1028 if(pcSlice->getNumILRRefIdx() > 1) 1029 { 1030 if( !pcSlice->getVPS()->getMaxOneActiveRefLayerFlag()) 1031 { 1032 WRITE_UVLC(pcSlice->getNumInterLayerRefPics(),"num_inter_layer_ref_pics_minus1"); 1033 } 1034 for(Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ ) 1035 WRITE_UVLC(pcSlice->getInterLayerPredLayerIdc(i),"inter_layer_pred_layer_idc[i]"); 1036 } 1037 } 1038 } 1039 #endif 1040 1020 1041 if(pcSlice->getSPS()->getUseSAO()) 1021 1042 { … … 1176 1197 } 1177 1198 } 1178 #if JCTVC_M0458_INTERLAYER_RPS_SIG 1179 if((pcSlice->getSPS()->getLayerId() > 0) && (pcSlice->getNumILRRefIdx() > 0) ) 1180 { 1181 WRITE_FLAG(pcSlice->getInterLayerPredEnabledFlag(),"inter_layer_pred_enabled_flag"); 1182 if( pcSlice->getInterLayerPredEnabledFlag()) 1183 { 1184 if(pcSlice->getNumILRRefIdx() > 1) 1185 { 1186 if( !pcSlice->getVPS()->getMaxOneActiveRefLayerFlag()) 1187 { 1188 WRITE_UVLC(pcSlice->getNumInterLayerRefPics(),"num_inter_layer_ref_pics_minus1"); 1189 } 1190 for(Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ ) 1191 WRITE_UVLC(pcSlice->getInterLayerPredLayerIdc(i),"inter_layer_pred_layer_idc[i]"); 1192 } 1193 } 1194 } 1195 #endif 1199 1196 1200 if(pcSlice->getPPS()->getSliceHeaderExtensionPresentFlag()) 1197 1201 {
Note: See TracChangeset for help on using the changeset viewer.