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

CAVLC decoder class. More...

#include <TDecCAVLC.h>

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

Public Member Functions

Void resetEntropy (TComSlice *)
 rest entropy coder by intial QP and IDC in CABAC More...
 
Void setBitstream (TComInputBitstream *p)
 
Void parseSEI (SEIMessages &)
 
- Public Member Functions inherited from SyntaxElementParser
Void setBitstream (TComInputBitstream *p)
 
TComInputBitstreamgetBitstream ()
 
- Public Member Functions inherited from TDecEntropyIf
virtual ~TDecEntropyIf ()
 
 TDecCavlc ()
 
virtual ~TDecCavlc ()
 
Void parseTransformSubdivFlag (UInt &ruiSubdivFlag, UInt uiLog2TransformBlockSize)
 
Void parseQtCbf (class TComTU &rTu, const ComponentID compID, const Bool lowestLevel)
 
Void parseQtRootCbf (UInt uiAbsPartIdx, UInt &uiQtRootCbf)
 
Void parseVPS (TComVPS *pcVPS)
 
Void parseSPS (TComSPS *pcSPS)
 
Void parsePPS (TComPPS *pcPPS)
 
Void parseVUI (TComVUI *pcVUI, TComSPS *pcSPS)
 
Void parsePTL (TComPTL *rpcPTL, Bool profilePresentFlag, Int maxNumSubLayersMinus1)
 
Void parseProfileTier (ProfileTierLevel *ptl, const Bool bIsSubLayer)
 
Void parseHrdParameters (TComHRD *hrd, Bool cprms_present_flag, UInt tempLevelHigh)
 
Void parseSliceHeader (TComSlice *pcSlice, ParameterSetManager *parameterSetManager)
 
Void parseTerminatingBit (UInt &ruiBit)
 
Void parseRemainingBytes (Bool noTrailingBytesExpected)
 
Void parseMVPIdx (Int &riMVPIdx)
 
Void parseSkipFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void parseCUTransquantBypassFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void parseMergeFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx)
 
Void parseMergeIndex (TComDataCU *pcCU, UInt &ruiMergeIndex)
 
Void parseSplitFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
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 uiAbsPartAddr, UInt uiPartIdx, UInt uiDepth, RefPicList eRefList)
 
Void parseCrossComponentPrediction (class TComTU &rTu, ComponentID compID)
 
Void parseDeltaQP (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void parseChromaQpAdjustment (TComDataCU *cu, UInt absPartIdx, UInt depth)
 
Void parseCoeffNxN (class TComTU &rTu, ComponentID compID)
 
Void parseTransformSkipFlags (class TComTU &rTu, ComponentID component)
 
Void parseIPCMInfo (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void xParsePredWeightTable (TComSlice *pcSlice, const TComSPS *sps)
 parse explicit wp tables More...
 
Void parseScalingList (TComScalingList *scalingList)
 
Void xDecodeScalingList (TComScalingList *scalingList, UInt sizeId, UInt listId)
 
Void parseExplicitRdpcmMode (TComTU &rTu, ComponentID compID)
 
Void parseShortTermRefPicSet (TComSPS *pcSPS, TComReferencePictureSet *pcRPS, Int idx)
 
Bool xMoreRbspData ()
 

Additional Inherited Members

- Protected Member Functions inherited from SyntaxElementParser
 SyntaxElementParser ()
 
virtual ~SyntaxElementParser ()
 
Void xReadCode (UInt length, UInt &val)
 
Void xReadUvlc (UInt &val)
 
Void xReadSvlc (Int &val)
 
Void xReadFlag (UInt &val)
 
Void xReadCodeTr (UInt length, UInt &rValue, const Char *pSymbolName)
 
Void xReadUvlcTr (UInt &rValue, const Char *pSymbolName)
 
Void xReadSvlcTr (Int &rValue, const Char *pSymbolName)
 
Void xReadFlagTr (UInt &rValue, const Char *pSymbolName)
 
- Protected Attributes inherited from SyntaxElementParser
TComInputBitstreamm_pcBitstream
 

Detailed Description

CAVLC decoder class.

Definition at line 56 of file TDecCAVLC.h.

Constructor & Destructor Documentation

TDecCavlc::TDecCavlc ( )

Definition at line 72 of file TDecCAVLC.cpp.

TDecCavlc::~TDecCavlc ( )
virtual

Definition at line 76 of file TDecCAVLC.cpp.

Member Function Documentation

Void TDecCavlc::parseChromaQpAdjustment ( TComDataCU cu,
UInt  absPartIdx,
UInt  depth 
)
virtual

Implements TDecEntropyIf.

Definition at line 1748 of file TDecCAVLC.cpp.

Void TDecCavlc::parseCoeffNxN ( class TComTU rTu,
ComponentID  compID 
)
virtual

Implements TDecEntropyIf.

Definition at line 1753 of file TDecCAVLC.cpp.

Void TDecCavlc::parseCrossComponentPrediction ( class TComTU rTu,
ComponentID  compID 
)
virtual

Implements TDecEntropyIf.

Definition at line 1723 of file TDecCAVLC.cpp.

Void TDecCavlc::parseCUTransquantBypassFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Implements TDecEntropyIf.

Definition at line 1660 of file TDecCAVLC.cpp.

Void TDecCavlc::parseDeltaQP ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Implements TDecEntropyIf.

Definition at line 1728 of file TDecCAVLC.cpp.

Void TDecCavlc::parseExplicitRdpcmMode ( TComTU rTu,
ComponentID  compID 
)
virtual

Implements TDecEntropyIf.

Definition at line 2025 of file TDecCAVLC.cpp.

Void TDecCavlc::parseHrdParameters ( TComHRD hrd,
Bool  cprms_present_flag,
UInt  tempLevelHigh 
)

Definition at line 505 of file TDecCAVLC.cpp.

Void TDecCavlc::parseInterDir ( TComDataCU pcCU,
UInt ruiInterDir,
UInt  uiAbsPartIdx 
)
virtual

Implements TDecEntropyIf.

Definition at line 1708 of file TDecCAVLC.cpp.

Void TDecCavlc::parseIntraDirChroma ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Implements TDecEntropyIf.

Definition at line 1703 of file TDecCAVLC.cpp.

Void TDecCavlc::parseIntraDirLumaAng ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Implements TDecEntropyIf.

Definition at line 1698 of file TDecCAVLC.cpp.

Void TDecCavlc::parseIPCMInfo ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Parse I_PCM information.

Parameters
pcCUpointer to CU
uiAbsPartIdxCU index
uiDepthCU depth
Returns
Void

If I_PCM flag indicates that the CU is I_PCM, parse its PCM alignment bits and codes.

Implements TDecEntropyIf.

Definition at line 1693 of file TDecCAVLC.cpp.

Void TDecCavlc::parseMergeFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
UInt  uiPUIdx 
)
virtual

Implements TDecEntropyIf.

Definition at line 1778 of file TDecCAVLC.cpp.

Void TDecCavlc::parseMergeIndex ( TComDataCU pcCU,
UInt ruiMergeIndex 
)
virtual

Implements TDecEntropyIf.

Definition at line 1783 of file TDecCAVLC.cpp.

Void TDecCavlc::parseMvd ( TComDataCU pcCU,
UInt  uiAbsPartAddr,
UInt  uiPartIdx,
UInt  uiDepth,
RefPicList  eRefList 
)
virtual

Implements TDecEntropyIf.

Definition at line 1718 of file TDecCAVLC.cpp.

Void TDecCavlc::parseMVPIdx ( Int riMVPIdx)
virtual

Implements TDecEntropyIf.

Definition at line 1665 of file TDecCAVLC.cpp.

Void TDecCavlc::parsePartSize ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Implements TDecEntropyIf.

Definition at line 1675 of file TDecCAVLC.cpp.

Void TDecCavlc::parsePPS ( TComPPS pcPPS)
virtual

Implements TDecEntropyIf.

Definition at line 181 of file TDecCAVLC.cpp.

Void TDecCavlc::parsePredMode ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Implements TDecEntropyIf.

Definition at line 1680 of file TDecCAVLC.cpp.

Void TDecCavlc::parseProfileTier ( ProfileTierLevel ptl,
const Bool  bIsSubLayer 
)

Definition at line 1550 of file TDecCAVLC.cpp.

Void TDecCavlc::parsePTL ( TComPTL rpcPTL,
Bool  profilePresentFlag,
Int  maxNumSubLayersMinus1 
)

Definition at line 1512 of file TDecCAVLC.cpp.

Void TDecCavlc::parseQtCbf ( class TComTU rTu,
const ComponentID  compID,
const Bool  lowestLevel 
)
virtual

Implements TDecEntropyIf.

Definition at line 1763 of file TDecCAVLC.cpp.

Void TDecCavlc::parseQtRootCbf ( UInt  uiAbsPartIdx,
UInt uiQtRootCbf 
)
virtual

Implements TDecEntropyIf.

Definition at line 1768 of file TDecCAVLC.cpp.

Void TDecCavlc::parseRefFrmIdx ( TComDataCU pcCU,
Int riRefFrmIdx,
RefPicList  eRefList 
)
virtual

Implements TDecEntropyIf.

Definition at line 1713 of file TDecCAVLC.cpp.

Void TDecCavlc::parseRemainingBytes ( Bool  noTrailingBytesExpected)
virtual

Implements TDecEntropyIf.

Definition at line 1634 of file TDecCAVLC.cpp.

Void TDecCavlc::parseScalingList ( TComScalingList scalingList)

decode quantization matrix

Parameters
scalingListquantization matrix information

Definition at line 1915 of file TDecCAVLC.cpp.

Void TDecCavlc::parseSEI ( SEIMessages )
Void TDecCavlc::parseShortTermRefPicSet ( TComSPS pcSPS,
TComReferencePictureSet pcRPS,
Int  idx 
)
protected

Definition at line 85 of file TDecCAVLC.cpp.

Void TDecCavlc::parseSkipFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Implements TDecEntropyIf.

Definition at line 1655 of file TDecCAVLC.cpp.

Void TDecCavlc::parseSliceHeader ( TComSlice pcSlice,
ParameterSetManager parameterSetManager 
)
virtual

KS: need to add error handling code here, if PPS is not available

KS: need to add error handling code here, if SPS is not available

Implements TDecEntropyIf.

Definition at line 918 of file TDecCAVLC.cpp.

Void TDecCavlc::parseSplitFlag ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
virtual

Implements TDecEntropyIf.

Definition at line 1670 of file TDecCAVLC.cpp.

Void TDecCavlc::parseSPS ( TComSPS pcSPS)
virtual

Implements TDecEntropyIf.

Definition at line 583 of file TDecCAVLC.cpp.

Void TDecCavlc::parseTerminatingBit ( UInt ruiBit)
virtual

Implements TDecEntropyIf.

Definition at line 1620 of file TDecCAVLC.cpp.

Void TDecCavlc::parseTransformSkipFlags ( class TComTU rTu,
ComponentID  component 
)
virtual

Implements TDecEntropyIf.

Definition at line 1773 of file TDecCAVLC.cpp.

Void TDecCavlc::parseTransformSubdivFlag ( UInt ruiSubdivFlag,
UInt  uiLog2TransformBlockSize 
)
virtual

Implements TDecEntropyIf.

Definition at line 1758 of file TDecCAVLC.cpp.

Void TDecCavlc::parseVPS ( TComVPS pcVPS)
virtual

Implements TDecEntropyIf.

Definition at line 826 of file TDecCAVLC.cpp.

Void TDecCavlc::parseVUI ( TComVUI pcVUI,
TComSPS pcSPS 
)

Definition at line 410 of file TDecCAVLC.cpp.

Void TDecCavlc::resetEntropy ( TComSlice )
inlinevirtual

rest entropy coder by intial QP and IDC in CABAC

Implements TDecEntropyIf.

Definition at line 69 of file TDecCAVLC.h.

Void TDecCavlc::setBitstream ( TComInputBitstream p)
inlinevirtual

Implements TDecEntropyIf.

Definition at line 70 of file TDecCAVLC.h.

Void TDecCavlc::xDecodeScalingList ( TComScalingList scalingList,
UInt  sizeId,
UInt  listId 
)

decode DPCM

Parameters
scalingListquantization matrix information
sizeIdsize index
listIdlist index

Definition at line 1972 of file TDecCAVLC.cpp.

Bool TDecCavlc::xMoreRbspData ( )
protected

Definition at line 1996 of file TDecCAVLC.cpp.

Void TDecCavlc::xParsePredWeightTable ( TComSlice pcSlice,
const TComSPS sps 
)

parse explicit wp tables

Definition at line 1793 of file TDecCAVLC.cpp.


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