Changeset 870 in SHVCSoftware


Ignore:
Timestamp:
14 Aug 2014, 00:08:31 (11 years ago)
Author:
seregin
Message:

fix compiler warning

Location:
branches/SHM-dev/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r869 r870  
    26082608}
    26092609#if DERIVE_LAYER_ID_LIST_VARIABLES
     2610#if NECESSARY_LAYER_FLAG
    26102611Void TComVPS::deriveLayerIdListVariables()
    26112612{
    26122613  // For layer 0
    2613 #if NECESSARY_LAYER_FLAG
    26142614  m_numLayerInIdList.push_back(1);
    26152615  m_layerSetLayerIdList.resize(m_numLayerSets);
    26162616  m_layerSetLayerIdList[0].push_back(0);
    2617 #else
     2617 
     2618  // For other layers
     2619  for( Int i = 1; i < m_numLayerSets; i++ )
     2620  {
     2621    for( Int m = 0; m <= m_maxLayerId; m++)
     2622    {
     2623      if( m_layerIdIncludedFlag[i][m] )
     2624      {
     2625        m_layerSetLayerIdList[i].push_back(m);
     2626      }
     2627    }
     2628    m_numLayerInIdList.push_back(m_layerSetLayerIdList[i].size());
     2629  }
     2630}
     2631#else
     2632Void TComVPS::deriveLayerIdListVariables()
     2633{
     2634  // For layer 0
    26182635  m_numLayerInIdList[0] = 1;
    26192636  m_layerSetLayerIdList[0][0] = 0;
    2620 #endif
    26212637 
    26222638  // For other layers
     
    26292645      if( m_layerIdIncludedFlag[i][m] )
    26302646      {
    2631 #if NECESSARY_LAYER_FLAG
    2632         m_layerSetLayerIdList[i].push_back(m);
    2633 #else
    26342647        m_layerSetLayerIdList[i][n++] = m;
    2635 #endif
    2636       }
    2637     }
    2638 #if NECESSARY_LAYER_FLAG
    2639     m_numLayerInIdList.push_back(m_layerSetLayerIdList[i].size());
    2640 #else
     2648      }
     2649    }
    26412650    m_numLayerInIdList[i] = n;
    2642 #endif
    2643   }
    2644 }
     2651  }
     2652}
     2653#endif
    26452654#endif
    26462655#if !RESOLUTION_BASED_DPB
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r869 r870  
    5656#if PTL_SIGNALLING
    5757#define LIST_OF_PTL                      1      ///< JCTVC-R0272: Signalling the PTL for the 0-th OLS
    58 #define NECESSARY_LAYER_FLAG                   1      ////< Derivation of NecessaryLayerFlag
     58#define NECESSARY_LAYER_FLAG             1      ////< Derivation of NecessaryLayerFlag
    5959#define PER_LAYER_PTL                    1      ///< Signal profile-tier-level information for each layer.
    6060#endif
Note: See TracChangeset for help on using the changeset viewer.