Changeset 564 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp
- Timestamp:
- 27 Jan 2014, 17:54:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r563 r564 1148 1148 #endif 1149 1149 { 1150 #if JCTVC_M0458_INTERLAYER_RPS_SIG1151 1150 pcSlice->setActiveNumILRRefIdx(0); 1152 1151 pcSlice->setInterLayerPredEnabledFlag(0); 1153 #else 1154 pcSlice->setNumILRRefIdx(0); 1155 #endif 1156 } 1157 #if JCTVC_M0458_INTERLAYER_RPS_SIG 1152 } 1158 1153 if( pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP && pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA ) 1159 1154 { … … 1166 1161 pcSlice->setNumRefIdx(REF_PIC_LIST_1, pcSlice->getNumRefIdx(REF_PIC_LIST_1)+pcSlice->getActiveNumILRRefIdx()); 1167 1162 } 1168 #else1169 if( pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP && pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA )1170 {1171 pcSlice->setNumRefIdx(REF_PIC_LIST_0, pcSlice->getNumILRRefIdx());1172 pcSlice->setNumRefIdx(REF_PIC_LIST_1, pcSlice->getNumILRRefIdx());1173 }1174 else1175 {1176 pcSlice->setNumRefIdx(REF_PIC_LIST_0, pcSlice->getNumRefIdx(REF_PIC_LIST_0)+pcSlice->getNumILRRefIdx());1177 pcSlice->setNumRefIdx(REF_PIC_LIST_1, pcSlice->getNumRefIdx(REF_PIC_LIST_1)+pcSlice->getNumILRRefIdx());1178 }1179 #endif1180 1163 } 1181 1164 #endif //SVC_EXTENSION
Note: See TracChangeset for help on using the changeset viewer.