Ignore:
Timestamp:
17 Sep 2013, 18:53:51 (11 years ago)
Author:
seregin
Message:

set max_tid_il_ref_pics_plus1 and max_tid_ref_present_flag in the config file (configuration setting). Patch provided by Hahyun Lee <hanilee@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.1-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r395 r397  
    195195    m_acTEncTop[layer].setMaxTempLayer                 ( m_maxTempLayer );
    196196    m_acTEncTop[layer].setUseAMP( m_enableAMP );
     197#if N0120_MAX_TID_REF_CFG
     198    if (layer<m_numLayers-1)
     199    {
     200       m_acTEncTop[layer].setMaxTidIlRefPicsPlus1 ( m_acLayerCfg[layer].getMaxTidIlRefPicsPlus1());
     201    }
     202#endif
    197203#if VPS_EXTN_DIRECT_REF_LAYERS
    198204    if(layer)
     
    925931#endif
    926932#if N0120_MAX_TID_REF_PRESENT_FLAG
     933#if N0120_MAX_TID_REF_CFG
     934  vps->setMaxTidIlRefPicsPlus1PresentFlag(m_maxTidIlRefPicsPlus1PresentFlag);
     935#else
    927936  vps->setMaxTidIlRefPicsPlus1PresentFlag(true);
     937#endif
    928938  if (vps->getMaxTidIlRefPicsPlus1PresentFlag())
    929939  {
    930940    for( i = 0; i < MAX_VPS_LAYER_ID_PLUS1 - 1; i++ )
    931941    {
     942#if N0120_MAX_TID_REF_CFG
     943      vps->setMaxSublayerForIlpPlus1(i, m_acTEncTop[i].getMaxTidIlRefPicsPlus1());
     944#else
    932945      vps->setMaxSublayerForIlpPlus1(i, vps->getMaxTLayers()+1);
     946#endif
    933947    }
    934948  }
Note: See TracChangeset for help on using the changeset viewer.