Changeset 635 in SHVCSoftware for branches/SHM-5.1-dev/source/App
- Timestamp:
- 17 Mar 2014, 22:45:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/App/TAppEncoder/TAppEncTop.cpp
r633 r635 1363 1363 for( UInt layerId = 1; layerId < m_numLayers; layerId++ ) 1364 1364 { 1365 for( Int i = 0; i < m_acLayerCfg[layerId].m_numScaledRefLayerOffsets; i++)1365 for( i = 0; i < m_acLayerCfg[layerId].m_numScaledRefLayerOffsets; i++ ) 1366 1366 { 1367 1367 if( m_acTEncTop[layerId].getVertPhasePositionEnableFlag(i) ) … … 1383 1383 vps->setVpsNumBspHrdParametersMinus1(vps->getNumLayerSets() - 2); 1384 1384 vps->createBspHrdParamBuffer(vps->getVpsNumBspHrdParametersMinus1() + 1); 1385 for ( UInt i = 0; i <= vps->getVpsNumBspHrdParametersMinus1(); i++)1385 for ( i = 0; i <= vps->getVpsNumBspHrdParametersMinus1(); i++ ) 1386 1386 { 1387 1387 vps->setBspCprmsPresentFlag(i, true); … … 1392 1392 Int iPicWidth = pcCfgLayer->getSourceWidth(); 1393 1393 Int iPicHeight = pcCfgLayer->getSourceHeight(); 1394 UInt uhTotalDepth = m_uiMaxCUDepth;1395 UInt uiNumPartitions = 1<<(uhTotalDepth<<1);1396 UInt uiMinCUWidth = m_uiMaxCUWidth >> uhTotalDepth;1397 UInt uiMinCUHeight = m_uiMaxCUHeight >> uhTotalDepth;1398 1394 UInt uiWidthInCU = ( iPicWidth %m_uiMaxCUWidth ) ? iPicWidth /m_uiMaxCUWidth + 1 : iPicWidth /m_uiMaxCUWidth; 1399 1395 UInt uiHeightInCU = ( iPicHeight%m_uiMaxCUHeight ) ? iPicHeight/m_uiMaxCUHeight + 1 : iPicHeight/m_uiMaxCUHeight; … … 1409 1405 vps->setBspHrdParameters( i, pcCfgLayer->getFrameRate(), numDU, pcCfgLayer->getTargetBitrate(), ( pcCfgLayer->getIntraPeriod() > 0 ) ); 1410 1406 } 1411 for 1407 for(UInt h = 1; h <= (vps->getNumLayerSets()-1); h++) 1412 1408 { 1413 1409 vps->setNumBitstreamPartitions(h, 1); 1414 for (UInt i = 0; i < vps->getNumBitstreamPartitions(h); i++)1415 { 1416 for (UInt j = 0; j <= (vps->getMaxLayers()-1); j++)1410 for( i = 0; i < vps->getNumBitstreamPartitions(h); i++ ) 1411 { 1412 for( UInt j = 0; j <= (vps->getMaxLayers()-1); j++ ) 1417 1413 { 1418 1414 if (vps->getLayerIdIncludedFlag(h, j) && h == j) … … 1423 1419 } 1424 1420 vps->setNumBspSchedCombinations(h, 1); 1425 for (UInt i = 0; i < vps->getNumBspSchedCombinations(h); i++)1426 { 1427 for (UInt j = 0; j < vps->getNumBitstreamPartitions(h); j++)1421 for( i = 0; i < vps->getNumBspSchedCombinations(h); i++ ) 1422 { 1423 for( UInt j = 0; j < vps->getNumBitstreamPartitions(h); j++ ) 1428 1424 { 1429 1425 vps->setBspCombHrdIdx(h, i, j, 0);
Note: See TracChangeset for help on using the changeset viewer.