HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
TDecSbac Class Reference

SBAC decoder class. More...

#include <TDecSbac.h>

Inheritance diagram for TDecSbac:
Inheritance graph
[legend]
Collaboration diagram for TDecSbac:
Collaboration graph
[legend]

Public Member Functions

Void init (TDecBinIf *p)
 
Void uninit ()
 
Void setBitstream (TComInputBitstream *p)
 
Void parseVPS (TComVPS *)
 
Void parseSPS (TComSPS *)
 
Void parsePPS (TComPPS *)
 
Void parseSliceHeader (TComSlice *, ParameterSetManager *, const Int)
 
Void parseScalingList (TComScalingList *)
 
- Public Member Functions inherited from TDecEntropyIf
virtual ~TDecEntropyIf ()
 

Private Attributes

TComInputBitstreamm_pcBitstream
 
TDecBinIfm_pcTDecBinIf
 
ContextModel m_contextModels [512]
 
Int m_numContextModels
 
ContextModel3DBuffer m_cCUSplitFlagSCModel
 
ContextModel3DBuffer m_cCUSkipFlagSCModel
 
ContextModel3DBuffer m_cCUMergeFlagExtSCModel
 
ContextModel3DBuffer m_cCUMergeIdxExtSCModel
 
ContextModel3DBuffer m_cCUPartSizeSCModel
 
ContextModel3DBuffer m_cCUPredModeSCModel
 
ContextModel3DBuffer m_cCUIntraPredSCModel
 
ContextModel3DBuffer m_cCUChromaPredSCModel
 
ContextModel3DBuffer m_cCUDeltaQpSCModel
 
ContextModel3DBuffer m_cCUInterDirSCModel
 
ContextModel3DBuffer m_cCURefPicSCModel
 
ContextModel3DBuffer m_cCUMvdSCModel
 
ContextModel3DBuffer m_cCUQtCbfSCModel
 
ContextModel3DBuffer m_cCUTransSubdivFlagSCModel
 
ContextModel3DBuffer m_cCUQtRootCbfSCModel
 
ContextModel3DBuffer m_cCUSigCoeffGroupSCModel
 
ContextModel3DBuffer m_cCUSigSCModel
 
ContextModel3DBuffer m_cCuCtxLastX
 
ContextModel3DBuffer m_cCuCtxLastY
 
ContextModel3DBuffer m_cCUOneSCModel
 
ContextModel3DBuffer m_cCUAbsSCModel
 
ContextModel3DBuffer m_cMVPIdxSCModel
 
ContextModel3DBuffer m_cSaoMergeSCModel
 
ContextModel3DBuffer m_cSaoTypeIdxSCModel
 
ContextModel3DBuffer m_cTransformSkipSCModel
 
ContextModel3DBuffer m_CUTransquantBypassFlagSCModel
 
ContextModel3DBuffer m_explicitRdpcmFlagSCModel
 
ContextModel3DBuffer m_explicitRdpcmDirSCModel
 
ContextModel3DBuffer m_cCrossComponentPredictionSCModel
 
ContextModel3DBuffer m_ChromaQpAdjFlagSCModel
 
ContextModel3DBuffer m_ChromaQpAdjIdcSCModel
 
UInt m_golombRiceAdaptationStatistics [RExt__GOLOMB_RICE_ADAPTATION_STATISTICS_SETS]
 
 TDecSbac ()
 
virtual ~TDecSbac ()
 
Void load (const TDecSbac *pSrc)
 
Void loadContexts (const TDecSbac *pSrc)
 
Void xCopyFrom (const TDecSbac *pSrc)
 
Void xCopyContextsFrom (const TDecSbac *pSrc)
 
Void resetEntropy (TComSlice *pSlice)
 
Void parseTerminatingBit (UInt &ruiBit)
 
Void parseRemainingBytes (Bool noTrailingBytesExpected)
 
Void parseMVPIdx (Int &riMVPIdx)
 
Void parseSaoMaxUvlc (UInt &val, UInt maxSymbol)
 
Void parseSaoMerge (UInt &ruiVal)
 
Void parseSaoTypeIdx (UInt &ruiVal)
 
Void parseSaoUflc (UInt uiLength, UInt &ruiVal)
 
Void parseSAOBlkParam (SAOBlkParam &saoBlkParam, Bool *sliceEnabled, Bool leftMergeAvail, Bool aboveMergeAvail, const BitDepths &bitDepths)
 
Void parseSaoSign (UInt &val)
 
Void parseSkipFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void parseCUTransquantBypassFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void parseSplitFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void parseMergeFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx)
 
Void parseMergeIndex (TComDataCU *pcCU, UInt &ruiMergeIndex)
 
Void parsePartSize (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void parsePredMode (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void parseIntraDirLumaAng (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void parseIntraDirChroma (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void parseInterDir (TComDataCU *pcCU, UInt &ruiInterDir, UInt uiAbsPartIdx)
 
Void parseRefFrmIdx (TComDataCU *pcCU, Int &riRefFrmIdx, RefPicList eRefList)
 
Void parseMvd (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth, RefPicList eRefList)
 
Void parseCrossComponentPrediction (class TComTU &rTu, ComponentID compID)
 
Void parseTransformSubdivFlag (UInt &ruiSubdivFlag, UInt uiLog2TransformBlockSize)
 
Void parseQtCbf (TComTU &rTu, const ComponentID compID, const Bool lowestLevel)
 
Void parseQtRootCbf (UInt uiAbsPartIdx, UInt &uiQtRootCbf)
 
Void parseDeltaQP (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void parseChromaQpAdjustment (TComDataCU *cu, UInt absPartIdx, UInt depth)
 
Void parseIPCMInfo (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void parseLastSignificantXY (UInt &uiPosLastX, UInt &uiPosLastY, Int width, Int height, ComponentID component, UInt uiScanIdx)
 
Void parseCoeffNxN (class TComTU &rTu, ComponentID compID)
 
Void parseTransformSkipFlags (class TComTU &rTu, ComponentID component)
 
Void parseExplicitRdpcmMode (TComTU &rTu, ComponentID compID)
 
Void xReadUnarySymbol (UInt &ruiSymbol, ContextModel *pcSCModel, Int iOffset)
 
Void xReadUnaryMaxSymbol (UInt &ruiSymbol, ContextModel *pcSCModel, Int iOffset, UInt uiMaxSymbol)
 
Void xReadEpExGolomb (UInt &ruiSymbol, UInt uiCount)
 
Void xReadCoefRemainExGolomb (UInt &rSymbol, UInt &rParam, const Bool useLimitedPrefixLength, const Int maxLog2TrDynamicRange)
 

Detailed Description

SBAC decoder class.

Definition at line 63 of file TDecSbac.h.

Member Function Documentation

Void TDecSbac::init ( TDecBinIf p)
inline

Definition at line 69 of file TDecSbac.h.

Void TDecSbac::parsePPS ( TComPPS )
inlinevirtual

Implements TDecEntropyIf.

Definition at line 81 of file TDecSbac.h.

Void TDecSbac::parseScalingList ( TComScalingList )
inline

Definition at line 142 of file TDecSbac.h.

Void TDecSbac::parseSliceHeader ( TComSlice ,
ParameterSetManager ,
const Int   
)
inlinevirtual

Implements TDecEntropyIf.

Definition at line 83 of file TDecSbac.h.

Void TDecSbac::parseSPS ( TComSPS )
inlinevirtual

Implements TDecEntropyIf.

Definition at line 80 of file TDecSbac.h.

Void TDecSbac::parseVPS ( TComVPS )
inlinevirtual

Implements TDecEntropyIf.

Definition at line 79 of file TDecSbac.h.

Void TDecSbac::setBitstream ( TComInputBitstream p)
inlinevirtual

Implements TDecEntropyIf.

Definition at line 78 of file TDecSbac.h.

Void TDecSbac::uninit ( )
inline

Definition at line 70 of file TDecSbac.h.

Member Data Documentation

ContextModel3DBuffer TDecSbac::m_cCrossComponentPredictionSCModel
private

Definition at line 180 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUAbsSCModel
private

Definition at line 170 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUChromaPredSCModel
private

Definition at line 156 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCuCtxLastX
private

Definition at line 167 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCuCtxLastY
private

Definition at line 168 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUDeltaQpSCModel
private

Definition at line 157 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUInterDirSCModel
private

Definition at line 158 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUIntraPredSCModel
private

Definition at line 155 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUMergeFlagExtSCModel
private

Definition at line 151 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUMergeIdxExtSCModel
private

Definition at line 152 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUMvdSCModel
private

Definition at line 160 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUOneSCModel
private

Definition at line 169 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUPartSizeSCModel
private

Definition at line 153 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUPredModeSCModel
private

Definition at line 154 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUQtCbfSCModel
private

Definition at line 161 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUQtRootCbfSCModel
private

Definition at line 163 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCURefPicSCModel
private

Definition at line 159 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUSigCoeffGroupSCModel
private

Definition at line 165 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUSigSCModel
private

Definition at line 166 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUSkipFlagSCModel
private

Definition at line 150 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUSplitFlagSCModel
private

Definition at line 149 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cCUTransSubdivFlagSCModel
private

Definition at line 162 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_ChromaQpAdjFlagSCModel
private

Definition at line 182 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_ChromaQpAdjIdcSCModel
private

Definition at line 183 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cMVPIdxSCModel
private

Definition at line 172 of file TDecSbac.h.

ContextModel TDecSbac::m_contextModels[512]
private

Definition at line 147 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cSaoMergeSCModel
private

Definition at line 174 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cSaoTypeIdxSCModel
private

Definition at line 175 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_cTransformSkipSCModel
private

Definition at line 176 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_CUTransquantBypassFlagSCModel
private

Definition at line 177 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_explicitRdpcmDirSCModel
private

Definition at line 179 of file TDecSbac.h.

ContextModel3DBuffer TDecSbac::m_explicitRdpcmFlagSCModel
private

Definition at line 178 of file TDecSbac.h.

UInt TDecSbac::m_golombRiceAdaptationStatistics[RExt__GOLOMB_RICE_ADAPTATION_STATISTICS_SETS]
private

Definition at line 185 of file TDecSbac.h.

Int TDecSbac::m_numContextModels
private

Definition at line 148 of file TDecSbac.h.

TComInputBitstream* TDecSbac::m_pcBitstream
private

Definition at line 107 of file TDecSbac.h.

TDecBinIf* TDecSbac::m_pcTDecBinIf
private

Definition at line 108 of file TDecSbac.h.


The documentation for this class was generated from the following files: