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
TDecEntropy Class Reference

entropy decoder class More...

#include <TDecEntropy.h>

Collaboration diagram for TDecEntropy:
Collaboration graph
[legend]

Public Member Functions

Void init (TComPrediction *p, TDecConformanceCheck *pConformanceCheck)
 
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, const Int prevTid0POC)
 
Void decodeTerminatingBit (UInt &ruiIsLast)
 
Void decodeRemainingBytes (Bool noTrailingBytesExpected)
 
TDecEntropyIfgetEntropyDecoder ()
 

Private Attributes

TDecEntropyIfm_pcEntropyDecoderIf
 
TComPredictionm_pcPrediction
 
TDecConformanceCheckm_pConformanceCheck
 
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 117 of file TDecEntropy.h.

Member Function Documentation

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

Definition at line 628 of file TDecEntropy.cpp.

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

decode coefficients

Definition at line 638 of file TDecEntropy.cpp.

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

Definition at line 64 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 306 of file TDecEntropy.cpp.

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

Definition at line 158 of file TDecEntropy.cpp.

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

Definition at line 153 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 141 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 77 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 90 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 352 of file TDecEntropy.cpp.

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

Definition at line 360 of file TDecEntropy.cpp.

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

Definition at line 107 of file TDecEntropy.cpp.

Void TDecEntropy::decodePPS ( TComPPS pcPPS)
inline

Definition at line 147 of file TDecEntropy.h.

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

Definition at line 112 of file TDecEntropy.cpp.

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

Definition at line 102 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 182 of file TDecEntropy.cpp.

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

Definition at line 620 of file TDecEntropy.cpp.

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

Definition at line 322 of file TDecEntropy.cpp.

Void TDecEntropy::decodeRemainingBytes ( Bool  noTrailingBytesExpected)
inline

Definition at line 151 of file TDecEntropy.h.

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

Definition at line 58 of file TDecEntropy.cpp.

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

Definition at line 148 of file TDecEntropy.h.

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

Definition at line 97 of file TDecEntropy.cpp.

Void TDecEntropy::decodeSPS ( TComSPS pcSPS)
inline

Definition at line 146 of file TDecEntropy.h.

Void TDecEntropy::decodeTerminatingBit ( UInt ruiIsLast)
inline

Definition at line 150 of file TDecEntropy.h.

Void TDecEntropy::decodeVPS ( TComVPS pcVPS)
inline

Definition at line 145 of file TDecEntropy.h.

TDecEntropyIf* TDecEntropy::getEntropyDecoder ( )
inline

Definition at line 153 of file TDecEntropy.h.

Void TDecEntropy::init ( TComPrediction p,
TDecConformanceCheck pConformanceCheck 
)
inline

Definition at line 131 of file TDecEntropy.h.

Void TDecEntropy::resetEntropy ( TComSlice p)
inline

Definition at line 143 of file TDecEntropy.h.

Void TDecEntropy::setBitstream ( TComInputBitstream p)
inline

Definition at line 142 of file TDecEntropy.h.

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

Definition at line 397 of file TDecEntropy.cpp.

Member Data Documentation

TDecEntropyIf* TDecEntropy::m_pcEntropyDecoderIf
private

Definition at line 120 of file TDecEntropy.h.

TDecConformanceCheck* TDecEntropy::m_pConformanceCheck
private

Definition at line 123 of file TDecEntropy.h.

TComPrediction* TDecEntropy::m_pcPrediction
private

Definition at line 121 of file TDecEntropy.h.


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