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


Ignore:
Timestamp:
15 Aug 2013, 14:59:46 (12 years ago)
Author:
etri
Message:

N0120 max_tid_il_ref_pics_plus1_present_flag

File:
1 edited

Legend:

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

    r328 r337  
    951951#endif
    952952#if JCTVC_M0203_INTERLAYER_PRED_IDC
     953#if N0120_MAX_TID_REF_PRESENT_FLAG
     954  READ_FLAG( uiCode, "max_tid_il_ref_pics_plus1_present_flag"); vps->setMaxTidIlRefPicsPlus1PresentFlag(uiCode ? true : false);
     955  if (vps->getMaxTidIlRefPicsPlus1PresentFlag())
     956  {
     957    for(i = 0; i < vps->getMaxLayers() - 1; i++)
     958    {
     959      READ_CODE( 3, uiCode, "max_sublayer_for_ilp_plus1[i]" ); vps->setMaxSublayerForIlpPlus1(i, uiCode);
     960      assert( uiCode <= vps->getMaxTLayers() );
     961    }
     962  }
     963  else
     964  {
     965    for(i = 0; i < vps->getMaxLayers() - 1; i++)
     966    {
     967      vps->setMaxSublayerForIlpPlus1(i, 7);
     968    }
     969  }
     970#else
    953971  for(i = 0; i < vps->getMaxLayers() - 1; i++)
    954972  {
     
    956974    assert( uiCode <= vps->getMaxTLayers() );
    957975  }
     976#endif
    958977#endif
    959978#if ILP_SSH_SIG
Note: See TracChangeset for help on using the changeset viewer.