Changeset 1085 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 26 Mar 2015, 04:33:14 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1073 r1085 2251 2251 for( i = 0; i < vps->getMaxLayers() - 1; i++) 2252 2252 { 2253 #if O0225_MAX_TID_FOR_REF_LAYERS2254 2253 for( j = i+1; j <= vps->getMaxLayers() - 1; j++) 2255 2254 { … … 2259 2258 } 2260 2259 } 2261 #else2262 WRITE_CODE(vps->getMaxTidIlRefPicsPlus1(i), 3, "max_tid_il_ref_pics_plus1[i]" );2263 #endif2264 2260 } 2265 2261 } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1084 r1085 1323 1323 1324 1324 // Apply temporal layer restriction to inter-layer prediction 1325 #if O0225_MAX_TID_FOR_REF_LAYERS 1326 Int maxTidIlRefPicsPlus1 = m_pcEncTop->getVPS()->getMaxTidIlRefPicsPlus1(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getLayerId(),m_layerId); 1327 #else 1328 Int maxTidIlRefPicsPlus1 = m_pcEncTop->getVPS()->getMaxTidIlRefPicsPlus1(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getLayerId()); 1329 #endif 1325 Int maxTidIlRefPicsPlus1 = m_pcEncTop->getVPS()->getMaxTidIlRefPicsPlus1(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getLayerIdx(), pcSlice->getLayerIdx()); 1330 1326 if( ((Int)(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getTLayer())<=maxTidIlRefPicsPlus1-1) || (maxTidIlRefPicsPlus1==0 && pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getRapPicFlag()) ) 1331 1327 {
Note: See TracChangeset for help on using the changeset viewer.