Changeset 1313 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecCAVLC.h
- Timestamp:
- 13 Aug 2015, 17:38:13 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecCAVLC.h
r1196 r1313 2 2 * License, included below. This software may be subject to other third party 3 3 * and contributor rights, including patent rights, and no such rights are 4 * granted under this license. 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-2015, ITU/ISO/IEC6 * Copyright (c) 2010-2015, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 52 52 // Class definition 53 53 // ==================================================================================================================== 54 #if H_3D54 #if NH_MV 55 55 class TDecTop; 56 56 #endif … … 61 61 TDecCavlc(); 62 62 virtual ~TDecCavlc(); 63 63 64 64 protected: 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 68 69 TDecTop* m_decTop; 69 70 #endif 70 71 72 71 public: 73 72 … … 76 75 Void setBitstream ( TComInputBitstream* p ) { m_pcBitstream = p; } 77 76 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 ); 79 78 Void parseQtRootCbf ( UInt uiAbsPartIdx, UInt& uiQtRootCbf ); 80 79 Void parseVPS ( TComVPS* pcVPS ); 81 #if H_MV80 #if NH_MV 82 81 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 ); 85 84 Void parseVideoSignalInfo( TComVideoSignalInfo* pcVideoSignalInfo ); 86 85 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 ); 88 96 #endif 89 97 90 #if H_MV91 Void parseSPSExtension ( TComSPS* pcSPS );92 #endif93 #if H_3D94 Void parseVPS3dExtension ( TComVPS* pcVPS );95 Void parseSPS3dExtension ( TComSPS* pcSPS );96 98 Void parseSPS ( TComSPS* pcSPS ); 97 #else 98 Void parseSPS ( TComSPS* pcSPS ); 99 #endif 99 Void parsePPS ( TComPPS* pcPPS ); 100 100 101 #if H_MV102 Void parsePPSMultilayerExtension( TComPPS* pcPPS );103 #endif104 105 106 #if H_3D107 Void parsePPS ( TComPPS* pcPPS, TComVPS* pcVPS );108 Void parsePPSExtension ( TComPPS* pcPPS, TComVPS* pcVPS );109 #else110 Void parsePPS ( TComPPS* pcPPS);111 #endif112 #if H_3D113 Void setDecTop ( TDecTop* decTop ) { m_decTop = decTop; };114 #endif115 101 Void parseVUI ( TComVUI* pcVUI, TComSPS* pcSPS ); 116 102 Void parseSEI ( SEIMessages& ); 117 103 Void parsePTL ( TComPTL *rpcPTL, Bool profilePresentFlag, Int maxNumSubLayersMinus1 ); 118 Void parseProfileTier (ProfileTierLevel *ptl );104 Void parseProfileTier (ProfileTierLevel *ptl, const Bool bIsSubLayer); 119 105 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 ); 124 115 #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 ); 134 117 Void parseMergeFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx ); 135 118 Void parseMergeIndex ( TComDataCU* pcCU, UInt& ruiMergeIndex ); 136 #if H_3D_ARP119 #if NH_3D_ARP 137 120 Void parseARPW ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 138 121 #endif 139 #if H_3D_IC122 #if NH_3D_IC 140 123 Void parseICFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 141 124 #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 144 129 Void parseSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 145 130 #endif 146 #if H_3D_DBBP131 #if NH_3D_DBBP 147 132 Void parseDBBPFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 148 133 #endif … … 150 135 Void parsePartSize ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 151 136 Void parsePredMode ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 152 137 153 138 Void parseIntraDirLumaAng ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 154 155 139 Void parseIntraDirChroma ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 156 140 157 141 Void parseInterDir ( TComDataCU* pcCU, UInt& ruiInterDir, UInt uiAbsPartIdx ); 158 Void parseRefFrmIdx ( TComDataCU* pcCU, Int& riRefFrmIdx, 142 Void parseRefFrmIdx ( TComDataCU* pcCU, Int& riRefFrmIdx, RefPicList eRefList ); 159 143 Void parseMvd ( TComDataCU* pcCU, UInt uiAbsPartAddr,UInt uiPartIdx, UInt uiDepth, RefPicList eRefList ); 160 144 145 Void parseCrossComponentPrediction( class TComTU &rTu, ComponentID compID ); 146 161 147 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 ); 164 153 165 154 Void parseIPCMInfo ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth); 166 155 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); 168 159 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 173 162 TDecTop* getDecTop() { return m_decTop; }; 174 163 #endif … … 181 170 182 171 #endif // !defined(AFX_TDECCAVLC_H__9732DD64_59B0_4A41_B29E_1A5B18821EAD__INCLUDED_) 183
Note: See TracChangeset for help on using the changeset viewer.