Changeset 757 in SHVCSoftware
- Timestamp:
- 29 Apr 2014, 23:58:16 (11 years ago)
- Location:
- branches/SHM-6-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r756 r757 216 216 #define IRAP_ALIGN_FLAG_IN_VPS_VUI 1 ///< Move IRAP align flag to VPS VUI 217 217 #endif 218 #if !N0147_IRAP_ALIGN_FLAG219 #define IDR_ALIGNMENT 1 ///< align IDR picures across layers : As per JCTVC-N0373, IDR are not required to be aligned.220 #endif221 218 #define FAST_INTRA_SHVC 1 ///< JCTVC-M0115: reduction number of intra modes in the EL (encoder only) 222 219 #if FAST_INTRA_SHVC -
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.