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


Ignore:
Timestamp:
7 Jul 2015, 22:58:48 (10 years ago)
Author:
seregin
Message:

macro cleanup: FIX_LAYER_ID_INIT, SPS_PTL_FIX

Location:
branches/SHM-dev/source/App/TAppEncoder
Files:
2 edited

Legend:

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

    r1131 r1132  
    25022502#if OUTPUT_LAYER_SETS_CONFIG
    25032503    // Simplifying the code in the #else section
    2504 #if FIX_LAYER_ID_INIT
    25052504    assert( scanStringToArray( cfg_highestLayerIdx[addLayerSet], m_numHighestLayerIdx[addLayerSet], "HighestLayerIdx", m_highestLayerIdx[addLayerSet] ) );
    2506 #else
    2507     assert( scanStringToArray( cfg_layerSetLayerIdList[addLayerSet], m_numLayerInIdList[addLayerSet], "NumLayerInIdList",  m_highestLayerIdx[addLayerSet] ) );
    2508 #endif
    25092505#else
    25102506    if (m_numHighestLayerIdx[addLayerSet] > 0)
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1131 r1132  
    15421542  }
    15431543#endif
    1544 #if FIX_LAYER_ID_INIT
    15451544  // The Layer ID List variables should be derived here.
    15461545#if DERIVE_LAYER_ID_LIST_VARIABLES
    15471546  vps->deriveLayerIdListVariables();
    15481547#endif
    1549 #endif
    15501548#if Q0078_ADD_LAYER_SETS
    15511549  vps->setPredictedLayerIds();
    15521550  vps->setTreePartitionLayerIdList();
    1553 #if FIX_LAYER_ID_INIT
    15541551  vps->deriveLayerIdListVariablesForAddLayerSets();
    1555 #else
    1556   vps->setLayerIdIncludedFlagsForAddLayerSets();
    1557 #endif
    15581552#endif
    15591553#endif
     
    16141608#endif
    16151609#endif
    1616  #if VPS_DPB_SIZE_TABLE
    1617 #if !FIX_LAYER_ID_INIT  // must be derived earlier to not delete additional layer sets
    1618   // The Layer ID List variables can be derived here. 
    1619 #if DERIVE_LAYER_ID_LIST_VARIABLES
    1620   vps->deriveLayerIdListVariables();
    1621 #endif
    1622 #endif
     1610#if VPS_DPB_SIZE_TABLE
    16231611  vps->deriveNumberOfSubDpbs();
    16241612  vps->setOutputLayerFlag( 0, 0, 1 );
Note: See TracChangeset for help on using the changeset viewer.