- Timestamp:
- 25 Apr 2014, 18:23:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/App/TAppDecoder/TAppDecTop.cpp
r732 r743 1282 1282 // Find DPB-information from the VPS 1283 1283 DpbStatus maxDpbLimit; 1284 #if RESOLUTION_BASED_DPB 1284 1285 Int targetLsIdx, subDpbIdx; 1285 1286 TComVPS *vps = findDpbParametersFromVps(listOfPocs, listOfPocsInEachLayer, listOfPocsPositionInEachLayer, maxDpbLimit); 1287 1286 1288 if( getCommonDecoderParams()->getTargetOutputLayerSetIdx() == 0 ) 1287 1289 { … … 1292 1294 { 1293 1295 targetLsIdx = vps->getOutputLayerSetIdx( getCommonDecoderParams()->getTargetOutputLayerSetIdx() ); 1294 #if RESOLUTION_BASED_DPB1295 1296 subDpbIdx = vps->getSubDpbAssigned( targetLsIdx, layerIdx ); 1296 #else 1297 subDpbIdx = layerIdx; 1298 #endif 1299 } 1297 } 1298 #else 1299 Int subDpbIdx = getCommonDecoderParams()->getTargetOutputLayerSetIdx() == 0 ? 0 : layerIdx; 1300 TComVPS *vps = findDpbParametersFromVps(listOfPocs, listOfPocsInEachLayer, listOfPocsPositionInEachLayer, maxDpbLimit); 1301 #endif 1300 1302 // Assume that listOfPocs is sorted in increasing order - if not have to sort it. 1301 1303 while( ifInvokeBumpingBeforeDecoding(dpbStatus, maxDpbLimit, layerIdx, subDpbIdx) )
Note: See TracChangeset for help on using the changeset viewer.