Changeset 635 in SHVCSoftware for branches/SHM-5.1-dev/source/App


Ignore:
Timestamp:
17 Mar 2014, 22:45:53 (11 years ago)
Author:
seregin
Message:

fix compiler warnings, reported by J. Chen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.1-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r633 r635  
    13631363  for( UInt layerId = 1; layerId < m_numLayers; layerId++ )
    13641364  {
    1365     for(Int i = 0; i < m_acLayerCfg[layerId].m_numScaledRefLayerOffsets; i++)
     1365    for( i = 0; i < m_acLayerCfg[layerId].m_numScaledRefLayerOffsets; i++ )
    13661366    {
    13671367      if( m_acTEncTop[layerId].getVertPhasePositionEnableFlag(i) )
     
    13831383    vps->setVpsNumBspHrdParametersMinus1(vps->getNumLayerSets() - 2);
    13841384    vps->createBspHrdParamBuffer(vps->getVpsNumBspHrdParametersMinus1() + 1);
    1385     for (UInt i = 0; i <= vps->getVpsNumBspHrdParametersMinus1(); i++)
     1385    for ( i = 0; i <= vps->getVpsNumBspHrdParametersMinus1(); i++ )
    13861386    {
    13871387      vps->setBspCprmsPresentFlag(i, true);
     
    13921392      Int iPicWidth         = pcCfgLayer->getSourceWidth();
    13931393      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;
    13981394      UInt uiWidthInCU       = ( iPicWidth %m_uiMaxCUWidth  ) ? iPicWidth /m_uiMaxCUWidth  + 1 : iPicWidth /m_uiMaxCUWidth;
    13991395      UInt uiHeightInCU      = ( iPicHeight%m_uiMaxCUHeight ) ? iPicHeight/m_uiMaxCUHeight + 1 : iPicHeight/m_uiMaxCUHeight;
     
    14091405      vps->setBspHrdParameters( i, pcCfgLayer->getFrameRate(), numDU, pcCfgLayer->getTargetBitrate(), ( pcCfgLayer->getIntraPeriod() > 0 ) );
    14101406    }
    1411     for (UInt h = 1; h <= (vps->getNumLayerSets()-1); h++)
     1407    for(UInt h = 1; h <= (vps->getNumLayerSets()-1); h++)
    14121408    {
    14131409      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++ )
    14171413        {
    14181414          if (vps->getLayerIdIncludedFlag(h, j) && h == j)
     
    14231419      }
    14241420      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++ )
    14281424        {
    14291425          vps->setBspCombHrdIdx(h, i, j, 0);
Note: See TracChangeset for help on using the changeset viewer.