Changeset 1313 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecCAVLC.h


Ignore:
Timestamp:
13 Aug 2015, 17:38:13 (9 years ago)
Author:
tech
Message:

Merged 14.1-update-dev1@1312.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibDecoder/TDecCAVLC.h

    r1196 r1313  
    22 * License, included below. This software may be subject to other third party
    33 * and contributor rights, including patent rights, and no such rights are
    4  * granted under this license. 
     4 * granted under this license.
    55 *
    6 * Copyright (c) 2010-2015, ITU/ISO/IEC
     6 * Copyright (c) 2010-2015, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    5252// Class definition
    5353// ====================================================================================================================
    54 #if H_3D
     54#if NH_MV
    5555class TDecTop;
    5656#endif
     
    6161  TDecCavlc();
    6262  virtual ~TDecCavlc();
    63  
     63
    6464protected:
    65   void  parseShortTermRefPicSet            (TComSPS* pcSPS, TComReferencePictureSet* pcRPS, Int idx);
    66  
    67 #if H_3D
     65
     66  Void  parseShortTermRefPicSet            (TComSPS* pcSPS, TComReferencePictureSet* pcRPS, Int idx);
     67
     68#if NH_MV
    6869  TDecTop*  m_decTop;
    6970#endif
    70 
    71 
    7271public:
    7372
     
    7675  Void  setBitstream        ( TComInputBitstream* p )   { m_pcBitstream = p; }
    7776  Void  parseTransformSubdivFlag( UInt& ruiSubdivFlag, UInt uiLog2TransformBlockSize );
    78   Void  parseQtCbf          ( TComDataCU* pcCU, UInt uiAbsPartIdx, TextType eType, UInt uiTrDepth, UInt uiDepth );
     77  Void  parseQtCbf          ( class TComTU &rTu, const ComponentID compID, const Bool lowestLevel );
    7978  Void  parseQtRootCbf      ( UInt uiAbsPartIdx, UInt& uiQtRootCbf );
    8079  Void  parseVPS            ( TComVPS* pcVPS );
    81 #if H_MV
     80#if NH_MV
    8281  Void  parseVPSExtension   ( TComVPS* pcVPS );
    83   Void  parseRepFormat      ( Int i, TComRepFormat* curRepFormat, TComRepFormat* prevRepFormat );
    84   Void  parseVPSVUI         ( TComVPS* pcVPS );
     82  Void  parseRepFormat      ( Int i, TComRepFormat* curRepFormat, const TComRepFormat* prevRepFormat );
     83  Void  parseVPSVUI         ( const TComVPS* pcVPS, TComVPSVUI* vpsVui );
    8584  Void  parseVideoSignalInfo( TComVideoSignalInfo* pcVideoSignalInfo );
    8685  Void  parseDpbSize        ( TComVPS* pcVPS );
    87   Void  parseVpsVuiBspHrdParameters( TComVPS* pcVPS );
     86  Void  parseVpsVuiBspHrdParameters( const TComVPS* vps, TComVPSVUI* vpsVui );
     87
     88  Void  parseSpsMultilayerExtension( TComSPS* pcSPS ); 
     89  Void  parsePpsMultilayerExtension( TComPPS* pcPPS );
     90  Void  setDecTop           ( TDecTop* decTop ) { m_decTop = decTop; };
     91#endif
     92#if NH_3D
     93  Void  parseVps3dExtension  ( TComVPS* pcVPS );
     94  Void  parseSps3dExtension  ( TComSPS* pcSPS ); 
     95  Void  parsePps3dExtension  ( TComPPS* pcPPS );
    8896#endif
    8997
    90 #if H_MV
    91   Void  parseSPSExtension   ( TComSPS* pcSPS ); 
    92 #endif
    93 #if H_3D
    94   Void  parseVPS3dExtension  ( TComVPS* pcVPS );
    95   Void  parseSPS3dExtension ( TComSPS* pcSPS );
    9698  Void  parseSPS            ( TComSPS* pcSPS );
    97 #else
    98   Void  parseSPS            ( TComSPS* pcSPS );
    99 #endif
     99  Void  parsePPS            ( TComPPS* pcPPS );
    100100
    101 #if H_MV
    102   Void  parsePPSMultilayerExtension( TComPPS* pcPPS );
    103 #endif
    104 
    105 
    106 #if H_3D
    107   Void  parsePPS            ( TComPPS* pcPPS, TComVPS* pcVPS );
    108   Void  parsePPSExtension   ( TComPPS* pcPPS, TComVPS* pcVPS );
    109 #else
    110   Void  parsePPS            ( TComPPS* pcPPS);
    111 #endif
    112 #if H_3D
    113   Void  setDecTop           ( TDecTop* decTop ) { m_decTop = decTop; };
    114 #endif
    115101  Void  parseVUI            ( TComVUI* pcVUI, TComSPS* pcSPS );
    116102  Void  parseSEI            ( SEIMessages& );
    117103  Void  parsePTL            ( TComPTL *rpcPTL, Bool profilePresentFlag, Int maxNumSubLayersMinus1 );
    118   Void  parseProfileTier    (ProfileTierLevel *ptl);
     104  Void  parseProfileTier    (ProfileTierLevel *ptl, const Bool bIsSubLayer);
    119105  Void  parseHrdParameters  (TComHRD *hrd, Bool cprms_present_flag, UInt tempLevelHigh);
    120 #if H_MV
    121   Void  parseSliceHeader    ( TComSlice*& rpcSlice, ParameterSetManagerDecoder *parameterSetManager, Int targetOlsIdx);
    122 #else
    123   Void  parseSliceHeader    ( TComSlice*& rpcSlice, ParameterSetManagerDecoder *parameterSetManager);
     106  Void  parseSliceHeader    ( TComSlice* pcSlice, ParameterSetManager *parameterSetManager, const Int prevTid0POC);
     107  Void  parseTerminatingBit ( UInt& ruiBit );
     108  Void  parseRemainingBytes ( Bool noTrailingBytesExpected );
     109
     110  Void  parseMVPIdx          ( Int& riMVPIdx );
     111       
     112  Void  parseSkipFlag        ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
     113#if NH_3D_DIS
     114  Void  parseDIS             ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    124115#endif
    125   Void  parseTerminatingBit ( UInt& ruiBit );
    126  
    127   Void  parseMVPIdx         ( Int& riMVPIdx );
    128  
    129   Void  parseSkipFlag       ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    130 #if H_3D
    131   Void  parseDIS            ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    132 #endif
    133   Void  parseCUTransquantBypassFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
     116  Void parseCUTransquantBypassFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    134117  Void parseMergeFlag       ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx );
    135118  Void parseMergeIndex      ( TComDataCU* pcCU, UInt& ruiMergeIndex );
    136 #if H_3D_ARP
     119#if NH_3D_ARP
    137120  Void parseARPW            ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    138121#endif
    139 #if H_3D_IC
     122#if NH_3D_IC
    140123  Void  parseICFlag         ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    141124#endif
    142 #if H_3D_INTER_SDC
    143   Void  parseDeltaDC        ( TComDataCU* pcCU, UInt absPartIdx, UInt depth );
     125#if NH_3D_DMM || NH_3D_SDC_INTRA || NH_3D_SDC_INTER
     126  Void  parseDeltaDC        ( TComDataCU* /*pcCU*/, UInt /*absPartIdx*/, UInt /*depth*/ ) { assert(0); };
     127#endif
     128#if NH_3D_SDC_INTRA || NH_3D_SDC_INTER
    144129  Void  parseSDCFlag        ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    145130#endif
    146 #if H_3D_DBBP
     131#if NH_3D_DBBP
    147132  Void  parseDBBPFlag       ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    148133#endif
     
    150135  Void parsePartSize        ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    151136  Void parsePredMode        ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    152  
     137
    153138  Void parseIntraDirLumaAng ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    154  
    155139  Void parseIntraDirChroma  ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    156  
     140
    157141  Void parseInterDir        ( TComDataCU* pcCU, UInt& ruiInterDir, UInt uiAbsPartIdx );
    158   Void parseRefFrmIdx       ( TComDataCU* pcCU, Int& riRefFrmIdx,  RefPicList eRefList );
     142  Void parseRefFrmIdx       ( TComDataCU* pcCU, Int& riRefFrmIdx, RefPicList eRefList );
    159143  Void parseMvd             ( TComDataCU* pcCU, UInt uiAbsPartAddr,UInt uiPartIdx,    UInt uiDepth, RefPicList eRefList );
    160  
     144
     145  Void parseCrossComponentPrediction( class TComTU &rTu, ComponentID compID );
     146
    161147  Void parseDeltaQP         ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    162   Void parseCoeffNxN        ( TComDataCU* pcCU, TCoeff* pcCoef, UInt uiAbsPartIdx, UInt uiWidth, UInt uiHeight, UInt uiDepth, TextType eTType );
    163   Void parseTransformSkipFlags ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt width, UInt height, UInt uiDepth, TextType eTType);
     148  Void parseChromaQpAdjustment( TComDataCU* cu, UInt absPartIdx, UInt depth);
     149
     150  Void parseCoeffNxN        ( class TComTU &rTu, ComponentID compID );
     151
     152  Void parseTransformSkipFlags ( class TComTU &rTu, ComponentID component );
    164153
    165154  Void parseIPCMInfo        ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth);
    166155
    167   Void updateContextTables  ( SliceType /*eSliceType*/, Int /*iQp*/ ) { return; }
     156  Void xParsePredWeightTable ( TComSlice* pcSlice, const TComSPS *sps );
     157  Void  parseScalingList     ( TComScalingList* scalingList );
     158  Void xDecodeScalingList    ( TComScalingList *scalingList, UInt sizeId, UInt listId);
    168159
    169   Void xParsePredWeightTable ( TComSlice* pcSlice );
    170   Void  parseScalingList               ( TComScalingList* scalingList );
    171   Void xDecodeScalingList    ( TComScalingList *scalingList, UInt sizeId, UInt listId);
    172 #if H_3D
     160  Void  parseExplicitRdpcmMode( TComTU &rTu, ComponentID compID );
     161#if NH_MV
    173162  TDecTop*  getDecTop()      { return m_decTop; };
    174163#endif
     
    181170
    182171#endif // !defined(AFX_TDECCAVLC_H__9732DD64_59B0_4A41_B29E_1A5B18821EAD__INCLUDED_)
    183 
Note: See TracChangeset for help on using the changeset viewer.