Ignore:
Timestamp:
21 Jan 2014, 18:57:33 (11 years ago)
Author:
seregin
Message:

rename num_ilp_restricted_ref_layers to ilp_restricted_ref_layers_flag

File:
1 edited

Legend:

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

    r550 r551  
    21232123  {
    21242124#if O0225_MAX_TID_FOR_REF_LAYERS
    2125   for( Int j = 0; j < MAX_VPS_LAYER_ID_PLUS1; j++)
    2126   {
    2127     m_maxTidIlRefPicsPlus1[i][j] = m_uiMaxTLayers + 1;
    2128   }
     2125    for( Int j = 0; j < MAX_VPS_LAYER_ID_PLUS1; j++)
     2126    {
     2127      m_maxTidIlRefPicsPlus1[i][j] = m_uiMaxTLayers + 1;
     2128    }
    21292129#else
    21302130    m_maxTidIlRefPicsPlus1[i] = m_uiMaxTLayers + 1;
     
    21332133#endif
    21342134#if VPS_VUI_TILES_NOT_IN_USE__FLAG
    2135    m_tilesNotInUseFlag = true;
    2136    ::memset(m_tilesInUseFlag,  0, sizeof(m_tilesInUseFlag));
    2137    ::memset(m_loopFilterNotAcrossTilesFlag,  0, sizeof(m_loopFilterNotAcrossTilesFlag));
     2135  m_tilesNotInUseFlag = true;
     2136  ::memset(m_tilesInUseFlag,  0, sizeof(m_tilesInUseFlag));
     2137  ::memset(m_loopFilterNotAcrossTilesFlag,  0, sizeof(m_loopFilterNotAcrossTilesFlag));
    21382138#endif
    21392139#if TILE_BOUNDARY_ALIGNED_FLAG
    2140    ::memset(m_tileBoundariesAlignedFlag,  0, sizeof(m_tileBoundariesAlignedFlag));
     2140  ::memset(m_tileBoundariesAlignedFlag,  0, sizeof(m_tileBoundariesAlignedFlag));
    21412141#endif
    21422142#if VPS_VUI_WPP_NOT_IN_USE__FLAG
    2143    m_wppNotInUseFlag = true;
    2144    ::memset(m_wppInUseFlag,  0, sizeof(m_wppInUseFlag));
     2143  m_wppNotInUseFlag = true;
     2144  ::memset(m_wppInUseFlag,  0, sizeof(m_wppInUseFlag));
    21452145#endif
    21462146#if N0160_VUI_EXT_ILP_REF
    2147    m_numIlpRestrictedRefLayers = false;
    2148    ::memset(m_minSpatialSegmentOffsetPlus1,  0, sizeof(m_minSpatialSegmentOffsetPlus1));
    2149    ::memset(m_ctuBasedOffsetEnabledFlag,     0, sizeof(m_ctuBasedOffsetEnabledFlag));
    2150    ::memset(m_minHorizontalCtuOffsetPlus1,   0, sizeof(m_minHorizontalCtuOffsetPlus1));
     2147  m_ilpRestrictedRefLayersFlag = false;
     2148  ::memset(m_minSpatialSegmentOffsetPlus1,  0, sizeof(m_minSpatialSegmentOffsetPlus1));
     2149  ::memset(m_ctuBasedOffsetEnabledFlag,     0, sizeof(m_ctuBasedOffsetEnabledFlag));
     2150  ::memset(m_minHorizontalCtuOffsetPlus1,   0, sizeof(m_minHorizontalCtuOffsetPlus1));
    21512151#endif
    21522152#if VPS_VUI_VIDEO_SIGNAL
    2153     m_vidSigPresentVpsFlag=true;
    2154     m_vpsVidSigInfo=1;
    2155     ::memset( m_vpsVidSigIdx, 0, sizeof(m_vpsVidSigIdx) );
    2156     m_vpsVidSigIdx[0]=0;
    2157     for (Int i=0; i < 16; i++)
    2158     {
    2159       m_vpsVidFormat[i] = 5;
    2160       m_vpsFullRangeFlag[i] = false;
    2161       m_vpsColorPrimaries[i] = 2;
    2162       m_vpsTransChar[i] = 2;
    2163       m_vpsMatCoeff[i] = 2;
    2164     }
     2153  m_vidSigPresentVpsFlag=true;
     2154  m_vpsVidSigInfo=1;
     2155  ::memset( m_vpsVidSigIdx, 0, sizeof(m_vpsVidSigIdx) );
     2156  m_vpsVidSigIdx[0]=0;
     2157  for (Int i=0; i < 16; i++)
     2158  {
     2159    m_vpsVidFormat[i] = 5;
     2160    m_vpsFullRangeFlag[i] = false;
     2161    m_vpsColorPrimaries[i] = 2;
     2162    m_vpsTransChar[i] = 2;
     2163    m_vpsMatCoeff[i] = 2;
     2164  }
    21652165#endif
    21662166#if VPS_VUI_BITRATE_PICRATE 
Note: See TracChangeset for help on using the changeset viewer.