Changeset 533 in SHVCSoftware
- Timestamp:
- 2 Jan 2014, 07:28:26 (11 years ago)
- Location:
- branches/SHM-4.1-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.1-dev/source/Lib/TLibCommon/TComSlice.cpp
r532 r533 277 277 } 278 278 iterPic++; 279 #if SVC_EXTENSION 280 // return NULL, if picture with requested POC is not in the list, otherwise iterator goes outside of the list 281 if( iterPic == rcListPic.end() ) 282 { 283 return NULL; 284 } 285 #endif 279 286 pcPic = *(iterPic); 280 287 } … … 3237 3244 { 3238 3245 memset( m_pcBaseColPic, 0, sizeof( m_pcBaseColPic ) ); 3239 return ;3246 return false; 3240 3247 } 3241 3248 #if POC_RESET_FLAG -
branches/SHM-4.1-dev/source/Lib/TLibCommon/TComSlice.h
r532 r533 2113 2113 2114 2114 #if SVC_EXTENSION 2115 VoidsetBaseColPic ( TComList<TComPic*>& rcListPic , UInt refLayerIdc );2115 Bool setBaseColPic ( TComList<TComPic*>& rcListPic , UInt refLayerIdc ); 2116 2116 Void setBaseColPic (UInt refLayerIdc, TComPic* p) { m_pcBaseColPic[refLayerIdc] = p; } 2117 2117 TComPic* getBaseColPic (UInt refLayerIdc) { return m_pcBaseColPic[refLayerIdc]; } -
branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r532 r533 1309 1309 #if AVC_BASE 1310 1310 if( pcSlice->getVPS()->getRefLayerId( m_layerId, refLayerIdc ) == 0 && m_parameterSetManagerDecoder.getActiveVPS()->getAvcBaseLayerFlag() ) 1311 { 1312 pcSlice->setBaseColPic ( refLayerIdc, *m_ppcTDecTop[0]->getListPic()->begin() ); 1311 { 1312 TComPic* pic = *m_ppcTDecTop[0]->getListPic()->begin(); 1313 1314 if( pic ) 1315 { 1316 pcSlice->setBaseColPic ( refLayerIdc, pic ); 1317 } 1318 else 1319 { 1320 continue; 1321 } 1313 1322 #if AVC_SYNTAX 1314 1323 TComPic* pBLPic = pcSlice->getBaseColPic(refLayerIdc); … … 1332 1341 #endif 1333 1342 TComList<TComPic*> *cListPic = pcTDecTop->getListPic(); 1334 pcSlice->setBaseColPic ( *cListPic, refLayerIdc ); 1343 if( !pcSlice->setBaseColPic ( *cListPic, refLayerIdc ) ) 1344 { 1345 continue; 1346 } 1335 1347 } 1336 1348 #else
Note: See TracChangeset for help on using the changeset viewer.