HEVC Test Model (HM)  HM-16.3
Public Member Functions | Private Attributes | List of all members
TDecEntropy Class Reference

entropy decoder class More...

#include <TDecEntropy.h>

Collaboration diagram for TDecEntropy:
Collaboration graph
[legend]

Public Member Functions

Void init (TComPrediction *p)
 
Void setBitstream (TComInputBitstream *p)
 
Void resetEntropy (TComSlice *p)
 
Void decodeVPS (TComVPS *pcVPS)
 
Void decodeSPS (TComSPS *pcSPS)
 
Void decodePPS (TComPPS *pcPPS)
 
Void decodeSliceHeader (TComSlice *pcSlice, ParameterSetManager *parameterSetManager)
 
Void decodeTerminatingBit (UInt &ruiIsLast)
 
Void decodeRemainingBytes (Bool noTrailingBytesExpected)
 
TDecEntropyIfgetEntropyDecoder ()
 

Private Attributes

TDecEntropyIfm_pcEntropyDecoderIf
 
TComPredictionm_pcPrediction
 
Void decodePUWise (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, TComDataCU *pcSubCU)
 
Void decodeInterDirPU (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPartIdx)
 
Void decodeRefFrmIdxPU (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPartIdx, RefPicList eRefList)
 
Void decodeMvdPU (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPartIdx, RefPicList eRefList)
 
Void decodeMVPIdxPU (TComDataCU *pcSubCU, UInt uiPartAddr, UInt uiDepth, UInt uiPartIdx, RefPicList eRefList)
 
Void setEntropyDecoder (TDecEntropyIf *p)
 
Void decodeSplitFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void decodeSkipFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void decodeCUTransquantBypassFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void decodeMergeFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx)
 
Void decodeMergeIndex (TComDataCU *pcSubCU, UInt uiPartIdx, UInt uiPartAddr, UInt uiDepth)
 
Void decodePredMode (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void decodePartSize (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void decodeIPCMInfo (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void decodePredInfo (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, TComDataCU *pcSubCU)
 
Void decodeIntraDirModeLuma (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void decodeIntraDirModeChroma (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void decodeQP (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void decodeChromaQpAdjustment (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void decodeCoeff (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool &bCodeDQP, Bool &isChromaQpAdjCoded)
 decode coefficients More...
 
Void xDecodeTransform (Bool &bCodeDQP, Bool &isChromaQpAdjCoded, TComTU &rTu, const Int quadtreeTULog2MinSizeInCU)
 

Detailed Description

entropy decoder class

Definition at line 116 of file TDecEntropy.h.

Member Function Documentation

Void TDecEntropy::decodeChromaQpAdjustment ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)

Definition at line 604 of file TDecEntropy.cpp.

Void TDecEntropy::decodeCoeff ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
Bool bCodeDQP,
Bool isChromaQpAdjCoded 
)

decode coefficients

Definition at line 614 of file TDecEntropy.cpp.

Void TDecEntropy::decodeCUTransquantBypassFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)

Definition at line 65 of file TDecEntropy.cpp.

Void TDecEntropy::decodeInterDirPU ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
UInt  uiPartIdx 
)

decode inter direction for a PU block

Parameters
pcCU
uiAbsPartIdx
uiDepth
uiPartIdx
Returns
Void

Definition at line 288 of file TDecEntropy.cpp.

Void TDecEntropy::decodeIntraDirModeChroma ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)

Definition at line 159 of file TDecEntropy.cpp.

Void TDecEntropy::decodeIntraDirModeLuma ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)

Definition at line 154 of file TDecEntropy.cpp.

Void TDecEntropy::decodeIPCMInfo ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)

Parse I_PCM information.

Parameters
pcCUpointer to CUpointer to CU
uiAbsPartIdxCU index
uiDepthCU depth
Returns
Void

Definition at line 142 of file TDecEntropy.cpp.

Void TDecEntropy::decodeMergeFlag ( TComDataCU pcSubCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
UInt  uiPUIdx 
)

decode merge flag

Parameters
pcSubCU
uiAbsPartIdx
uiDepth
uiPUIdx
Returns
Void

Definition at line 78 of file TDecEntropy.cpp.

Void TDecEntropy::decodeMergeIndex ( TComDataCU pcCU,
UInt  uiPartIdx,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)

decode merge index

Parameters
pcCU
uiPartIdx
uiAbsPartIdx
uiDepth
Returns
Void

Definition at line 91 of file TDecEntropy.cpp.

Void TDecEntropy::decodeMvdPU ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
UInt  uiPartIdx,
RefPicList  eRefList 
)

decode motion vector difference for a PU block

Parameters
pcCU
uiAbsPartIdx
uiDepth
uiPartIdx
eRefList
Returns
Void

Definition at line 334 of file TDecEntropy.cpp.

Void TDecEntropy::decodeMVPIdxPU ( TComDataCU pcSubCU,
UInt  uiPartAddr,
UInt  uiDepth,
UInt  uiPartIdx,
RefPicList  eRefList 
)

Definition at line 342 of file TDecEntropy.cpp.

Void TDecEntropy::decodePartSize ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)

Definition at line 108 of file TDecEntropy.cpp.

Void TDecEntropy::decodePPS ( TComPPS pcPPS)
inline

Definition at line 139 of file TDecEntropy.h.

Void TDecEntropy::decodePredInfo ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
TComDataCU pcSubCU 
)

Definition at line 113 of file TDecEntropy.cpp.

Void TDecEntropy::decodePredMode ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)

Definition at line 103 of file TDecEntropy.cpp.

Void TDecEntropy::decodePUWise ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
TComDataCU pcSubCU 
)

decode motion information for every PU block.

Parameters
pcCU
uiAbsPartIdx
uiDepth
pcSubCU
Returns
Void

Definition at line 183 of file TDecEntropy.cpp.

Void TDecEntropy::decodeQP ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)

Definition at line 596 of file TDecEntropy.cpp.

Void TDecEntropy::decodeRefFrmIdxPU ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
UInt  uiPartIdx,
RefPicList  eRefList 
)

Definition at line 304 of file TDecEntropy.cpp.

Void TDecEntropy::decodeRemainingBytes ( Bool  noTrailingBytesExpected)
inline

Definition at line 143 of file TDecEntropy.h.

Void TDecEntropy::decodeSkipFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)

Definition at line 59 of file TDecEntropy.cpp.

Void TDecEntropy::decodeSliceHeader ( TComSlice pcSlice,
ParameterSetManager parameterSetManager 
)
inline

Definition at line 140 of file TDecEntropy.h.

Void TDecEntropy::decodeSplitFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)

Definition at line 98 of file TDecEntropy.cpp.

Void TDecEntropy::decodeSPS ( TComSPS pcSPS)
inline

Definition at line 138 of file TDecEntropy.h.

Void TDecEntropy::decodeTerminatingBit ( UInt ruiIsLast)
inline

Definition at line 142 of file TDecEntropy.h.

Void TDecEntropy::decodeVPS ( TComVPS pcVPS)
inline

Definition at line 137 of file TDecEntropy.h.

TDecEntropyIf* TDecEntropy::getEntropyDecoder ( )
inline

Definition at line 145 of file TDecEntropy.h.

Void TDecEntropy::init ( TComPrediction p)
inline

Definition at line 126 of file TDecEntropy.h.

Void TDecEntropy::resetEntropy ( TComSlice p)
inline

Definition at line 135 of file TDecEntropy.h.

Void TDecEntropy::setBitstream ( TComInputBitstream p)
inline

Definition at line 134 of file TDecEntropy.h.

Void TDecEntropy::xDecodeTransform ( Bool bCodeDQP,
Bool isChromaQpAdjCoded,
TComTU rTu,
const Int  quadtreeTULog2MinSizeInCU 
)
private

Definition at line 373 of file TDecEntropy.cpp.

Member Data Documentation

TDecEntropyIf* TDecEntropy::m_pcEntropyDecoderIf
private

Definition at line 119 of file TDecEntropy.h.

TComPrediction* TDecEntropy::m_pcPrediction
private

Definition at line 120 of file TDecEntropy.h.


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