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


Ignore:
Timestamp:
17 Oct 2014, 14:27:44 (10 years ago)
Author:
nokia
Message:

Fix layer sets layer id list initialization.

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

Legend:

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

    r877 r908  
    17801780#if OUTPUT_LAYER_SETS_CONFIG
    17811781    // Simplifying the code in the #else section
     1782#if FIX_LAYER_ID_INIT
     1783    assert( scanStringToArray( cfg_highestLayerIdx[addLayerSet], m_numHighestLayerIdx[addLayerSet], "HighestLayerIdx", m_highestLayerIdx[addLayerSet] ) );
     1784#else
    17821785    assert( scanStringToArray( cfg_layerSetLayerIdList[addLayerSet], m_numLayerInIdList[addLayerSet], "NumLayerInIdList",  m_highestLayerIdx[addLayerSet] ) );
     1786#endif
    17831787#else
    17841788    if (m_numHighestLayerIdx[addLayerSet] > 0)
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r903 r908  
    14581458  }
    14591459#endif
     1460#if FIX_LAYER_ID_INIT
     1461  // The Layer ID List variables should be derived here.
     1462#if DERIVE_LAYER_ID_LIST_VARIABLES
     1463  vps->deriveLayerIdListVariables();
     1464#endif
     1465#endif
    14601466#if Q0078_ADD_LAYER_SETS
    14611467  vps->setPredictedLayerIds();
    14621468  vps->setTreePartitionLayerIdList();
     1469#if FIX_LAYER_ID_INIT
     1470  vps->deriveLayerIdListVariablesForAddLayerSets();
     1471#else
    14631472  vps->setLayerIdIncludedFlagsForAddLayerSets();
     1473#endif
    14641474#endif
    14651475#endif
     
    15191529#endif
    15201530 #if VPS_DPB_SIZE_TABLE
     1531#if !FIX_LAYER_ID_INIT  // must be derived earlier to not delete additional layer sets
    15211532  // The Layer ID List variables can be derived here. 
    15221533#if DERIVE_LAYER_ID_LIST_VARIABLES
    15231534  vps->deriveLayerIdListVariables();
     1535#endif
    15241536#endif
    15251537#if RESOLUTION_BASED_DPB
Note: See TracChangeset for help on using the changeset viewer.