Changeset 757 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibEncoder
- Timestamp:
- 29 Apr 2014, 23:58:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r754 r757 1177 1177 #endif 1178 1178 pcSlice->setNalUnitType(NAL_UNIT_CODED_SLICE_CRA); 1179 1180 #if IDR_ALIGNMENT1181 TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId]->getRefLayerEnc(0)->getListPic();1182 TComPic* picLayer0 = pcSlice->getRefPic(*cListPic, pcSlice->getPOC() );1183 if( picLayer0->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_W_RADL || picLayer0->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP )1184 {1185 pcSlice->setNalUnitType(picLayer0->getSlice(0)->getNalUnitType());1186 }1187 else1188 {1189 pcSlice->setNalUnitType(NAL_UNIT_CODED_SLICE_CRA);1190 }1191 #endif1192 1179 } 1193 1180
Note: See TracChangeset for help on using the changeset viewer.