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/TAppEncCfg.cpp

    r389 r397  
    7373, m_scalingListFile()
    7474, m_elRapSliceBEnabled(0)
     75#if N0120_MAX_TID_REF_CFG
     76, m_maxTidIlRefPicsPlus1PresentFlag(1)
     77#endif
    7578{
    7679  for(UInt layer=0; layer<MAX_LAYERS; layer++)
     
    397400  Bool*   cfg_RCForceIntraQP       [MAX_LAYERS];
    398401#endif
     402#if N0120_MAX_TID_REF_CFG
     403  Int*    cfg_maxTidIlRefPicsPlus1[MAX_LAYERS];
     404#endif
    399405  for(UInt layer = 0; layer < MAX_LAYERS; layer++)
    400406  {
     
    442448    cfg_RCForceIntraQP[layer]        = &m_acLayerCfg[layer].m_RCForceIntraQP;
    443449#endif
     450#if N0120_MAX_TID_REF_CFG
     451    cfg_maxTidIlRefPicsPlus1[layer] = &m_acLayerCfg[layer].m_maxTidIlRefPicsPlus1;
     452#endif
    444453  }
    445454#if AVC_BASE
     
    514523                                                                 " bottom-right luma sample of the EL picture, in units of two luma samples")
    515524#endif
     525#if N0120_MAX_TID_REF_CFG
     526  ("MaxTidIlRefPicsPlus1Present", m_maxTidIlRefPicsPlus1PresentFlag, true, "max_tid_il_ref_pics_plus1_present_flag (0: not present, 1: present(default)) " )
     527  ("MaxTidIlRefPicsPlus1%d", cfg_maxTidIlRefPicsPlus1, 1, MAX_LAYERS, "allowed maximum temporal_id for inter-layer prediction")
     528#endif
    516529#if AVC_BASE
    517530  ("AvcBase,-avc",            m_avcBaseLayerFlag,     0, "avc_base_layer_flag")
     
    20872100  }
    20882101#endif
     2102#if N0120_MAX_TID_REF_CFG
     2103  for (UInt layer=0; layer < MAX_LAYERS-1; layer++)
     2104  {
     2105    xConfirmPara(m_acLayerCfg[layer].m_maxTidIlRefPicsPlus1 < 0 || m_acLayerCfg[layer].m_maxTidIlRefPicsPlus1 > 7, "MaxTidIlRefPicsPlus1 must be in range 0 to 7");
     2106  }
     2107#endif
    20892108#undef xConfirmPara
    20902109  if (check_failed)
Note: See TracChangeset for help on using the changeset viewer.