Ignore:
Timestamp:
28 Mar 2014, 01:43:58 (10 years ago)
Author:
tech
Message:

Cleanups part 8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.1-dev0/source/Lib/TLibCommon/TComSlice.cpp

    r882 r883  
    21662166}
    21672167
     2168Int TComVPS::getMaxSubLayersInLayerSetMinus1( Int i )
     2169{
     2170  Int maxSLMinus1 = 0;
     2171  Int optLsIdx    = getLayerSetIdxForOutputLayerSet( i );
     2172  for( Int k = 0; k < getNumLayersInIdList( optLsIdx ); k++ )
     2173  {
     2174    Int lId = m_layerSetLayerIdList[optLsIdx][k];
     2175    maxSLMinus1 = std::max( maxSLMinus1, getSubLayersVpsMaxMinus1( getLayerIdInVps( lId ) ));
     2176  }
     2177  return maxSLMinus1;
     2178}
     2179
    21682180#endif // H_MV
    21692181
     
    38323844}
    38333845
     3846Void TComVPSVUI::inferVpsVui( Bool encoderFlag )
     3847{
     3848  // inference of syntax elements that differ from default inference (as done in constructor), when VPS VUI is not present
     3849  if (!encoderFlag )
     3850  {
     3851    setCrossLayerIrapAlignedFlag( false );
     3852  }
     3853  else
     3854  {
     3855    assert( !getCrossLayerIrapAlignedFlag() );
     3856  }
     3857}
     3858
    38343859Void TComRepFormat::inferChromaAndBitDepth( TComRepFormat* prevRepFormat, Bool encoderFlag )
    38353860{
     
    38963921  setMatrixCoefficients     ( videoSignalInfo->getMatrixCoeffsVps           () );
    38973922}
    3898 #endif
     3923
     3924TComDpbSize::TComDpbSize()
     3925{
     3926  for (Int i = 0; i < MAX_VPS_OUTPUTLAYER_SETS; i++ )
     3927  {     
     3928    m_subLayerFlagInfoPresentFlag[i]  = false;
     3929
     3930    for (Int j = 0; j < MAX_TLAYER; j++  )
     3931    {       
     3932      m_subLayerDpbInfoPresentFlag [i][j] = ( j == 0) ;
     3933      m_maxVpsNumReorderPics       [i][j] = 0;
     3934      m_maxVpsLatencyIncreasePlus1 [i][j] = 0;
     3935
     3936      for (Int k = 0; k < MAX_NUM_LAYER_IDS; k++ )
     3937      {
     3938        m_maxVpsDecPicBufferingMinus1[i][k][j] = 0;
     3939      }
     3940    }
     3941  }
     3942}
     3943#endif
Note: See TracChangeset for help on using the changeset viewer.