Changeset 845 in SHVCSoftware for branches/SHM-dev/source/App/TAppDecoder
- Timestamp:
- 28 Jul 2014, 21:49:13 (10 years ago)
- Location:
- branches/SHM-dev/source/App/TAppDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
r842 r845 1160 1160 pic->getPicYuvRec()->setBorderExtension( false ); 1161 1161 1162 #if RESOLUTION_BASED_DPB 1162 1163 dpbStatus.m_numPicsInLayer[layerIdx]--; 1164 #endif 1165 dpbStatus.m_numPicsInSubDpb[layerIdx]--; 1163 1166 } 1164 1167 } … … 1393 1396 maxDpbLimit.m_maxLatencyPictures = sps->getMaxLatencyIncrease( highestTId ) + sps->getNumReorderPics( highestTId ) - 1; 1394 1397 } 1398 #if RESOLUTION_BASED_DPB 1395 1399 maxDpbLimit.m_numPicsInLayer[0] = sps->getMaxDecPicBuffering( highestTId ); 1400 #endif 1396 1401 maxDpbLimit.m_numPicsInSubDpb[0] = sps->getMaxDecPicBuffering( highestTId ); 1397 1402 } … … 1541 1546 if( pic->getSlice(0)->isReferenced() || pic->getOutputMark() ) 1542 1547 { 1548 #if RESOLUTION_BASED_DPB 1543 1549 dpbStatus.m_numPicsInLayer[i]++; // Count pictures that are "used for reference" or "needed for output" 1550 #else 1551 dpbStatus.m_numPicsInSubDpb[i]++; // Count pictures that are "used for reference" or "needed for output" 1552 #endif 1544 1553 } 1545 1554 #if POC_RESET_IDC_DECODER … … 1566 1575 #if RESOLUTION_BASED_DPB 1567 1576 dpbStatus.m_numPicsInSubDpb[vps->getSubDpbAssigned(targetLsIdx,i)] += dpbStatus.m_numPicsInLayer[i]; 1568 #else1569 1577 dpbStatus.m_numPicsInSubDpb[i] += dpbStatus.m_numPicsInLayer[i]; 1570 1578 #endif -
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.h
r815 r845 135 135 Int m_numAUsNotDisplayed; 136 136 Int m_numPicsNotDisplayedInLayer[MAX_LAYERS]; 137 #if RESOLUTION_BASED_DPB 137 138 Int m_numPicsInLayer[MAX_LAYERS]; // Pictures marked as used_for_reference or needed for output in the layer 139 #endif 138 140 Int m_numPicsInSubDpb[MAX_LAYERS]; // Pictures marked as used_for_reference or needed for output in the sub-DPB 139 141 Bool m_maxLatencyIncrease; … … 152 154 m_maxLatencyIncrease = false; 153 155 m_maxLatencyPictures = 0; 156 #if RESOLUTION_BASED_DPB 154 157 ::memset( m_numPicsInLayer, 0, sizeof(m_numPicsInLayer) ); 158 #endif 155 159 ::memset( m_numPicsInSubDpb, 0, sizeof(m_numPicsInSubDpb) ); 156 160 ::memset(m_numPicsNotDisplayedInLayer, 0, sizeof(m_numPicsNotDisplayedInLayer) );
Note: See TracChangeset for help on using the changeset viewer.