Changeset 479 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibDecoder
- Timestamp:
- 15 Nov 2013, 22:47:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r478 r479 1257 1257 vps->setMaxOneActiveRefLayerFlag(uiCode); 1258 1258 #endif 1259 #if O0062_POC_LSB_NOT_PRESENT_FLAG 1260 for(i = 1; i< vps->getMaxLayers(); i++) 1261 { 1262 if( vps->getNumDirectRefLayers( vps->getLayerIdInNuh(i) ) == 0 ) 1263 { 1264 READ_FLAG(uiCode, "poc_lsb_not_present_flag[i]"); 1265 vps->setPocLsbNotPresentFlag(i, uiCode); 1266 } 1267 } 1268 #endif 1259 1269 #if O0215_PHASE_ALIGNMENT 1260 READ_FLAG( uiCode, " phase_align_flag"); vps->setPhaseAlignFlag( uiCode == 1 ? true : false );1270 READ_FLAG( uiCode, "cross_layer_phase_alignment_flag"); vps->setPhaseAlignFlag( uiCode == 1 ? true : false ); 1261 1271 #endif 1262 1272 … … 1554 1564 Int iPOClsb = 0; 1555 1565 #endif 1566 #if O0062_POC_LSB_NOT_PRESENT_FLAG 1567 if( ( rpcSlice->getLayerId() > 0 && !rpcSlice->getVPS()->getPocLsbNotPresentFlag( rpcSlice->getVPS()->getLayerIdInVps(rpcSlice->getLayerId())) ) || !rpcSlice->getIdrPicFlag()) 1568 #else 1556 1569 if( rpcSlice->getLayerId() > 0 || !rpcSlice->getIdrPicFlag() ) 1570 #endif 1557 1571 #else 1558 1572 else
Note: See TracChangeset for help on using the changeset viewer.