Changeset 732 in SHVCSoftware for branches/SHM-6-dev/source/App/TAppDecoder/TAppDecTop.cpp
- Timestamp:
- 24 Apr 2014, 02:16:43 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/App/TAppDecoder/TAppDecTop.cpp
r711 r732 1292 1292 { 1293 1293 targetLsIdx = vps->getOutputLayerSetIdx( getCommonDecoderParams()->getTargetOutputLayerSetIdx() ); 1294 #if RESOLUTION_BASED_DPB 1294 1295 subDpbIdx = vps->getSubDpbAssigned( targetLsIdx, layerIdx ); 1296 #else 1297 subDpbIdx = layerIdx; 1298 #endif 1295 1299 } 1296 1300 // Assume that listOfPocs is sorted in increasing order - if not have to sort it. … … 1437 1441 for(Int i = 0; i < vps->getNumLayersInIdList( targetLsIdx ); i++) 1438 1442 { 1443 #if RESOUTION_BASED_DPB 1439 1444 maxDpbLimit.m_numPicsInLayer[i] = vps->getMaxVpsLayerDecPicBuffMinus1( targetOutputLsIdx, i, highestTId ) + 1; 1440 1445 maxDpbLimit.m_numPicsInSubDpb[vps->getSubDpbAssigned( targetLsIdx, i )] = vps->getMaxVpsDecPicBufferingMinus1( targetOutputLsIdx, vps->getSubDpbAssigned( targetLsIdx, i ), highestTId) + 1; 1446 #else 1447 maxDpbLimit.m_numPicsInSubDpb[i] = vps->getMaxVpsDecPicBufferingMinus1( targetOutputLsIdx, i, highestTId) + 1; 1448 #endif 1441 1449 } 1442 1450 // ------------------------------------- … … 1472 1480 retVal |= ( dpbStatus.m_numPicsInSubDpb[subDpbIdx] >= dpbLimit.m_numPicsInSubDpb[subDpbIdx] ); 1473 1481 1482 #if RESOLUTION_BASED_DPB 1474 1483 // Number of pictures in each layer 1475 1484 retVal |= ( dpbStatus.m_numPicsInLayer[layerIdx] >= dpbLimit.m_numPicsInLayer[layerIdx]); 1485 #endif 1476 1486 1477 1487 return retVal; … … 1550 1560 { 1551 1561 dpbStatus.m_numPicsNotDisplayedInLayer[i] = listOfPocsInEachLayer[i].size(); 1562 #if RESOLUTION_BASED_DPB 1552 1563 dpbStatus.m_numPicsInSubDpb[vps->getSubDpbAssigned(targetLsIdx,i)] += dpbStatus.m_numPicsInLayer[i]; 1564 #else 1565 dpbStatus.m_numPicsInSubDpb[i] += dpbStatus.m_numPicsInLayer[i]; 1566 #endif 1553 1567 } 1554 1568 assert( dpbStatus.m_numAUsNotDisplayed != -1 );
Note: See TracChangeset for help on using the changeset viewer.