Changeset 1145 in SHVCSoftware


Ignore:
Timestamp:
7 Jul 2015, 23:44:14 (9 years ago)
Author:
seregin
Message:

macro cleanup: SPS_DPB_PARAMS

Location:
branches/SHM-dev/source/Lib
Files:
5 edited

Legend:

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

    r1139 r1145  
    775775  UInt       m_treePartitionLayerIdList[MAX_LAYERS][MAX_LAYERS];
    776776#endif
    777 #if SPS_DPB_PARAMS
    778777  Int        m_TolsIdx;
    779 #endif
    780778#if VPS_DPB_SIZE_TABLE
    781779  Bool       m_subLayerFlagInfoPresentFlag [MAX_VPS_OP_LAYER_SETS_PLUS1];
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1144 r1145  
    182182#endif
    183183#endif
    184 #define SPS_DPB_PARAMS                   1      ///< JCTVC-P0155 signaling & inferrence for sps dpb parameters for nuh_layer_id > 0
    185184#define DPB_PARAMS_MAXTLAYERS            1      ///< JCTVC-P0156 DPB parameters up to maximum temporal sub-layers in the layer set
    186185#define NUM_OL_FLAGS                     1      ///< JCTVC-P0156 output_layer_flag[ i ][ j ] is signalled for j equal to 0 to NumLayersInIdList[ lsIdx ] inclusive
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.h

    r1029 r1145  
    7676  Void  parseQtRootCbf      ( UInt uiAbsPartIdx, UInt& uiQtRootCbf );
    7777  Void  parseVPS            ( TComVPS* pcVPS );
     78  Void  parseSPS            ( TComSPS* pcSPS );
    7879#if !SVC_EXTENSION
    79   Void  parseSPS            ( TComSPS* pcSPS );
    8080  Void  parsePPS            ( TComPPS* pcPPS );
    8181#endif
     
    141141  Void  parseVpsVuiBspHrdParams( TComVPS *vps );
    142142#endif
    143 #if SPS_DPB_PARAMS
    144   Void  parseSPS            ( TComSPS* pcSPS ); // it should be removed after macro clean up
    145 #else
    146   Void  parseSPS            ( TComSPS* pcSPS, ParameterSetManagerDecoder *parameterSetManager );
    147 #endif
    148143  Void  parseSPSExtension    ( TComSPS* pcSPS );
    149144#if Q0048_CGS_3D_ASYMLUT
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1139 r1145  
    484484  }
    485485
     486#if SVC_EXTENSION
    486487#if SCALINGLIST_INFERRING
    487488  // scaling list settings and checks
     
    578579#endif
    579580
    580 #if SPS_DPB_PARAMS
    581581  if( m_layerId > 0 )
    582582  {
     
    629629#endif
    630630  }
    631 #endif
    632631
    633632#if R0227_REP_FORMAT_CONSTRAINT //Conformance checking for rep format -- rep format of current picture of current layer shall never be greater rep format defined in VPS for the current layer
     
    651650  }
    652651#endif
     652#endif //SVC_EXTENSION
    653653
    654654  m_apcSlicePilot->setPPS(pps);
     
    20042004}
    20052005
    2006 #if SVC_EXTENSION
    20072006Void TDecTop::xDecodeSPS()
    20082007{
     
    20112010  sps->setForceDecodeBitDepth(m_forceDecodeBitDepth);
    20122011#endif
     2012#if SVC_EXTENSION
    20132013  sps->setLayerId(m_layerId);
    2014 #if SPS_DPB_PARAMS
    2015   m_cEntropyDecoder.decodeSPS( sps ); // it should be removed after macro clean up
    2016 #else
    2017   m_cEntropyDecoder.decodeSPS( sps, &m_parameterSetManagerDecoder );
    2018 #endif
     2014#endif
     2015  m_cEntropyDecoder.decodeSPS( sps );
    20192016  m_parameterSetManagerDecoder.storePrefetchedSPS(sps);
    2020 #if !REPN_FORMAT_IN_VPS   // ILRP can only be initialized at activation 
    2021   if(m_numLayer>0)
    2022   {
    2023     xInitILRP(sps);
    2024   }
    2025 #endif
    2026 }
    2027 
    2028 Void TDecTop::xDecodePPS(
     2017}
     2018
    20292019#if Q0048_CGS_3D_ASYMLUT
    2030   TCom3DAsymLUT * pc3DAsymLUT
    2031 #endif
    2032   )
     2020Void TDecTop::xDecodePPS( TCom3DAsymLUT * pc3DAsymLUT )
     2021#else
     2022Void TDecTop::xDecodePPS()
     2023#endif
    20332024{
    20342025  TComPPS* pps = new TComPPS();
     
    20372028  pps->setLayerId( m_layerId );
    20382029#endif
    2039 
    2040   m_cEntropyDecoder.decodePPS( pps
    20412030#if Q0048_CGS_3D_ASYMLUT
    2042     , pc3DAsymLUT , m_layerId
    2043 #endif
    2044     );
     2031  m_cEntropyDecoder.decodePPS( pps, pc3DAsymLUT, m_layerId );
     2032#else
     2033  m_cEntropyDecoder.decodePPS( pps );
     2034#endif
    20452035  m_parameterSetManagerDecoder.storePrefetchedPPS( pps );
    20462036}
    2047 #else
    2048 Void TDecTop::xDecodeSPS()
    2049 {
    2050   TComSPS* sps = new TComSPS();
    2051 #if O0043_BEST_EFFORT_DECODING
    2052   sps->setForceDecodeBitDepth(m_forceDecodeBitDepth);
    2053 #endif
    2054   m_cEntropyDecoder.decodeSPS( sps );
    2055   m_parameterSetManagerDecoder.storePrefetchedSPS(sps);
    2056 }
    2057 
    2058 Void TDecTop::xDecodePPS()
    2059 {
    2060   TComPPS* pps = new TComPPS();
    2061   m_cEntropyDecoder.decodePPS( pps );
    2062   m_parameterSetManagerDecoder.storePrefetchedPPS( pps );
    2063 }
    2064 #endif //SVC_EXTENSION
    20652037
    20662038Void TDecTop::xDecodeSEI( TComInputBitstream* bs, const NalUnitType nalUnitType )
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h

    r1131 r1145  
    301301  Void      xDecodeVPS();
    302302  Void      xDecodeSPS();
    303   Void      xDecodePPS(
    304303#if Q0048_CGS_3D_ASYMLUT
    305     TCom3DAsymLUT * pc3DAsymLUT
    306 #endif
    307     );
     304  Void      xDecodePPS( TCom3DAsymLUT * pc3DAsymLUT );
     305#else
     306  Void      xDecodePPS();
     307#endif
    308308  Void      xDecodeSEI( TComInputBitstream* bs, const NalUnitType nalUnitType );
    309309
Note: See TracChangeset for help on using the changeset viewer.