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

CAVLC encoder class. More...

#include <TEncCavlc.h>

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

Public Member Functions

SliceType determineCabacInitIdx (const TComSlice *)
 
Void setBitstream (TComBitIf *p)
 
Void resetBits ()
 
UInt getNumberOfWrittenBits ()
 
Void codeSAOBlkParam (SAOBlkParam &, const BitDepths &, Bool *, Bool, Bool, Bool=false)
 
Void codeAlfCtrlFlag (ComponentID, UInt)
 
- Public Member Functions inherited from TEncEntropyIf
virtual ~TEncEntropyIf ()
 
 TEncCavlc ()
 
virtual ~TEncCavlc ()
 
Void resetEntropy (const TComSlice *pSlice)
 
Void codeVPS (const TComVPS *pcVPS)
 
Void codeVUI (const TComVUI *pcVUI, const TComSPS *pcSPS)
 
Void codeSPS (const TComSPS *pcSPS)
 
Void codePPS (const TComPPS *pcPPS)
 
Void codeSliceHeader (TComSlice *pcSlice)
 
Void codePTL (const TComPTL *pcPTL, Bool profilePresentFlag, Int maxNumSubLayersMinus1)
 
Void codeProfileTier (const ProfileTierLevel *ptl, const Bool bIsSubLayer)
 
Void codeHrdParameters (const TComHRD *hrd, Bool commonInfPresentFlag, UInt maxNumSubLayersMinus1)
 
Void codeTilesWPPEntryPoint (TComSlice *pSlice)
 
Void codeTerminatingBit (UInt uilsLast)
 
Void codeSliceFinish ()
 
Void codeMVPIdx (TComDataCU *pcCU, UInt uiAbsPartIdx, RefPicList eRefList)
 
Void codeCUTransquantBypassFlag (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void codeSkipFlag (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void codeMergeFlag (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void codeMergeIndex (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void codeInterModeFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiEncMode)
 
Void codeSplitFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void codePartSize (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void codePredMode (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void codeIPCMInfo (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void codeTransformSubdivFlag (UInt uiSymbol, UInt uiCtx)
 
Void codeQtCbf (TComTU &rTu, const ComponentID compID, const Bool lowestLevel)
 
Void codeQtRootCbf (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void codeQtCbfZero (TComTU &rTu, const ChannelType chType)
 
Void codeQtRootCbfZero ()
 
Void codeIntraDirLumaAng (TComDataCU *pcCU, UInt absPartIdx, Bool isMultiple)
 
Void codeIntraDirChroma (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void codeInterDir (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void codeRefFrmIdx (TComDataCU *pcCU, UInt uiAbsPartIdx, RefPicList eRefList)
 
Void codeMvd (TComDataCU *pcCU, UInt uiAbsPartIdx, RefPicList eRefList)
 
Void codeCrossComponentPrediction (TComTU &rTu, ComponentID compID)
 
Void codeDeltaQP (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void codeChromaQpAdjustment (TComDataCU *pcCU, UInt uiAbsPartIdx)
 
Void codeCoeffNxN (TComTU &rTu, TCoeff *pcCoef, const ComponentID compID)
 
Void codeTransformSkipFlags (TComTU &rTu, ComponentID component)
 
Void estBit (estBitsSbacStruct *pcEstBitsSbac, Int width, Int height, ChannelType chType, COEFF_SCAN_TYPE scanType)
 
Void xCodePredWeightTable (TComSlice *pcSlice)
 Code weighted prediction tables. More...
 
Void codeScalingList (const TComScalingList &scalingList)
 
Void xCodeScalingList (const TComScalingList *scalingList, UInt sizeId, UInt listId)
 
Void codeExplicitRdpcmMode (TComTU &rTu, const ComponentID compID)
 
Void codeShortTermRefPicSet (const TComReferencePictureSet *pcRPS, Bool calledFromSliceHeader, Int idx)
 
Bool findMatchingLTRP (TComSlice *pcSlice, UInt *ltrpsIndex, Int ltrpPOC, Bool usedFlag)
 

Additional Inherited Members

- Protected Member Functions inherited from SyntaxElementWriter
 SyntaxElementWriter ()
 
virtual ~SyntaxElementWriter ()
 
Void setBitstream (TComBitIf *p)
 
UInt xConvertToUInt (Int iValue)
 
Void xWriteSCode (Int iCode, UInt uiLength)
 
Void xWriteCode (UInt uiCode, UInt uiLength)
 
Void xWriteUvlc (UInt uiCode)
 
Void xWriteSvlc (Int iCode)
 
Void xWriteFlag (UInt uiCode)
 
Void xWriteRbspTrailingBits ()
 
- Protected Attributes inherited from SyntaxElementWriter
TComBitIfm_pcBitIf
 

Detailed Description

CAVLC encoder class.

Definition at line 70 of file TEncCavlc.h.

Constructor & Destructor Documentation

TEncCavlc::TEncCavlc ( )

Definition at line 90 of file TEncCavlc.cpp.

TEncCavlc::~TEncCavlc ( )
virtual

Definition at line 95 of file TEncCavlc.cpp.

Member Function Documentation

Void TEncCavlc::codeAlfCtrlFlag ( ComponentID  ,
UInt   
)
inline

Definition at line 107 of file TEncCavlc.h.

Void TEncCavlc::codeChromaQpAdjustment ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 1333 of file TEncCavlc.cpp.

Void TEncCavlc::codeCoeffNxN ( TComTU rTu,
TCoeff pcCoef,
const ComponentID  compID 
)
virtual

Implements TEncEntropyIf.

Definition at line 1338 of file TEncCavlc.cpp.

Void TEncCavlc::codeCrossComponentPrediction ( TComTU rTu,
ComponentID  compID 
)
virtual

Implements TEncEntropyIf.

Definition at line 1316 of file TEncCavlc.cpp.

Void TEncCavlc::codeCUTransquantBypassFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 1237 of file TEncCavlc.cpp.

Void TEncCavlc::codeDeltaQP ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 1321 of file TEncCavlc.cpp.

Void TEncCavlc::codeExplicitRdpcmMode ( TComTU rTu,
const ComponentID  compID 
)
virtual

Implements TEncEntropyIf.

Definition at line 1518 of file TEncCavlc.cpp.

Void TEncCavlc::codeHrdParameters ( const TComHRD hrd,
Bool  commonInfPresentFlag,
UInt  maxNumSubLayersMinus1 
)

Definition at line 402 of file TEncCavlc.cpp.

Void TEncCavlc::codeInterDir ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 1301 of file TEncCavlc.cpp.

Void TEncCavlc::codeInterModeFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
UInt  uiEncMode 
)

Definition at line 1232 of file TEncCavlc.cpp.

Void TEncCavlc::codeIntraDirChroma ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 1296 of file TEncCavlc.cpp.

Void TEncCavlc::codeIntraDirLumaAng ( TComDataCU pcCU,
UInt  absPartIdx,
Bool  isMultiple 
)
virtual

Implements TEncEntropyIf.

Definition at line 1291 of file TEncCavlc.cpp.

Void TEncCavlc::codeIPCMInfo ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Code I_PCM information.

Parameters
pcCUpointer to CU
uiAbsPartIdxCU index
Returns
Void

Implements TEncEntropyIf.

Definition at line 1286 of file TEncCavlc.cpp.

Void TEncCavlc::codeMergeFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 1222 of file TEncCavlc.cpp.

Void TEncCavlc::codeMergeIndex ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 1227 of file TEncCavlc.cpp.

Void TEncCavlc::codeMvd ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
RefPicList  eRefList 
)
virtual

Implements TEncEntropyIf.

Definition at line 1311 of file TEncCavlc.cpp.

Void TEncCavlc::codeMVPIdx ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
RefPicList  eRefList 
)
virtual

Implements TEncEntropyIf.

Definition at line 1207 of file TEncCavlc.cpp.

Void TEncCavlc::codePartSize ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Implements TEncEntropyIf.

Definition at line 1212 of file TEncCavlc.cpp.

Void TEncCavlc::codePPS ( const TComPPS pcPPS)
virtual

Implements TEncEntropyIf.

Definition at line 166 of file TEncCavlc.cpp.

Void TEncCavlc::codePredMode ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 1217 of file TEncCavlc.cpp.

Void TEncCavlc::codeProfileTier ( const ProfileTierLevel ptl,
const Bool  bIsSubLayer 
)

Definition at line 1106 of file TEncCavlc.cpp.

Void TEncCavlc::codePTL ( const TComPTL pcPTL,
Bool  profilePresentFlag,
Int  maxNumSubLayersMinus1 
)

Definition at line 1067 of file TEncCavlc.cpp.

Void TEncCavlc::codeQtCbf ( TComTU rTu,
const ComponentID  compID,
const Bool  lowestLevel 
)
virtual

Implements TEncEntropyIf.

Definition at line 1257 of file TEncCavlc.cpp.

Void TEncCavlc::codeQtCbfZero ( TComTU rTu,
const ChannelType  chType 
)
virtual

Implements TEncEntropyIf.

Definition at line 1267 of file TEncCavlc.cpp.

Void TEncCavlc::codeQtRootCbf ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 1262 of file TEncCavlc.cpp.

Void TEncCavlc::codeQtRootCbfZero ( )
virtual

Implements TEncEntropyIf.

Definition at line 1271 of file TEncCavlc.cpp.

Void TEncCavlc::codeRefFrmIdx ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
RefPicList  eRefList 
)
virtual

Implements TEncEntropyIf.

Definition at line 1306 of file TEncCavlc.cpp.

Void TEncCavlc::codeSAOBlkParam ( SAOBlkParam ,
const BitDepths ,
Bool ,
Bool  ,
Bool  ,
Bool  = false 
)
inlinevirtual

Implements TEncEntropyIf.

Definition at line 101 of file TEncCavlc.h.

Void TEncCavlc::codeScalingList ( const TComScalingList scalingList)

code quantization matrix

Parameters
scalingListquantization matrix information

Definition at line 1438 of file TEncCavlc.cpp.

Void TEncCavlc::codeShortTermRefPicSet ( const TComReferencePictureSet pcRPS,
Bool  calledFromSliceHeader,
Int  idx 
)
protected

Definition at line 109 of file TEncCavlc.cpp.

Void TEncCavlc::codeSkipFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
virtual

Implements TEncEntropyIf.

Definition at line 1242 of file TEncCavlc.cpp.

Void TEncCavlc::codeSliceFinish ( )
virtual

Implements TEncEntropyIf.

Definition at line 1203 of file TEncCavlc.cpp.

Void TEncCavlc::codeSliceHeader ( TComSlice pcSlice)
virtual

Implements TEncEntropyIf.

Definition at line 720 of file TEncCavlc.cpp.

Void TEncCavlc::codeSplitFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Implements TEncEntropyIf.

Definition at line 1247 of file TEncCavlc.cpp.

Void TEncCavlc::codeSPS ( const TComSPS pcSPS)
virtual

Implements TEncEntropyIf.

Definition at line 473 of file TEncCavlc.cpp.

Void TEncCavlc::codeTerminatingBit ( UInt  uilsLast)
virtual

Implements TEncEntropyIf.

Definition at line 1199 of file TEncCavlc.cpp.

Void TEncCavlc::codeTilesWPPEntryPoint ( TComSlice pSlice)
virtual

Write tiles and wavefront substreams sizes for the slice header (entry points).

Parameters
pSliceTComSlice structure that contains the substream size information.

Implements TEncEntropyIf.

Definition at line 1163 of file TEncCavlc.cpp.

Void TEncCavlc::codeTransformSkipFlags ( TComTU rTu,
ComponentID  component 
)
virtual

Implements TEncEntropyIf.

Definition at line 1276 of file TEncCavlc.cpp.

Void TEncCavlc::codeTransformSubdivFlag ( UInt  uiSymbol,
UInt  uiCtx 
)
virtual

Implements TEncEntropyIf.

Definition at line 1252 of file TEncCavlc.cpp.

Void TEncCavlc::codeVPS ( const TComVPS pcVPS)
virtual

Implements TEncEntropyIf.

Definition at line 646 of file TEncCavlc.cpp.

Void TEncCavlc::codeVUI ( const TComVUI pcVUI,
const TComSPS pcSPS 
)

Definition at line 316 of file TEncCavlc.cpp.

SliceType TEncCavlc::determineCabacInitIdx ( const TComSlice )
inlinevirtual

Implements TEncEntropyIf.

Definition at line 83 of file TEncCavlc.h.

Void TEncCavlc::estBit ( estBitsSbacStruct pcEstBitsSbac,
Int  width,
Int  height,
ChannelType  chType,
COEFF_SCAN_TYPE  scanType 
)
virtual

Implements TEncEntropyIf.

Definition at line 1343 of file TEncCavlc.cpp.

Bool TEncCavlc::findMatchingLTRP ( TComSlice pcSlice,
UInt ltrpsIndex,
Int  ltrpPOC,
Bool  usedFlag 
)
protected

Definition at line 1503 of file TEncCavlc.cpp.

UInt TEncCavlc::getNumberOfWrittenBits ( )
inlinevirtual

Implements TEncEntropyIf.

Definition at line 87 of file TEncCavlc.h.

Void TEncCavlc::resetBits ( )
inlinevirtual

Implements TEncEntropyIf.

Definition at line 86 of file TEncCavlc.h.

Void TEncCavlc::resetEntropy ( const TComSlice pSlice)
virtual

Implements TEncEntropyIf.

Definition at line 104 of file TEncCavlc.cpp.

Void TEncCavlc::setBitstream ( TComBitIf p)
inlinevirtual

Implements TEncEntropyIf.

Definition at line 85 of file TEncCavlc.h.

Void TEncCavlc::xCodePredWeightTable ( TComSlice pcSlice)

Code weighted prediction tables.

Definition at line 1354 of file TEncCavlc.cpp.

Void TEncCavlc::xCodeScalingList ( const TComScalingList scalingList,
UInt  sizeId,
UInt  listId 
)

code DPCM

Parameters
scalingListquantization matrix information
sizeIdsize index
listIdlist index

Definition at line 1474 of file TEncCavlc.cpp.


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