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

entropy encoder class More...

#include <TEncEntropy.h>

Collaboration diagram for TEncEntropy:
Collaboration graph

Public Member Functions

Void setBitstream (TComBitIf *p)
Void resetBits ()
UInt getNumberOfWrittenBits ()
Void resetEntropy ()
SliceType determineCabacInitIdx ()
Void encodeSAOBlkParam (SAOBlkParam &saoBlkParam, Bool *sliceEnabled, Bool leftMergeAvail, Bool aboveMergeAvail)

Public Attributes

Void setEntropyCoder (TEncEntropyIf *e, TComSlice *pcSlice)
Void encodeSliceHeader (TComSlice *pcSlice)
Void encodeTilesWPPEntryPoint (TComSlice *pSlice)
Void encodeTerminatingBit (UInt uiIsLast)
Void encodeSliceFinish ()
Void encodeVPS (const TComVPS *pcVPS)
Void encodeSPS (const TComSPS *pcSPS)
Void encodePPS (const TComPPS *pcPPS)
Void encodeSplitFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool bRD=false)
 encode split flag More...
Void encodeCUTransquantBypassFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
Void encodeSkipFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
Void encodePUWise (TComDataCU *pcCU, UInt uiAbsPartIdx)
 encode motion information for every PU block More...
Void encodeInterDirPU (TComDataCU *pcSubCU, UInt uiAbsPartIdx)
Void encodeRefFrmIdxPU (TComDataCU *pcSubCU, UInt uiAbsPartIdx, RefPicList eRefList)
 encode reference frame index for a PU block More...
Void encodeMvdPU (TComDataCU *pcSubCU, UInt uiAbsPartIdx, RefPicList eRefList)
 encode motion vector difference for a PU block More...
Void encodeMVPIdxPU (TComDataCU *pcSubCU, UInt uiAbsPartIdx, RefPicList eRefList)
Void encodeMergeFlag (TComDataCU *pcCU, UInt uiAbsPartIdx)
 encode merge flag More...
Void encodeMergeIndex (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
 encode merge index More...
Void encodePredMode (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
 encode prediction mode More...
Void encodePartSize (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool bRD=false)
 encode partition size More...
Void encodeIPCMInfo (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
Void encodePredInfo (TComDataCU *pcCU, UInt uiAbsPartIdx)
Void encodeIntraDirModeLuma (TComDataCU *pcCU, UInt absPartIdx, Bool isMultiplePU=false)
 encode intra direction for luma More...
Void encodeIntraDirModeChroma (TComDataCU *pcCU, UInt uiAbsPartIdx)
 encode intra direction for chroma More...
Void encodeTransformSubdivFlag (UInt uiSymbol, UInt uiCtx)
Void encodeQtCbf (TComTU &rTu, const ComponentID compID, const Bool lowestLevel)
Void encodeQtCbfZero (TComTU &rTu, const ChannelType chType)
Void encodeQtRootCbfZero (TComDataCU *pcCU)
Void encodeQtRootCbf (TComDataCU *pcCU, UInt uiAbsPartIdx)
Void encodeQP (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
Void encodeChromaQpAdjustment (TComDataCU *pcCU, UInt uiAbsPartIdx, Bool bRD=false)
 encode chroma qp adjustment More...
Void encodeCrossComponentPrediction (TComTU &rTu, ComponentID compID)
Void encodeCoeff (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool &bCodeDQP, Bool &codeChromaQpAdj)
 encode coefficients More...
Void encodeCoeffNxN (TComTU &rTu, TCoeff *pcCoef, const ComponentID compID)
Void estimateBit (estBitsSbacStruct *pcEstBitsSbac, Int width, Int height, ChannelType chType)
Void xEncodeTransform (Bool &bCodeDQP, Bool &codeChromaQpAdj, TComTU &rTu)
static Int countNonZeroCoeffs (TCoeff *pcCoef, UInt uiSize)

Detailed Description

entropy encoder class

Definition at line 121 of file TEncEntropy.h.

Member Function Documentation

SliceType TEncEntropy::determineCabacInitIdx ( )

Definition at line 129 of file TEncEntropy.h.

Void TEncEntropy::encodeSAOBlkParam ( SAOBlkParam saoBlkParam,
Bool sliceEnabled,
Bool  leftMergeAvail,
Bool  aboveMergeAvail 

Definition at line 181 of file TEncEntropy.h.

UInt TEncEntropy::getNumberOfWrittenBits ( )

Definition at line 127 of file TEncEntropy.h.

Void TEncEntropy::resetBits ( )

Definition at line 126 of file TEncEntropy.h.

Void TEncEntropy::resetEntropy ( )

Definition at line 128 of file TEncEntropy.h.

Void TEncEntropy::setBitstream ( TComBitIf p)

Definition at line 125 of file TEncEntropy.h.

Member Data Documentation

TEncEntropyIf* TEncEntropy::m_pcEntropyCoderIf

Definition at line 135 of file TEncEntropy.h.

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