Changeset 766 in 3DVCSoftware for branches/HTM-9.2-dev0/source/Lib/TLibCommon


Ignore:
Timestamp:
12 Jan 2014, 03:29:17 (11 years ago)
Author:
tech
Message:

Cleanup part 3

Location:
branches/HTM-9.2-dev0/source/Lib/TLibCommon
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.2-dev0/source/Lib/TLibCommon/TComRom.cpp

    r764 r766  
    573573#if H_MV_ENC_DEC_TRAC
    574574#if ENC_DEC_TRACE
    575 #if H_MV_FIX_TRACE_FILE
    576575Void writeToTraceFile( const Char* symbolName, Int val, Bool doIt )
    577 #else
    578 Void writeToTraceFile( Char* symbolName, Int val, Bool doIt )
    579 #endif
    580576{
    581577  if ( ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) && doIt  )
     
    592588}
    593589
    594 #if H_MV_FIX_TRACE_FILE
    595590Void writeToTraceFile( const Char* symbolName, Bool doIt )
    596 #else
    597 Void writeToTraceFile( Char* symbolName, Bool doIt )
    598 #endif
    599591{
    600592  if ( ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) && doIt  )
  • branches/HTM-9.2-dev0/source/Lib/TLibCommon/TComRom.h

    r764 r766  
    233233
    234234
    235 #if H_MV_FIX_TRACE_FILE
    236235 Void           writeToTraceFile( const Char* symbolName, Int val, Bool doIt );
    237236 Void           writeToTraceFile( const Char* symbolName, Bool doIt );
    238 #else
    239  Void           writeToTraceFile( Char* symbolName, Int val, Bool doIt );
    240  Void           writeToTraceFile( Char* symbolName, Bool doIt );
    241 #endif
    242237#endif
    243238#else
  • branches/HTM-9.2-dev0/source/Lib/TLibCommon/TComSlice.cpp

    r765 r766  
    110110#endif
    111111, m_pocResetFlag                  (false)
    112 #if H_MV_6_RALS_O0149_11
    113112, m_crossLayerBlaFlag             (false)
    114 #endif
    115113, m_discardableFlag               (false)
    116114, m_interLayerPredEnabledFlag     (false)
     
    17051703, m_hrdOpSetIdx               (NULL)
    17061704, m_cprmsPresentFlag          (NULL)
    1707 #if H_MV_6_HRD_O0217_13
    17081705, m_dpbSize                   (NULL)
    1709 #endif
    17101706#if H_MV
    17111707, m_vpsVUI                 (  NULL )
     
    17231719    for( Int layerId = 0; layerId < MAX_VPS_NUH_LAYER_ID_PLUS1; layerId++ )
    17241720    {
    1725 #if H_MV_6_HRD_O0217_13
    17261721      m_layerIdIncludedFlag[lsIdx][layerId] = (( lsIdx == 0 ) && ( layerId == 0 )) ;
    1727 #else
    1728       m_layerIdIncludedFlag[lsIdx][layerId] = false;
    1729 #endif
    17301722    }
    17311723  }
     
    17411733  m_moreOutputLayerSetsThanDefaultFlag = false;   
    17421734  m_numAddOutputLayerSetsMinus1        = -1;   
    1743 #if H_MV_6_PS_0109_25
    17441735  m_defaultOneTargetOutputLayerIdc     = 0;
    1745 #else
    1746   m_defaultOneTargetOutputLayerFlag    = false;
    1747 #endif
    17481736 
    17491737  for ( Int i = 0; i < MAX_VPS_OUTPUTLAYER_SETS; i++)
     
    17561744    }
    17571745  }
    1758 #if H_MV_6_GEN_0153_28
    17591746  m_altOutputLayerFlag       = false;
    1760 #endif
    17611747  m_maxOneActiveRefLayerFlag = false;
    17621748  m_directDepTypeLenMinus2   = 0;         
     
    17951781    m_layerIdInNuh      [i] = ( i == 0 ) ? 0 : -1;
    17961782    m_numDirectRefLayers[i] = 0;
    1797 #if !H_MV_6_ILDDS_O0225_30
    1798     m_maxTidIlRefPicPlus1[i] = 7;
    1799 #endif
    18001783    m_vpsRepFormatIdx    [i] = 0;
    1801 #if H_MV_6_MISC_O0062_31
    18021784    m_pocLsbNotPresentFlag[i] = 0;
    1803 #endif
    18041785    m_repFormat          [i] = NULL;
    18051786    m_viewIdVal          [i] = 0;
     
    18371818      m_directDependencyType[i][j] = -1;
    18381819      m_refLayerId[i][j]           = -1;
    1839 #if H_MV_6_ILDDS_O0225_30     
    18401820      m_maxTidIlRefPicsPlus1[i][j]  = 7;
    1841 #endif
    18421821    }
    18431822
     
    18521831  }
    18531832  m_vpsVUI = new TComVPSVUI;
    1854 #if H_MV_6_HRD_O0217_13
    18551833  m_dpbSize = new TComDpbSize;
    1856 #endif
    18571834#
    18581835#if H_3D
     
    18891866#if H_MV
    18901867  if ( m_vpsVUI          != NULL )     delete m_vpsVUI;
    1891 #if H_MV_6_HRD_O0217_13
    18921868  if ( m_dpbSize         != NULL )     delete m_dpbSize;
    1893 #endif
    18941869
    18951870  for( Int i = 0; i < MAX_NUM_LAYERS; i++ )
     
    21932168  assert( lsIdx >= 0 );
    21942169  assert( lsIdx <= getVpsNumLayerSetsMinus1() );
    2195 #if H_MV_6_HRD_O0217_13
    21962170  return (Int) m_layerSetLayerIdList[ lsIdx ].size();
    2197 #else
    2198   Int numLayersInIdList = 0;
    2199   for (Int layerId = 0; layerId < getVpsMaxLayerId(); layerId++ )
    2200   {
    2201     numLayersInIdList += ( getLayerIdIncludedFlag( lsIdx, layerId ) );
    2202   }
    2203   return numLayersInIdList;
    2204 #endif
    2205 }
    2206 
    2207 #if H_MV_6_HRD_O0217_13
     2171}
     2172
    22082173Int    TComVPS::getNumOutputLayerSets()
    22092174{
     
    22152180  return numOutputLayerSets;
    22162181}
    2217 #endif
    22182182
    22192183Int TComVPS::getNumViews()
     
    22472211}
    22482212
    2249 #if H_MV_6_HRD_O0217_13
    22502213Void TComVPS::deriveLayerSetLayerIdList()
    22512214{
     
    22832246  }
    22842247}
    2285 #endif
    22862248#endif // H_MV
    22872249
     
    23382300, m_spsScalingListRefLayerId  ( 0 )
    23392301
    2340 #if !H_MV_6_PS_REP_FORM_18_19_20
    2341 , m_updateRepFormatFlag       ( true )
    2342 #else
    23432302, m_updateRepFormatFlag       ( false )
    23442303, m_spsRepFormatIdx           ( 0 )
    2345 #endif
    23462304, m_interViewMvVertConstraintFlag (false)
    23472305#endif
     
    23592317  ::memset(m_ltRefPicPocLsbSps, 0, sizeof(m_ltRefPicPocLsbSps));
    23602318  ::memset(m_usedByCurrPicLtSPSFlag, 0, sizeof(m_usedByCurrPicLtSPSFlag));
    2361 #if H_MV_6_PSEM_O0142_3
    23622319  m_spsExtensionFlag = false;
    23632320  for( Int i = 0; i < PS_EX_T_MAX_NUM; i++ )
     
    23652322    m_spsExtensionTypeFlag[ i ] = false;
    23662323  }
    2367 #endif
    2368 #if H_MV_6_SHVC_O0098_36
    23692324  m_numScaledRefLayerOffsets = 0;
    23702325
     
    23812336    m_scaledRefLayerBottomOffset   [i] = 0;
    23822337  }
    2383 #endif
    23842338}
    23852339
     
    27422696  if ( layerIdCurr > 0 )
    27432697  {
    2744 #if H_MV_6_PS_REP_FORM_18_19_20
    27452698    Int            repFormatIdx = getUpdateRepFormatFlag() ?  getSpsRepFormatIdx() : vps->getVpsRepFormatIdx( vps->getLayerIdInVps( layerIdCurr ) ) ;
    27462699    TComRepFormat* repFormat    = vps->getRepFormat( repFormatIdx );
    2747 #else
    2748     TComRepFormat* repFormat = vps->getRepFormat( vps->getVpsRepFormatIdx( vps->getLayerIdInVps( layerIdCurr ) ) );
    2749     if ( !getUpdateRepFormatFlag() )
    2750     {       
    2751 #endif
    27522700      setChromaFormatIdc( repFormat->getChromaFormatVpsIdc() );         
    27532701      //// ToDo: add when supported:
     
    27622710      setBitDepthC             ( repFormat->getBitDepthVpsChromaMinus8() + 8 );
    27632711      setQpBDOffsetC           ( (Int) (6* ( getBitDepthC() -8 ) ) );
    2764 #if !H_MV_6_PS_REP_FORM_18_19_20
    2765     }
    2766     else
    2767 #else
    27682712    if ( getLayerId() > 0 && getUpdateRepFormatFlag() )
    2769 #endif
    27702713    {
    27712714      assert( getChromaFormatIdc()      <=  repFormat->getChromaFormatVpsIdc()         );
     
    31393082    {
    31403083      TComPic* pcPic = ivPicLists->getPic( targetDecLayerIdSet[ i ], curPoc );
    3141 #if H_MV_LAYER_WISE_STARTUP
    31423084      if ( pcPic )
    31433085      {
    3144 #endif
    31453086      if( pcPic->getSlice(0)->isReferenced() && pcPic->getSlice(0)->getTemporalLayerNonReferenceFlag() )
    31463087      {
     
    31653106      }
    31663107    }
    3167 #if H_MV_LAYER_WISE_STARTUP
    3168       }
    3169 #endif
     3108      }
    31703109  }
    31713110}
     
    32253164
    32263165
    3227 #if H_MV_6_ILDDS_ILREFPICS_27_34
    32283166Int  TComSlice::getRefLayerPicFlag( Int i )
    32293167{
     
    32683206  return numRefLayerPics;
    32693207}
    3270 #endif
    32713208
    32723209
     
    32823219  else if (getVPS()->getAllRefLayersActiveFlag() )
    32833220  {
    3284 #if H_MV_6_ILDDS_ILREFPICS_27_34
    32853221    numActiveRefLayerPics = getNumRefLayerPics();
    3286 #else
    3287     numActiveRefLayerPics = getVPS()->getNumDirectRefLayers( getLayerId() );
    3288 #endif
    32893222  }
    32903223  else if ( !getInterLayerPredEnabledFlag() )
     
    32943227  else if( getVPS()->getMaxOneActiveRefLayerFlag() || getVPS()->getNumDirectRefLayers( getLayerId() ) == 1 )
    32953228  {
    3296 #if H_MV_6_ILDDS_ILREFPICS_27_34
    32973229    numActiveRefLayerPics = getRefLayerPicFlag( 0 ) ? 1 : 0;
    3298 #else
    3299     numActiveRefLayerPics = 1;
    3300 #endif
    33013230  }
    33023231  else
     
    38763805TComVPSVUI::TComVPSVUI()
    38773806{
    3878 #if H_MV_6_PS_O0223_29
    38793807  m_crossLayerIrapAlignedFlag = true;
    3880 #endif
    38813808  m_bitRatePresentVpsFlag = false;
    38823809  m_picRatePresentVpsFlag = false;
     
    39063833    }
    39073834  }
    3908 #if H_MV_6_PS_O0118_33 
    39093835  for ( Int i = 0; i < MAX_NUM_VIDEO_SIGNAL_INFO; i++ )
    39103836  {
    39113837    m_videoSignalInfo          [i] = NULL;     
    39123838  }
    3913 #endif
    3914 
    3915 #if H_MV_6_HRD_O0164_15
     3839
    39163840  m_vpsVuiBspHrdPresentFlag = false;
    39173841  m_vpsVuiBspHrdParameters  = new TComVpsVuiBspHrdParameters();
    3918 #endif
    3919 }
    3920 
    3921 #if H_MV_6_PS_O0118_33
     3842}
     3843
    39223844TComVPSVUI::~TComVPSVUI()
    39233845{
     
    39283850  }
    39293851
    3930 #if H_MV_6_HRD_O0164_15
    39313852  if ( m_vpsVuiBspHrdParameters ) delete m_vpsVuiBspHrdParameters;
    39323853  m_vpsVuiBspHrdParameters = NULL;
    3933 #endif
    3934 }
    3935 #endif
    3936 
    3937 #if H_MV_6_PS_REP_FORM_18_19_20
     3854}
     3855
    39383856Void TComRepFormat::inferChromaAndBitDepth( TComRepFormat* prevRepFormat, Bool encoderFlag )
    39393857{
     
    39533871}
    39543872}
    3955 #endif
    3956 
    3957 #if H_MV_6_HRD_O0164_15
     3873
    39583874Void TComVpsVuiBspHrdParameters::checkLayerInBspFlag( TComVPS* vps, Int h )
    39593875{
     
    39833899}
    39843900#endif
    3985 #endif
  • branches/HTM-9.2-dev0/source/Lib/TLibCommon/TComSlice.h

    r765 r766  
    6262// ====================================================================================================================
    6363
    64 #if H_MV_6_HRD_O0164_15
    6564class TComVPS;
    66 #endif
    6765/// Reference Picture Set class
    6866class TComReferencePictureSet
     
    407405#if H_MV
    408406
    409 #if H_MV_6_PS_O0118_33
    410407class TComVideoSignalInfo
    411408{
     
    432429  Int  getMatrixCoeffsVps(  ) { return m_matrixCoeffsVps; }
    433430};
    434 #endif
    435 #if H_MV_6_HRD_O0164_15
    436431class TComVpsVuiBspHrdParameters
    437432{
     
    473468};
    474469
    475 #endif
    476470class TComVPSVUI
    477471{
    478472private:
    479 #if H_MV_6_PS_O0223_29
    480473  Bool m_crossLayerPicTypeAlignedFlag;
    481474  Bool m_crossLayerIrapAlignedFlag;
    482 #endif
    483475  Bool m_bitRatePresentVpsFlag;
    484476  Bool m_picRatePresentVpsFlag;
     
    489481  Int  m_constantPicRateIdc          [MAX_VPS_OP_SETS_PLUS1][MAX_TLAYER];
    490482  Int  m_avgPicRate                  [MAX_VPS_OP_SETS_PLUS1][MAX_TLAYER];
    491 #if H_MV_6_O0226_37
    492483  Bool m_tilesNotInUseFlag;
    493484  Bool m_tilesInUseFlag              [MAX_NUM_LAYERS];
    494485  Bool m_loopFilterNotAcrossTilesFlag[MAX_NUM_LAYERS];
    495 #endif 
    496486  Bool m_tileBoundariesAlignedFlag   [MAX_NUM_LAYERS][MAX_NUM_LAYERS];
    497 #if H_MV_6_O0226_37
    498487  Bool m_wppNotInUseFlag;
    499488  Bool m_wppInUseFlag                [MAX_NUM_LAYERS];
    500 #endif
    501489  Bool m_ilpRestrictedRefLayersFlag;
    502490  Int  m_minSpatialSegmentOffsetPlus1[MAX_NUM_LAYERS][MAX_NUM_LAYERS];
    503491  Bool m_ctuBasedOffsetEnabledFlag   [MAX_NUM_LAYERS][MAX_NUM_LAYERS];
    504492  Int  m_minHorizontalCtuOffsetPlus1 [MAX_NUM_LAYERS][MAX_NUM_LAYERS];
    505 #if H_MV_6_PS_O0118_33
    506493  Bool m_videoSignalInfoIdxPresentFlag;
    507494  Int  m_vpsNumVideoSignalInfoMinus1;
    508495  TComVideoSignalInfo* m_videoSignalInfo[MAX_NUM_VIDEO_SIGNAL_INFO];   
    509496  Int  m_vpsVideoSignalInfoIdx       [MAX_NUM_VIDEO_SIGNAL_INFO];
    510 #endif
    511 #if H_MV_6_HRD_O0164_15
    512497  Bool m_vpsVuiBspHrdPresentFlag;
    513498  TComVpsVuiBspHrdParameters* m_vpsVuiBspHrdParameters;
    514 #endif
    515499
    516500public:
    517501  TComVPSVUI();
    518502  ~TComVPSVUI();
    519 #if H_MV_6_PS_O0223_29
    520503  Void setCrossLayerPicTypeAlignedFlag( Bool flag ) { m_crossLayerPicTypeAlignedFlag = flag; }
    521504  Bool getCrossLayerPicTypeAlignedFlag(  ) { return m_crossLayerPicTypeAlignedFlag; }
     
    523506  Void setCrossLayerIrapAlignedFlag( Bool flag ) { m_crossLayerIrapAlignedFlag = flag; }
    524507  Bool getCrossLayerIrapAlignedFlag(  ) { return m_crossLayerIrapAlignedFlag; }
    525 #endif
    526508
    527509  Void setBitRatePresentVpsFlag( Bool flag ) { m_bitRatePresentVpsFlag = flag; }
     
    549531  Int  getAvgPicRate( Int i, Int j ) { return m_avgPicRate[i][j]; }
    550532
    551 #if H_MV_6_O0226_37
    552533  Void setTilesNotInUseFlag( Bool flag ) { m_tilesNotInUseFlag = flag; }
    553534  Bool getTilesNotInUseFlag(  ) { return m_tilesNotInUseFlag; }
     
    558539  Void setLoopFilterNotAcrossTilesFlag( Int i, Int  val ) { m_loopFilterNotAcrossTilesFlag[i] = val; }
    559540  Bool getLoopFilterNotAcrossTilesFlag( Int i ) { return m_loopFilterNotAcrossTilesFlag[i]; }
    560 #endif
    561541
    562542  Void setTileBoundariesAlignedFlag( Int i, Int j, Bool flag ) { m_tileBoundariesAlignedFlag[i][j] = flag; }
    563543  Bool getTileBoundariesAlignedFlag( Int i, Int j ) { return m_tileBoundariesAlignedFlag[i][j]; }
    564544
    565 #if H_MV_6_O0226_37
    566545  Void setWppNotInUseFlag( Bool flag ) { m_wppNotInUseFlag = flag; }
    567546  Bool getWppNotInUseFlag(  ) { return m_wppNotInUseFlag; }
     
    569548  Void setWppInUseFlag( Int i, Bool flag ) { m_wppInUseFlag[i] = flag; }
    570549  Bool getWppInUseFlag( Int i ) { return m_wppInUseFlag[i]; }
    571 #endif
    572550
    573551  Void setIlpRestrictedRefLayersFlag( Bool flag ) { m_ilpRestrictedRefLayersFlag = flag; }
     
    583561  Int  getMinHorizontalCtuOffsetPlus1( Int i, Int j ) { return m_minHorizontalCtuOffsetPlus1[i][j]; }
    584562
    585 #if H_MV_6_PS_O0118_33
    586563  Void setVideoSignalInfoIdxPresentFlag( Bool flag ) { m_videoSignalInfoIdxPresentFlag = flag; }
    587564  Bool getVideoSignalInfoIdxPresentFlag(  ) { return m_videoSignalInfoIdxPresentFlag; }
     
    595572  Void setVpsVideoSignalInfoIdx( Int i, Int  val ) { m_vpsVideoSignalInfoIdx[i] = val; }
    596573  Int  getVpsVideoSignalInfoIdx( Int i ) { return m_vpsVideoSignalInfoIdx[i]; }
    597 #endif
    598 
    599 #if H_MV_6_HRD_O0164_15
     574
    600575  Void setVpsVuiBspHrdPresentFlag( Bool flag ) { m_vpsVuiBspHrdPresentFlag = flag; }
    601576  Bool getVpsVuiBspHrdPresentFlag(  ) { return m_vpsVuiBspHrdPresentFlag; }
     
    603578  Void setVpsVuiBspHrdParameters( TComVpsVuiBspHrdParameters* val) {  m_vpsVuiBspHrdParameters = val; }
    604579  TComVpsVuiBspHrdParameters* getVpsVuiBspHrdParameters(  ) { return m_vpsVuiBspHrdParameters; }
    605 #endif
    606580};
    607581
     
    609583{
    610584private:
    611 #if H_MV_6_PS_REP_FORM_18_19_20
    612585  Bool m_chromaAndBitDepthVpsPresentFlag;
    613 #endif
    614586  Int  m_chromaFormatVpsIdc;
    615587  Bool m_separateColourPlaneVpsFlag;
     
    622594  TComRepFormat() { }; 
    623595
    624 #if H_MV_6_PS_REP_FORM_18_19_20
    625596  Void setChromaAndBitDepthVpsPresentFlag( Bool flag ) { m_chromaAndBitDepthVpsPresentFlag = flag; }
    626597  Bool getChromaAndBitDepthVpsPresentFlag(  ) { return m_chromaAndBitDepthVpsPresentFlag; }
    627598  Void checkChromaAndBitDepthVpsPresentFlag( Int i ) { assert( i != 0 || m_chromaAndBitDepthVpsPresentFlag ); } // The value of chroma_and_bit_depth_vps_present_flag of the first rep_format( ) syntax structure in the VPS shall be equal to 1. 
    628599  Void inferChromaAndBitDepth( TComRepFormat* prevRepFormat, Bool encoderFlag );
    629 #endif
    630600
    631601  Void setChromaFormatVpsIdc( Int  val ) { m_chromaFormatVpsIdc = val; }
     
    649619#endif
    650620
    651 #if H_MV_6_HRD_O0217_13
    652621class TComDpbSize
    653622{
     
    695664  Int  getMaxVpsLatencyIncreasePlus1( Int i, Int j ) { return m_maxVpsLatencyIncreasePlus1[i][j]; }
    696665};
    697 #endif
    698666
    699667class TComVPS
     
    748716  Int         m_dimensionId              [MAX_NUM_LAYER_IDS][MAX_NUM_SCALABILITY_TYPES]; 
    749717
    750 #if H_MV_6_PS_O0109_22
    751718  Int         m_viewIdLen;
    752 #else
    753   Int         m_viewIdLenMinus1;
    754 #endif
    755719  Int         m_viewIdVal                [MAX_NUM_LAYERS];
    756720  Bool        m_directDependencyFlag     [MAX_NUM_LAYER_IDS][MAX_NUM_LAYER_IDS];
    757 #if H_MV_6_ILDSD_O0120_26
    758721  Bool        m_vpsSubLayersMaxMinus1PresentFlag;
    759722  Int         m_subLayersVpsMaxMinus1    [MAX_NUM_LAYERS];
    760 #endif
    761723  Bool        m_maxTidRefPresentFlag;
    762 #if H_MV_6_ILDDS_O0225_30
    763724  Int         m_maxTidIlRefPicsPlus1     [MAX_NUM_LAYERS][MAX_NUM_LAYERS];
    764 #else
    765   Int         m_maxTidIlRefPicPlus1      [MAX_NUM_LAYERS];
    766 #endif
    767725  Bool        m_allRefLayersActiveFlag;
    768726  Int         m_vpsNumberLayerSetsMinus1;
     
    772730  Bool        m_moreOutputLayerSetsThanDefaultFlag;
    773731  Int         m_numAddOutputLayerSetsMinus1;   
    774 #if H_MV_6_PS_0109_25
    775732  Int         m_defaultOneTargetOutputLayerIdc;
    776 #else
    777   Bool        m_defaultOneTargetOutputLayerFlag;
    778 #endif
    779733  Int         m_outputLayerSetIdxMinus1  [MAX_VPS_OUTPUTLAYER_SETS]; 
    780734  Bool        m_outputLayerFlag          [MAX_VPS_OUTPUTLAYER_SETS][MAX_VPS_NUH_LAYER_ID_PLUS1];
    781735  Int         m_profileLevelTierIdx      [MAX_VPS_OUTPUTLAYER_SETS ];
    782 #if H_MV_6_GEN_0153_28
    783736  Bool        m_altOutputLayerFlag;
    784 #endif
    785737  Bool        m_repFormatIdxPresentFlag;
    786738  Int         m_vpsNumRepFormatsMinus1;
     
    788740  TComRepFormat* m_repFormat             [MAX_NUM_LAYERS];
    789741  Bool        m_maxOneActiveRefLayerFlag;       
    790 #if H_MV_6_MISC_O0062_31
    791742  Bool        m_pocLsbNotPresentFlag     [MAX_NUM_LAYERS];
    792 #endif
    793 
    794 #if H_MV_6_HRD_O0217_13
     743
    795744  TComDpbSize* m_dpbSize;
    796 #endif
    797 #if !H_MV_6_PS_O0223_29       
    798   Bool        m_crossLayerIrapAlignedFlag;
    799 #endif
    800745  Int         m_directDepTypeLenMinus2;         
    801 #if H_MV_6_PS_O0096_21
    802746  Bool        m_defaultDirectDependencyFlag;
    803747  Int         m_defaultDirectDependencyType;
    804 #endif
    805748  Bool        m_vpsVuiPresentFlag;
    806749  TComVPSVUI* m_vpsVUI;
     
    822765  Int         m_viewIndex                [MAX_NUM_LAYERS   ];
    823766 
    824 #if H_MV_6_HRD_O0217_13
    825767  std::vector< std::vector< Int> >       m_targetDecLayerIdLists;   //[TargetOptLayerSetIdx][i]
    826768  std::vector< std::vector< Int> >       m_targetOptLayerIdLists;
    827769  std::vector< std::vector< Int> >       m_layerSetLayerIdList;
    828 #endif
    829770
    830771
     
    901842  UInt    getMaxTLayers  ()                   { return m_uiMaxTLayers;   }
    902843  Void    setMaxTLayers  (UInt t)             { m_uiMaxTLayers = t; }
    903 #if H_MV_6_HRD_O0164_15
    904844  UInt    getMaxSubLayersMinus1()             { return m_uiMaxTLayers - 1;  }  // For consistency with draft spec
    905 #endif
    906845#if H_MV   
    907846  UInt    getMaxLayersMinus1()                { return m_uiMaxLayersMinus1;  };
     
    978917  Int     getDimensionId( Int layerIdInVps, Int scalIdx )                  { return m_dimensionId[layerIdInVps][scalIdx]; }
    979918
    980 #if H_MV_6_PS_O0109_22
    981919  Void    setViewIdLen( Int  val )                                         { m_viewIdLen = val; }
    982920  Int     getViewIdLen(  )                                                 { return m_viewIdLen; }
    983 #else
    984   Void    setViewIdLenMinus1( Int  val )                                   { m_viewIdLenMinus1 = val; }
    985   Int     getViewIdLenMinus1(  )                                           { return m_viewIdLenMinus1; }
    986 #endif
    987921
    988922  Void    setViewIdVal( Int viewOrderIndex, Int  val )                     { m_viewIdVal[viewOrderIndex] = val; }
     
    990924  Void    setDirectDependencyFlag( Int depLayeridInVps, Int refLayeridInVps, Bool val ) { m_directDependencyFlag[depLayeridInVps][refLayeridInVps] = val;  }
    991925  Bool    getDirectDependencyFlag( Int depLayeridInVps, Int refLayeridInVps )           { return m_directDependencyFlag[depLayeridInVps][refLayeridInVps]; }
    992 #if H_MV_6_ILDSD_O0120_26
    993926  Void    setVpsSubLayersMaxMinus1PresentFlag( Bool flag )                 { m_vpsSubLayersMaxMinus1PresentFlag = flag; }
    994927  Bool    getVpsSubLayersMaxMinus1PresentFlag(  )                          { return m_vpsSubLayersMaxMinus1PresentFlag; }
     
    996929  Int     getSubLayersVpsMaxMinus1( Int i )                                { return m_subLayersVpsMaxMinus1[i]; }
    997930  Void    checkSubLayersVpsMaxMinus1( Int i )                              { assert( m_subLayersVpsMaxMinus1[i] >= 0 && m_subLayersVpsMaxMinus1[i] <= m_uiMaxTLayers - 1 ); }
    998 #endif
    999931  Void    setMaxTidRefPresentFlag( Bool flag )                             { m_maxTidRefPresentFlag = flag; }
    1000932  Bool    getMaxTidRefPresentFlag(  )                                      { return m_maxTidRefPresentFlag; }
    1001 #if H_MV_6_ILDDS_O0225_30
    1002933  Void    setMaxTidIlRefPicsPlus1( Int i, Int j, Int  val )                { m_maxTidIlRefPicsPlus1[i][j] = val; }
    1003934  Int     getMaxTidIlRefPicsPlus1( Int i, Int j )                          { return m_maxTidIlRefPicsPlus1[i][j]; }
    1004 #else
    1005   Void    setMaxTidIlRefPicPlus1( Int layerIdInVps, Int val )              { m_maxTidIlRefPicPlus1[ layerIdInVps ] = val;  }
    1006   Int     getMaxTidIlRefPicPlus1( Int layerIdInVps )                       { return m_maxTidIlRefPicPlus1[ layerIdInVps ]; }
    1007 #endif
    1008935  Void    setAllRefLayersActiveFlag( Bool flag )                           { m_allRefLayersActiveFlag = flag; }
    1009936  Bool    getAllRefLayersActiveFlag(  )                                    { return m_allRefLayersActiveFlag; }
     
    1019946  Void    setProfileRefMinus1( Int profileTierLevelIdx, Int val )          { m_profileRefMinus1[ profileTierLevelIdx ] = val;  }
    1020947  Int     getProfileRefMinus1( Int profileTierLevelIdx )                   { return m_profileRefMinus1[ profileTierLevelIdx ]; }
    1021 #if H_MV_6_PS_O0109_23
    1022948  Void    checkProfileRefMinus1( Int i )                                   { assert( getProfileRefMinus1( i ) + 1 <= i ); };  //  The value of profile_ref_minus1[ i ] + 1 shall be less than or equal to i.
    1023 #endif
    1024949  Void    setMoreOutputLayerSetsThanDefaultFlag( Bool flag )               { m_moreOutputLayerSetsThanDefaultFlag = flag; }
    1025950  Bool    getMoreOutputLayerSetsThanDefaultFlag()                          { return m_moreOutputLayerSetsThanDefaultFlag; }
     
    1028953  Int     getNumAddOutputLayerSetsMinus1( )                                { return m_numAddOutputLayerSetsMinus1; }
    1029954 
    1030 #if H_MV_6_PS_0109_25 
    1031955  Void    setDefaultOneTargetOutputLayerIdc( Int  val )                    { m_defaultOneTargetOutputLayerIdc = val; }
    1032956  Int     getDefaultOneTargetOutputLayerIdc(  )                            { return m_defaultOneTargetOutputLayerIdc; }
    1033957  Void    checkDefaultOneTargetOutputLayerIdc( )                           { assert( m_defaultOneTargetOutputLayerIdc >= 0 && m_defaultOneTargetOutputLayerIdc <= 1 ); }
    1034 #else
    1035   Void    setDefaultOneTargetOutputLayerFlag( Bool flag )                  { m_defaultOneTargetOutputLayerFlag = flag; }
    1036   Bool    getDefaultOneTargetOutputLayerFlag( )                            { return m_defaultOneTargetOutputLayerFlag; }
    1037 #endif
    1038958 
    1039959  Void    setOutputLayerSetIdxMinus1( Int outLayerSetIdx, Int val )        { m_outputLayerSetIdxMinus1[ outLayerSetIdx ]  = val; }
     
    1042962  Void    setOutputLayerFlag( Int outLayerSetIdx, Int i, Bool flag )       { m_outputLayerFlag[ outLayerSetIdx ][ i ] = flag; }
    1043963  Bool    getOutputLayerFlag( Int outLayerSetIdx, Int i )                  { return m_outputLayerFlag[ outLayerSetIdx ][ i ]; }
    1044 #if H_MV_6_HRD_O0217_13
    1045964  Bool    inferOutputLayerFlag( Int layerSetIdx, Int i )                   { return ( getDefaultOneTargetOutputLayerIdc( ) == 0 || ( ( getDefaultOneTargetOutputLayerIdc( ) == 1 ) && ( i == m_layerSetLayerIdList[layerSetIdx].size() - 1  ) ));  }
    1046 #endif
    1047965
    1048966  Void    setProfileLevelTierIdx( Int outLayerSetIdx, Int val )            { m_profileLevelTierIdx[ outLayerSetIdx  = val ]; }
    1049967  Int     getProfileLevelTierIdx( Int outLayerSetIdx )                     { return m_profileLevelTierIdx[ outLayerSetIdx ]; }
    1050 #if H_MV_6_GEN_0153_28
    1051968  Void    setAltOutputLayerFlag( Bool flag )                               { m_altOutputLayerFlag = flag; }
    1052969  Bool    getAltOutputLayerFlag(  )                                        { return m_altOutputLayerFlag; }
    1053 #endif
    1054970
    1055971  Void    setRepFormatIdxPresentFlag( Bool flag )                          { m_repFormatIdxPresentFlag = flag; }
     
    1067983  Bool    getMaxOneActiveRefLayerFlag( )                                   { return m_maxOneActiveRefLayerFlag; }
    1068984
    1069 #if H_MV_6_HRD_O0217_13
    1070985  Void    setDpbSize( TComDpbSize* val )                                   { assert( m_dpbSize != 0 ); m_dpbSize = val; }
    1071986  TComDpbSize* getDpbSize( )                                               { return m_dpbSize;}
    1072 #endif
    1073 
    1074 #if H_MV_6_MISC_O0062_31
     987
    1075988  Void    setPocLsbNotPresentFlag( Int i, Bool flag )                      { m_pocLsbNotPresentFlag[i] = flag; }
    1076989  Bool    getPocLsbNotPresentFlag( Int i )                                 { return m_pocLsbNotPresentFlag[i]; }
    1077 #endif
    1078 #if !H_MV_6_PS_O0223_29 
    1079   Void    setCrossLayerIrapAlignedFlag( Bool flag )                        { m_crossLayerIrapAlignedFlag = flag; }
    1080   Bool    getCrossLayerIrapAlignedFlag(  )                                 { return m_crossLayerIrapAlignedFlag; }
    1081 #endif
    1082990  Void    setDirectDepTypeLenMinus2( Int val)                              { m_directDepTypeLenMinus2 = val; }
    1083991  Int     getDirectDepTypeLenMinus2( )                                     { return m_directDepTypeLenMinus2; }
    1084992
    1085 #if H_MV_6_PS_O0096_21
    1086993  Void    setDefaultDirectDependencyFlag( Bool flag )                      { m_defaultDirectDependencyFlag = flag; }
    1087994  Bool    getDefaultDirectDependencyFlag(  )                               { return m_defaultDirectDependencyFlag; }
     
    1089996  Void    setDefaultDirectDependencyType( Int  val )                       { m_defaultDirectDependencyType = val; }
    1090997  Int     getDefaultDirectDependencyType(  )                               { return m_defaultDirectDependencyType; }
    1091 #endif
    1092998  Void    setDirectDependencyType( Int depLayeridInVps, Int refLayeridInVps, Int val) { m_directDependencyType[ depLayeridInVps ][ refLayeridInVps ] = val; }
    1093999  Int     getDirectDependencyType( Int depLayeridInVps, Int refLayeridInVps)   { return m_directDependencyType[ depLayeridInVps ][ refLayeridInVps ]; }
     
    11011007
    11021008  Int     getScalabilityId ( Int layerIdInVps, ScalabilityType scalType );
    1103 #if H_MV_6_FIX_GET_VIEW_ID
    11041009  Int     getViewId        ( Int layerIdInNuh )                            { return m_viewIdVal[ getViewIndex( layerIdInNuh )]; }
    1105 #else
    1106   Int     getViewId        ( Int layerIdInNuh )                            { return m_viewIdVal[ getViewIndex( getLayerIdInVps( layerIdInNuh) )]; }
    1107 #endif
    11081010  Void    setRefLayers();
    11091011
     
    11201022  Int     getNumLayersInIdList ( Int lsIdx );
    11211023
    1122 #if H_MV_6_HRD_O0217_13
    11231024  Int     getNumOutputLayerSets() ;   
    11241025  Int     getNumSubDpbs( Int i )                                           { return getNumLayersInIdList( i ); }; 
    11251026  Bool    isOutputLayer( Int outLayerSetIdx, Int layerIdInNuh );   
    1126 #if H_MV_6_HRD_O0217_13
    11271027  Void    deriveLayerSetLayerIdList();
    11281028  Void    deriveTargetLayerIdLists();
    11291029  std::vector<Int> getTargetDecLayerIdList( Int targetOptLayerSetIdx )     { return m_targetDecLayerIdLists[targetOptLayerSetIdx]; };
    11301030  std::vector<Int> getTargetOptLayerIdList( Int targetOptLayerSetIdx )     { return m_targetDecLayerIdLists[targetOptLayerSetIdx]; };
    1131 #endif
    1132 #endif
    11331031
    11341032
     
    14821380  TimingInfo* getTimingInfo() { return &m_timingInfo; }
    14831381
    1484 #if H_MV_6_PS_O0118_33
    14851382  Void inferVideoSignalInfo( TComVPS* vps, Int layerIdCurr )
    14861383  {
     
    15021399    setMatrixCoefficients     ( videoSignalInfo->getMatrixCoeffsVps           () );     
    15031400  }
    1504 #endif
    15051401};
    15061402
     
    15881484  TComVPS*    m_pcVPS;
    15891485  // SPS
    1590 #if H_MV_6_PSEM_O0142_3
    15911486  Bool        m_spsExtensionFlag;
    15921487  Bool        m_spsExtensionTypeFlag[PS_EX_T_MAX_NUM];
    1593 #endif
    15941488  Bool        m_spsInferScalingListFlag;
    15951489  Int         m_spsScalingListRefLayerId;
    15961490  Bool        m_updateRepFormatFlag;
    1597 #if H_MV_6_PS_REP_FORM_18_19_20 
    15981491  Int         m_spsRepFormatIdx;
    1599 #endif
    16001492  // SPS Extension
    16011493  Bool        m_interViewMvVertConstraintFlag;
    1602 #if H_MV_6_SHVC_O0098_36
    16031494  Int         m_numScaledRefLayerOffsets;
    16041495  Int         m_scaledRefLayerId          [MAX_NUM_SCALED_REF_LAYERS];
     
    16071498  Int         m_scaledRefLayerRightOffset [MAX_NUM_LAYERS];
    16081499  Int         m_scaledRefLayerBottomOffset[MAX_NUM_LAYERS];
    1609 #endif
    16101500#endif
    16111501#if H_3D
     
    17441634  TComPTL* getPTL()     { return &m_pcPTL; }
    17451635#if H_MV
    1746 #if H_MV_6_PSEM_O0142_3
    17471636  Void setSpsExtensionFlag( Bool flag ) { m_spsExtensionFlag = flag; }
    17481637  Bool getSpsExtensionFlag( )  { return m_spsExtensionFlag; }
     
    17501639  Void setSpsExtensionTypeFlag( Int i, Bool flag ) { m_spsExtensionTypeFlag[i] = flag; }
    17511640  Bool getSpsExtensionTypeFlag( Int i ) { return m_spsExtensionTypeFlag[i]; }
    1752 #endif
    17531641  Void      setVPS          ( TComVPS* pcVPS ) { m_pcVPS = pcVPS; }
    17541642  TComVPS*  getVPS          () { return m_pcVPS; }
     
    17621650  Void setUpdateRepFormatFlag( Bool flag )     { m_updateRepFormatFlag = flag; }
    17631651  Bool getUpdateRepFormatFlag(  )              { return m_updateRepFormatFlag; }
    1764 #if H_MV_6_PS_REP_FORM_18_19_20
    17651652  Void setSpsRepFormatIdx( Int  val )          { m_spsRepFormatIdx = val; }
    17661653  Int  getSpsRepFormatIdx(  )                  { return m_spsRepFormatIdx; }
    1767 #endif
    17681654  // SPS Extension
    17691655  Void setInterViewMvVertConstraintFlag(Bool val) { m_interViewMvVertConstraintFlag = val; }
    17701656  Bool getInterViewMvVertConstraintFlag()         { return m_interViewMvVertConstraintFlag;}
    17711657
    1772 #if H_MV_6_SHVC_O0098_36
    17731658  Void setNumScaledRefLayerOffsets( Int  val )    { m_numScaledRefLayerOffsets = val; }
    17741659  Int  getNumScaledRefLayerOffsets(  )            { return m_numScaledRefLayerOffsets; }
     
    17881673  Void setScaledRefLayerBottomOffset( Int j, Int  val ) { m_scaledRefLayerBottomOffset[j] = val; }
    17891674  Int  getScaledRefLayerBottomOffset( Int j )           { return m_scaledRefLayerBottomOffset[j]; }
    1790 #endif
    17911675  // Inference
    17921676  Void inferRepFormat( TComVPS* vps, Int layerIdCurr );
     
    21992083// Additional slice header syntax elements
    22002084  Bool       m_pocResetFlag;
    2201 #if H_MV_6_RALS_O0149_11
    22022085  Bool       m_crossLayerBlaFlag;
    2203 #endif
    22042086  Bool       m_discardableFlag;
    22052087  Bool       m_interLayerPredEnabledFlag;
     
    25292411// Additional slice header syntax elements
    25302412
    2531 #if H_MV_6_RALS_O0149_11
    25322413  Void setCrossLayerBlaFlag( Bool flag ) { m_crossLayerBlaFlag = flag; }
    25332414  Bool getCrossLayerBlaFlag(  ) { return m_crossLayerBlaFlag; }
     
    25402421    }
    25412422  }
    2542 #endif
    25432423
    25442424  Void setPocResetFlag( Bool flag ) { m_pocResetFlag = flag; }
     
    25612441  Int  getInterLayerPredLayerIdcLen    ( ) { return gCeilLog2(  getVPS()->getNumDirectRefLayers( getLayerId() )); }
    25622442
    2563 #if H_MV_6_ILDDS_ILREFPICS_27_34
    25642443  Int  getRefLayerPicFlag( Int i );
    25652444  Int  getRefLayerPicIdc ( Int j );
    25662445  Int  getNumRefLayerPics( );
    2567 #endif
    25682446
    25692447  Int  getNumActiveRefLayerPics( );
  • branches/HTM-9.2-dev0/source/Lib/TLibCommon/TypeDef.h

    r765 r766  
    293293// !!! PLEASE PUT MACROS RELATED TO HTM-10.0 INTEGRATIONS HERE !!!
    294294
    295 /////////////////////////////////////////////////////////////////////////////////////////
    296 ///////////////////////////////////   HTM-9.1 Integrations //////////////////////////////
    297 /////////////////////////////////////////////////////////////////////////////////////////
    298 
    299 #define H_MV_FIX_TRACE_FILE                     1  // Fix linux compilation error related const char conversion
    300 
    301 #define H_MV_LAYER_WISE_STARTUP                 1  // Basic version of layer wise startup.
    302 #define H_MV_FIX_SKIP_PICTURES                  1  // Fix related to skipping pictures.
    303 #define H_MV_6_HRD_O0164_15                     1  // (HRD/O0164/Multilayer HRD) #15 Decision: Adopt, modified as follows: It was suggested to constrain the stalling based on the relative cpb removal times, which must be in decoding order. The "du_based_bpb_sync_flag" is not needed, in view of this. SEI in the highest layer of the layer set or (inclusive "or") VPS VUI is used to carry the parameters (at encoder discretion). SEI in higher layer and SEI in VUI do not need to repeat information available in some lower layer. Shall be after APS SEI and buffering period SEI and before all other SEI of all layers except other HRD related SEI.
    304 #define H_MV_6_HRD_O0217_13                     1  // (HRD/O0217/Sub-DPB based DPB operations) #13 Decision: Adopt ?Specify a separate DPB capacity for each layer ?no sharing of capacity across layers ?each layer has its own parameters (max pictures, max latency, max reordering). This proposal would specify distinct parameters for each "output layer set" and to change the definition of an operation point to be specific to an output layer set instead of a 'layer set". Decision: Adopted this aspect as well.
    305 #define H_MV_6_SHVC_O0098_36                    1  // (SHVC/O0098/Scaled ref layer offset) #36 Modify signalling of scaled reference layer offsets to allow signalling of any lower layer, rather than just a direct reference layer, in order to enable alignment of auxiliary pictures. In further JCT-VC and JCT-3V discussion, it was also agreed to use the same offset signalling for MV-HEVC as well as SHVC
    306 #define H_MV_6_GEN_0153_28                      1  //(Gen/O0153/output highest layer) #28 Add a flag in the VPS to indicate if startup process should output the highest available layer if the target output layer is not available.
    307 #define H_MV_6_PS_0109_25                       1  //XXX(PS/O0109/default_one_target_output_layer_idc) #25 To change default_one_target_output_layer_flag to a two-bit default_one_target_output_layer_idc, and reserve the values 2 and 3
    308 #define H_MV_6_O0226_37                         1  //(VUI/O0226/Mod tile WPP) #37 Modifications to the VUI indicators of tile and WPP alignment related syntax elements, from the r1.
    309 #define H_MV_6_RALS_O0149_11                    1  //XXX (RALS/O0149/Prop2): #11 Proposal: A new slice_reserved_flag is taken into use to indicate if a base-layer IDR picture initiates the layer-wise start-up process. Decision: Adopt (the bit should not be required to be present; if present should be the bit after the discardable_flag, and discardable_flag should be the first one of the three, and the poc reset flag is not required to be present).
    310 #define H_MV_6_PSEM_O0142_3                     1  // (PSEM/O0142/Conditional extension syntax) #3 Adopt JCTVC-O0142 (as a structure to be used to switch whatever extensions we define in SPS, not necessarily committing to having these extensions be separate for each extension, but the current plan unless decided otherwise is to use one flag for range extensions syntax presence and one flag for SHVC+MV-HEVC extension syntax presence)
    311 #define H_MV_6_FIX_GET_VIEW_ID                  1  // Fix get view id
    312 #define H_MV_6_LAYER_ID_32                      1  // (Gen/O0137,O0200,O0223,Layer id) #32 Add (editorial equivalent of) "The value of nuh_layer_id shall be in the range of 0 to 62. The value of 63 for nuh_layer_id is reserved for future use by ITU-T | ISO/IEC. Decoders shall ignore all data that follow the value 63 for nuh_layer_id in a NAL unit." and specify that vps_max_layers_minus1 shall not be equal to 63, but decoders shall allow that value to appear in the bitstream. Specify that the value 63 is interpreted the same as the value 62 (e.g., MaxLayersMinus1 = Min( 62, vps_max_layers_minus1) and subsequently refer to MaxLayersMinus1 instead of vps_max_layers_minus1)
    313 #define H_MV_6_PS_O0118_33                      1  // (PS/O0118/visual signal info in vui per layer) #33 Add visual signal information (video_format, video_full_range_flag, colour_primaries, transfer_characteristics, matrix_coeffs) per layer to the VPS VUI, from v2 version of JCTVC-O0118.
    314 #define H_MV_6_POC_31_35_38                     1  //XXX  Various related to POC
    315                                                    // (Misc/O0062/POC LSB present) (SH changes)
    316                                                    // (POC/O0117/Modify PicOrderCntVal of prevTid0Pic) #35 Modification of the PicOrderCntVal of prevTid0Pic and modification to the decoding process for reference picture set, to address problems found for cross-layer POC alignment.
    317                                                    // (POC/O0211/Fix ambiguity) #38 Modify POC derivation to correct an ambiguity in the spec.
    318 #define H_MV_6_MISC_O0062_31                    1  // (Misc/O0062/POC LSB present) (without SH changes ) #31 The proposal's "option 3" is to add a flag in the VPS for each EL to control whether these LSBs are present or not (for IDR pictures), and when not present, the LSBs are inferred to be equal to 0. Decision: Adopted (as described herein).
    319 #define H_MV_6_ILDDS_ILREFPICS_27_34            1  // Various inter layer reference picture derivation
    320                                                    // (ILDSD/O0225/max_tid_il_ref_pics RPL const.) #27 Change derivation of NumActiveRefLayerPics to consider max_tid_il_ref_pics.
    321                                                    // (ILDSD/O0120/sub_layers_vps_max_minus1 RPL const) #34 Modify inter-layer reference picture list default construction to incorporate max temporal sub-layers per layer syntax elements in VPS extension, from r2 version of JCTVC-O0120
    322 #define H_MV_6_ILDDS_O0225_30                   1  // (ILDSD/O0225/signal max_tid_il_ref_pics per layer ) #30 2nd proposal of JCTVC-O0225 regarding signalling of max_tid_il_ref_pics per layer, based upon relation to SCE2 on single loop decoding. Decision: Adopted.
    323 #define H_MV_6_ILDSD_O0120_26                   1  // (ILDSD/O0120/sub_layers_vps_max_minus1) #26 Add syntax elements to signal max temporal sub-layers for each layer in the VPS, with a gating flag, from JCTVC- option 2.
    324 #define H_MV_6_PS_O0223_29                      1  // (PS/O0223/Cross layer alignment type) #29 Add a flag in VPS VUI to indicate cross layer pic type alignment.  Move cross_layer_irap_aligned_flag to VPS VUI and make presence condition on added flag
    325 #define H_MV_6_PS_0092_17                       1  // (PS/O0092/Sharing SPS PPS) #17 Restrict sharing of SPS and PPS across layers to avoid creating problems during sub-bitstream extraction, based on modification of proposals in JCTVC-O0059 and JCTVC-O0092, reflected in the v2 version of O0092.
    326 #define H_MV_6_PS_REP_FORM_18_19_20             1  //  Various Rep format
    327                                                    // (PS/O0096/rep format syntax element length ) #20 Modification of length to 8 bit as decided later in trac.
    328                                                    // (PS/O0179/Rep. Format) #18 Add flag in rep_format( ) syntax structure to control sending of chroma and bit depth related parameters, as proposed in the v2 version of JCTVC-O0179.
    329                                                    // (PS/O0096/rep format) #20 Modify the SPS syntax for layers with nuh_layer_id > 0 to signal a reference to a rep_format index in the VPS, rather than signalling explicit representation format data in the SPS, from the v2 version of JCTVC-O0096.
    330                                                    // (PS/FIX/N0092/Rep. Format) #19 Inferences.
    331 #define H_MV_6_PS_O0096_21                      1  // (PS/O0096/direct_dependency_type gating flag) #21 Add a gating flag in VPS extension to condition the presence of direct dependency type, with a default type signalled, from JCTVC-O0096
    332 #define H_MV_6_PS_O0109_22                      1  // (PS/O0109/view_id_len) #22 Modify the VPS extension syntax and semantics to replace view_id_len_minus1 with view_id_len, always signal that syntax element, add a constraint that (1<<view_id_len) >= NumViews, and modify view_id_val semantics to infer value of 0 when not present, from discussion of JCTVC-O0109
    333 #define H_MV_6_PS_O0109_23                      1  // (PS/O0109/profile_ref_minus1 constraint) #23 Modify the semantics of profile_ref_minus1[ i ] to replace “shall be less than i?with “shall be less than or equal to i? from discussion of JCTVC-O0109
    334 #define H_MV_6_PS_O0109_24                      1  // (PS/O0109/vps_vui_present_flag move) #24 Move the vps_vui_present_flag to precede vps_vui_offset, and make vps_vui_offset conditional on that flag, from JCTVC-O0109
    335 
    336295
    337296/////////////////////////////////////////////////////////////////////////////////////////
     
    349308#define MAX_VPS_OP_SETS_PLUS1                     1024
    350309#if H_MV
    351 #if H_MV_6_LAYER_ID_32
    352310#define MAX_VPS_NUH_LAYER_ID_PLUS1  63
    353 #else
    354 #define MAX_VPS_NUH_LAYER_ID_PLUS1  64
    355 #endif
    356311#define MAX_NUM_SCALABILITY_TYPES   16
    357312#define ENC_CFG_CONSOUT_SPACE       29           
     
    377332#define MAX_CPB_CNT                     32  ///< Upper bound of (cpb_cnt_minus1 + 1)
    378333#if H_MV
    379 #if H_MV_6_LAYER_ID_32
    380334#define MAX_NUM_LAYER_IDS               63
    381335#define MAX_NUM_LAYERS                  63
    382 #else
    383 #define MAX_NUM_LAYER_IDS               64
    384 #define MAX_NUM_LAYERS                  64
    385 #endif
    386336#define MAX_VPS_PROFILE_TIER_LEVEL      64
    387337#define MAX_VPS_ADD_OUTPUT_LAYER_SETS   1024
    388338#define MAX_VPS_OUTPUTLAYER_SETS        ( MAX_VPS_ADD_OUTPUT_LAYER_SETS + MAX_VPS_OP_SETS_PLUS1 )
    389 #if H_MV_6_PS_O0118_33
    390339#define  MAX_NUM_VIDEO_SIGNAL_INFO      16
    391 #endif
    392 #if H_MV_6_SHVC_O0098_36
    393340#define MAX_NUM_SCALED_REF_LAYERS       MAX_NUM_LAYERS-1
    394 #endif
    395 #if H_MV_6_HRD_O0164_15
    396341#define MAX_NUM_BSP_HRD_PARAMETERS      100 ///< Maximum value is actually not specified
    397342#define MAX_NUM_BITSTREAM_PARTITIONS    100 ///< Maximum value is actually not specified
    398343#define MAX_NUM_BSP_SCHED_COMBINATION   100 ///< Maximum value is actually not specified
    399 #endif
    400344#endif
    401345
     
    875819#if H_MV
    876820
    877 #if H_MV_6_PSEM_O0142_3
    878821  enum PsExtensionTypes
    879822  {
     
    885828    PS_EX_T_MAX_NUM = 8
    886829  };
    887 #endif
    888830
    889831/// scalability types
Note: See TracChangeset for help on using the changeset viewer.