Changeset 872 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder


Ignore:
Timestamp:
18 Aug 2014, 22:31:55 (10 years ago)
Author:
qualcomm
Message:

Move calculation of MaxSubLayerInLayerSets to a separate function (Macro: SUB_LAYERS_IN_LAYER_SET)

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

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

    r869 r872  
    13061306#endif
    13071307#if VPS_TSLAYERS
    1308     vps->setMaxTSLayersPresentFlag(true);
    1309 
    1310     for( i = 0; i < vps->getMaxLayers(); i++ )
    1311     {
    1312       vps->setMaxTSLayersMinus1(i, vps->getMaxTLayers()-1);
    1313     }
     1308  vps->setMaxTSLayersPresentFlag(true);
     1309
     1310  for( i = 0; i < vps->getMaxLayers(); i++ )
     1311  {
     1312    vps->setMaxTSLayersMinus1(i, vps->getMaxTLayers()-1);
     1313  }
    13141314#endif
    13151315  vps->setMaxTidRefPresentFlag(m_maxTidRefPresentFlag);
     
    15861586    }
    15871587  }
     1588#endif
     1589#if SUB_LAYERS_IN_LAYER_SET
     1590  vps->calculateMaxSLInLayerSets();
    15881591#endif
    15891592  // Initialize dpb_size_table() for all ouput layer sets in the VPS extension
Note: See TracChangeset for help on using the changeset viewer.