Changeset 1446 in SHVCSoftware for branches/SHM-dev/source/App


Ignore:
Timestamp:
13 Aug 2015, 20:18:24 (9 years ago)
Author:
seregin
Message:

fix invocation of scalingListFileName

File:
1 edited

Legend:

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

    r1442 r1446  
    780780  Int*    cfg_layerSwitchOffEnd[MAX_LAYERS];
    781781  Int*    cfg_layerPTLIdx[MAX_VPS_LAYER_IDX_PLUS1];
    782   string  cfg_ScalingListFile[MAX_LAYERS];
     782  string* cfg_scalingListFileName[MAX_LAYERS];
    783783  ScalingListMode*   cfg_UseScalingListId[MAX_LAYERS];
    784784
     
    826826    cfg_numMotionPredRefLayers  [layer] = &m_apcLayerCfg[layer]->m_numMotionPredRefLayers;
    827827    cfg_motionPredRefLayerIdsPtr[layer] = &cfg_motionPredRefLayerIds[layer];
    828     cfg_numActiveRefLayers  [layer] = &m_apcLayerCfg[layer]->m_numActiveRefLayers;
    829     cfg_predLayerIdsPtr     [layer] = &cfg_predLayerIds[layer];
     828    cfg_numActiveRefLayers      [layer] = &m_apcLayerCfg[layer]->m_numActiveRefLayers;
     829    cfg_predLayerIdsPtr         [layer] = &cfg_predLayerIds[layer];
     830    cfg_scalingListFileName     [layer] = &m_apcLayerCfg[layer]->m_scalingListFileName;
    830831
    831832    cfg_numRefLayerLocationOffsets [layer] = &m_apcLayerCfg[layer]->m_numRefLayerLocationOffsets;
     
    13681369  ("WaveFrontSynchro%d",                              cfg_waveFrontSynchro,                   0,  m_numLayers, "0: no synchro; 1 synchro with TR; 2 TRR etc")
    13691370  ("ScalingList%d",                                   cfg_UseScalingListId,     SCALING_LIST_OFF, m_numLayers, "0/off: no scaling list, 1/default: default scaling lists, 2/file: scaling lists specified in ScalingListFile")
    1370   ("ScalingListFile%d",                               cfg_ScalingListFile,            string(""), m_numLayers, "Scaling list file name. Use an empty string to produce help.")
     1371  ("ScalingListFile%d",                               cfg_scalingListFileName,        string(""), m_numLayers, "Scaling list file name. Use an empty string to produce help.")
    13711372#else
    13721373  ("WaveFrontSynchro",                                m_iWaveFrontSynchro,                                  0, "0: no synchro; 1 synchro with top-right-right")
     
    18031804  for( Int layer = 0; layer < m_numLayers; layer++ )
    18041805  {
    1805     m_apcLayerCfg[layer]->m_scalingListFileName = cfg_ScalingListFile[layer].empty() ? NULL : strdup(cfg_ScalingListFile[layer].c_str());
    1806 
    18071806    if( m_apcLayerCfg[layer]->m_layerId < 0 )
    18081807    {
Note: See TracChangeset for help on using the changeset viewer.