Changeset 1152 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
8 Jul 2015, 00:24:37 (11 years ago)
Author:
seregin
Message:

macro cleanup: VPS_TSLAYERS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1151 r1152  
    28232823  }
    28242824#endif
    2825 #if VPS_TSLAYERS
     2825
    28262826  READ_FLAG( uiCode, "vps_sub_layers_max_minus1_present_flag"); vps->setMaxTSLayersPresentFlag(uiCode ? true : false);
    28272827
     
    28402840    }
    28412841  }
    2842 #endif
     2842
    28432843  READ_FLAG( uiCode, "max_tid_ref_present_flag"); vps->setMaxTidRefPresentFlag(uiCode ? true : false);
    2844   if (vps->getMaxTidRefPresentFlag())
    2845   {
    2846     for(i = 0; i < vps->getMaxLayers() - 1; i++)
    2847     {
    2848       for( j = i+1; j < vps->getMaxLayers(); j++)
    2849       {
    2850         if(vps->getDirectDependencyFlag(j, i))
     2844  if( vps->getMaxTidRefPresentFlag() )
     2845  {
     2846    for( i = 0; i < vps->getMaxLayers() - 1; i++ )
     2847    {
     2848      for( j = i+1; j < vps->getMaxLayers(); j++ )
     2849      {
     2850        if( vps->getDirectDependencyFlag(j, i) )
    28512851        {
    28522852          READ_CODE( 3, uiCode, "max_tid_il_ref_pics_plus1[i][j]" ); vps->setMaxTidIlRefPicsPlus1(i, j, uiCode);         
Note: See TracChangeset for help on using the changeset viewer.