Changeset 397 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib


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@…>

Location:
branches/SHM-3.1-dev/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h

    r396 r397  
    126126#define EARLY_REF_PIC_MARKING            1      ///< Decoded picture marking of sub-layer non-reference pictures
    127127#define N0120_MAX_TID_REF_PRESENT_FLAG   1      ///< JCTVC-N0120 max_tid_ref_pics_plus1_present_flag
     128#define N0120_MAX_TID_REF_CFG            1      ///< set max_tid_il_ref_pics_plus1 and max_tid_ref_present_flag in the config. file (configuration setting)
    128129#endif
    129130#if REF_IDX_MFM
  • branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r394 r397  
    10041004    {
    10051005      READ_CODE( 3, uiCode, "max_sublayer_for_ilp_plus1[i]" ); vps->setMaxSublayerForIlpPlus1(i, uiCode);
     1006#if N0120_MAX_TID_REF_CFG
     1007      assert( uiCode <= vps->getMaxTLayers());
     1008#else
    10061009      assert( uiCode <= vps->getMaxTLayers()+ 1 );
     1010#endif
    10071011    }
    10081012  }
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncCfg.h

    r389 r397  
    187187#endif
    188188#endif
     189#if N0120_MAX_TID_REF_CFG
     190  Int       m_maxTidIlRefPicsPlus1;
     191#endif
    189192  //======= Transform =============
    190193  UInt      m_uiQuadtreeTULog2MaxSize;
     
    468471#endif
    469472#endif
     473#if N0120_MAX_TID_REF_CFG
     474  Int       getMaxTidIlRefPicsPlus1         ()                              { return m_maxTidIlRefPicsPlus1; }
     475  Void      setMaxTidIlRefPicsPlus1         (Int num)                       { m_maxTidIlRefPicsPlus1 = num;  }
     476#endif
    470477  //======== Transform =============
    471478  Void      setQuadtreeTULog2MaxSize        ( UInt  u )      { m_uiQuadtreeTULog2MaxSize = u; }
Note: See TracChangeset for help on using the changeset viewer.