HEVC Test Model (HM)  HM-16.3
Classes
TLibDecoder - Library containing encoder functionality

Classes

class  InputByteStream
 
struct  InputNALUnit
 
class  SyntaxElementParser
 
class  TDecBinCABAC
 
class  TDecCavlc
 CAVLC decoder class. More...
 
class  TDecCu
 CU decoder class. More...
 
class  TDecEntropyIf
 entropy decoder pure class More...
 
class  TDecGop
 GOP decoder class. More...
 
class  TDecSlice
 slice decoder class More...
 
class  TDecTop
 decoder class More...
 
static Void _byteStreamNALUnit (InputByteStream &bs, vector< uint8_t > &nalUnit, AnnexBStats &stats)
 
Bool byteStreamNALUnit (InputByteStream &bs, vector< uint8_t > &nalUnit, AnnexBStats &stats)
 
static Void convertPayloadToRBSP (vector< uint8_t > &nalUnitBuf, TComInputBitstream *bitstream, Bool isVclNalUnit)
 
Void readNalUnitHeader (InputNALUnit &nalu)
 
Void read (InputNALUnit &nalu, vector< uint8_t > &nalUnitBuf)
 
Void xTraceSEIHeader ()
 
Void xTraceSEIMessageType (SEI::PayloadType payloadType)
 
static Void output_sei_message_header (SEI &sei, std::ostream *pDecodedMessageOutputStream, UInt payloadSize)
 
Void SyntaxElementParser::xReadCodeTr (UInt length, UInt &rValue, const Char *pSymbolName)
 
 TDecBinCABAC::TDecBinCABAC ()
 
virtual TDecBinCABAC::~TDecBinCABAC ()
 
Void TDecBinCABAC::init (TComInputBitstream *pcTComBitstream)
 
Void TDecBinCABAC::uninit ()
 
Void TDecBinCABAC::start ()
 
Void TDecBinCABAC::finish ()
 
Void TDecBinCABAC::decodeBin (UInt &ruiBin, ContextModel &rcCtxModel)
 
Void TDecBinCABAC::decodeBinEP (UInt &ruiBin)
 
Void TDecBinCABAC::decodeBinsEP (UInt &ruiBin, Int numBins)
 
Void TDecBinCABAC::decodeAlignedBinsEP (UInt &ruiBins, Int numBins)
 
Void TDecBinCABAC::align ()
 
Void TDecBinCABAC::decodeBinTrm (UInt &ruiBin)
 
Void TDecBinCABAC::xReadPCMCode (UInt uiLength, UInt &ruiCode)
 
Void TDecBinCABAC::copyState (const TDecBinIf *pcTDecBinIf)
 
Void xTraceSPSHeader (const TComSPS *pSPS)
 
Void xTracePPSHeader (const TComPPS *pPPS)
 
Void xTraceSliceHeader (const TComSlice *pSlice)
 
 TDecCu::TDecCu ()
 
virtual TDecCu::~TDecCu ()
 
Void TDecCu::init (TDecEntropy *pcEntropyDecoder, TComTrQuant *pcTrQuant, TComPrediction *pcPrediction)
 initialize access channels More...
 
Void TDecCu::create (UInt uiMaxDepth, UInt uiMaxWidth, UInt uiMaxHeight, ChromaFormat chromaFormatIDC)
 create internal buffers More...
 
Void TDecCu::destroy ()
 destroy internal buffers More...
 
Void TDecCu::decodeCtu (TComDataCU *pCtu, Bool &isLastCtuOfSliceSegment)
 decode Ctu information More...
 
Void TDecCu::decompressCtu (TComDataCU *pCtu)
 reconstruct Ctu information More...
 
Void TDecCu::xDecodeCU (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool &isLastCtuOfSliceSegment)
 decode CU block recursively More...
 
Void TDecCu::xFinishDecodeCU (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool &isLastCtuOfSliceSegment)
 
Bool TDecCu::xDecodeSliceEnd (TComDataCU *pcCU, UInt uiAbsPartIdx)
 decode end-of-slice flag More...
 
Void TDecCu::xDecompressCU (TComDataCU *pCtu, UInt uiAbsPartIdx, UInt uiDepth)
 
Void TDecCu::xReconInter (TComDataCU *pcCU, UInt uiDepth)
 
Void TDecCu::xReconIntraQT (TComDataCU *pcCU, UInt uiDepth)
 
Void TDecCu::xIntraRecBlk (TComYuv *pcRecoYuv, TComYuv *pcPredYuv, TComYuv *pcResiYuv, const ComponentID component, TComTU &rTu)
 
Void TDecCu::xIntraRecQT (TComYuv *pcRecoYuv, TComYuv *pcPredYuv, TComYuv *pcResiYuv, const ChannelType chType, TComTU &rTu)
 
Void TDecCu::xReconPCM (TComDataCU *pcCU, UInt uiDepth)
 
Void TDecCu::xDecodeInterTexture (TComDataCU *pcCU, UInt uiDepth)
 
Void TDecCu::xDecodePCMTexture (TComDataCU *pcCU, const UInt uiPartIdx, const Pel *piPCM, Pel *piReco, const UInt uiStride, const UInt uiWidth, const UInt uiHeight, const ComponentID compID)
 
Void TDecCu::xCopyToPic (TComDataCU *pcCU, TComPic *pcPic, UInt uiZorderIdx, UInt uiDepth)
 
Void TDecCu::xFillPCMBuffer (TComDataCU *pCU, UInt depth)
 
Void TDecEntropy::setEntropyDecoder (TDecEntropyIf *p)
 
static Void calcAndPrintHashStatus (TComPicYuv &pic, const SEIDecodedPictureHash *pictureHashSEI)
 
 TDecSbac::TDecSbac ()
 
virtual TDecSbac::~TDecSbac ()
 
Void TDecSbac::load (const TDecSbac *pSrc)
 
Void TDecSbac::loadContexts (const TDecSbac *pSrc)
 
Void TDecSbac::xCopyFrom (const TDecSbac *pSrc)
 
Void TDecSbac::xCopyContextsFrom (const TDecSbac *pSrc)
 
Void TDecSbac::resetEntropy (TComSlice *pSlice)
 
Void TDecSbac::parseTerminatingBit (UInt &ruiBit)
 
Void TDecSbac::parseRemainingBytes (Bool noTrailingBytesExpected)
 
Void TDecSbac::parseMVPIdx (Int &riMVPIdx)
 
Void TDecSbac::parseSaoMaxUvlc (UInt &val, UInt maxSymbol)
 
Void TDecSbac::parseSaoMerge (UInt &ruiVal)
 
Void TDecSbac::parseSaoTypeIdx (UInt &ruiVal)
 
Void TDecSbac::parseSaoUflc (UInt uiLength, UInt &ruiVal)
 
Void TDecSbac::parseSAOBlkParam (SAOBlkParam &saoBlkParam, Bool *sliceEnabled, Bool leftMergeAvail, Bool aboveMergeAvail)
 
Void TDecSbac::parseSaoSign (UInt &val)
 
Void TDecSbac::parseSkipFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void TDecSbac::parseCUTransquantBypassFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void TDecSbac::parseSplitFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void TDecSbac::parseMergeFlag (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx)
 
Void TDecSbac::parseMergeIndex (TComDataCU *pcCU, UInt &ruiMergeIndex)
 
Void TDecSbac::parsePartSize (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void TDecSbac::parsePredMode (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void TDecSbac::parseIntraDirLumaAng (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void TDecSbac::parseIntraDirChroma (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void TDecSbac::parseInterDir (TComDataCU *pcCU, UInt &ruiInterDir, UInt uiAbsPartIdx)
 
Void TDecSbac::parseRefFrmIdx (TComDataCU *pcCU, Int &riRefFrmIdx, RefPicList eRefList)
 
Void TDecSbac::parseMvd (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth, RefPicList eRefList)
 
Void TDecSbac::parseCrossComponentPrediction (class TComTU &rTu, ComponentID compID)
 
Void TDecSbac::parseTransformSubdivFlag (UInt &ruiSubdivFlag, UInt uiLog2TransformBlockSize)
 
Void TDecSbac::parseQtCbf (TComTU &rTu, const ComponentID compID, const Bool lowestLevel)
 
Void TDecSbac::parseQtRootCbf (UInt uiAbsPartIdx, UInt &uiQtRootCbf)
 
Void TDecSbac::parseDeltaQP (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void TDecSbac::parseChromaQpAdjustment (TComDataCU *cu, UInt absPartIdx, UInt depth)
 
Void TDecSbac::parseIPCMInfo (TComDataCU *pcCU, UInt uiAbsPartIdx, UInt uiDepth)
 
Void TDecSbac::parseLastSignificantXY (UInt &uiPosLastX, UInt &uiPosLastY, Int width, Int height, ComponentID component, UInt uiScanIdx)
 
Void TDecSbac::parseCoeffNxN (class TComTU &rTu, ComponentID compID)
 
Void TDecSbac::parseTransformSkipFlags (class TComTU &rTu, ComponentID component)
 
Void TDecSbac::parseExplicitRdpcmMode (TComTU &rTu, ComponentID compID)
 
Void TDecSbac::xReadUnarySymbol (UInt &ruiSymbol, ContextModel *pcSCModel, Int iOffset)
 
Void TDecSbac::xReadUnaryMaxSymbol (UInt &ruiSymbol, ContextModel *pcSCModel, Int iOffset, UInt uiMaxSymbol)
 
Void TDecSbac::xReadEpExGolomb (UInt &ruiSymbol, UInt uiCount)
 
Void TDecSbac::xReadCoefRemainExGolomb (UInt &rSymbol, UInt &rParam, const Bool useLimitedPrefixLength, const ChannelType channelType)
 
 TDecSlice::TDecSlice ()
 
virtual TDecSlice::~TDecSlice ()
 
Void TDecSlice::init (TDecEntropy *pcEntropyDecoder, TDecCu *pcMbDecoder)
 
Void TDecSlice::create ()
 
Void TDecSlice::destroy ()
 
Void TDecSlice::decompressSlice (TComInputBitstream **ppcSubstreams, TComPic *pcPic, TDecSbac *pcSbacDecoder)
 
 TDecTop::TDecTop ()
 

Detailed Description

Function Documentation

static Void _byteStreamNALUnit ( InputByteStream bs,
vector< uint8_t > &  nalUnit,
AnnexBStats stats 
)
static

Parse an AVC AnnexB Bytestream bs to extract a single nalUnit while accumulating bytestream statistics into stats.

If EOF occurs while trying to extract a NALunit, an exception of std::ios_base::failure is thrown. The contsnts of stats will be correct at this point.

Definition at line 62 of file AnnexBread.cpp.

Void TDecBinCABAC::align ( )
virtual

Implements TDecBinIf.

Definition at line 284 of file TDecBinCoderCABAC.cpp.

Bool byteStreamNALUnit ( InputByteStream bs,
vector< uint8_t > &  nalUnit,
AnnexBStats stats 
)

Parse an AVC AnnexB Bytestream bs to extract a single nalUnit while accumulating bytestream statistics into stats.

Returns false if EOF was reached (NB, nalunit data may be valid), otherwise true.

Definition at line 182 of file AnnexBread.cpp.

static Void calcAndPrintHashStatus ( TComPicYuv pic,
const SEIDecodedPictureHash pictureHashSEI 
)
static

Calculate and print hash for pic, compare to picture_digest SEI if present in seis. seis may be NULL. Hash is printed to stdout, in a manner suitable for the status line. Theformat is: [Hash_type:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,(yyy)] Where, x..x is the hash yyy has the following meanings: OK - calculated hash matches the SEI message ***ERROR*** - calculated hash does not match the SEI message unk - no SEI message was available for comparison

Definition at line 209 of file TDecGop.cpp.

static Void convertPayloadToRBSP ( vector< uint8_t > &  nalUnitBuf,
TComInputBitstream bitstream,
Bool  isVclNalUnit 
)
static

Definition at line 55 of file NALread.cpp.

Void TDecBinCABAC::copyState ( const TDecBinIf pcTDecBinIf)
virtual
  • Copy CABAC state.
Parameters
pcTDecBinIfThe source CABAC engine.

Implements TDecBinIf.

Definition at line 97 of file TDecBinCoderCABAC.cpp.

Void TDecSlice::create ( )

Definition at line 55 of file TDecSlice.cpp.

Void TDecCu::create ( UInt  uiMaxDepth,
UInt  uiMaxWidth,
UInt  uiMaxHeight,
ChromaFormat  chromaFormatIDC 
)

create internal buffers

Parameters
uiMaxDepthtotal number of allowable depth
uiMaxWidthlargest CU width
uiMaxHeightlargest CU height
chromaFormatIDCchroma format

Definition at line 73 of file TDecCu.cpp.

Void TDecBinCABAC::decodeAlignedBinsEP ( UInt ruiBins,
Int  numBins 
)

Definition at line 295 of file TDecBinCoderCABAC.cpp.

Void TDecBinCABAC::decodeBin ( UInt ruiBin,
ContextModel rcCtxModel 
)
virtual

Implements TDecBinIf.

Definition at line 110 of file TDecBinCoderCABAC.cpp.

Void TDecBinCABAC::decodeBinEP ( UInt ruiBin)
virtual

Implements TDecBinIf.

Definition at line 186 of file TDecBinCoderCABAC.cpp.

Void TDecBinCABAC::decodeBinsEP ( UInt ruiBin,
Int  numBins 
)
virtual

Implements TDecBinIf.

Definition at line 222 of file TDecBinCoderCABAC.cpp.

Void TDecBinCABAC::decodeBinTrm ( UInt ruiBin)
virtual

Implements TDecBinIf.

Definition at line 338 of file TDecBinCoderCABAC.cpp.

Void TDecCu::decodeCtu ( TComDataCU pCtu,
Bool isLastCtuOfSliceSegment 
)

decode Ctu information

Parse a CTU.

Parameters
pCtu[in/out] pointer to CTU data structure
isLastCtuOfSliceSegment[out] true, if last CTU of the slice segment

Definition at line 128 of file TDecCu.cpp.

Void TDecCu::decompressCtu ( TComDataCU pCtu)

reconstruct Ctu information

Decoding process for a CTU.

Parameters
pCtu[in/out] pointer to CTU data structure

Definition at line 148 of file TDecCu.cpp.

Void TDecSlice::decompressSlice ( TComInputBitstream **  ppcSubstreams,
TComPic pcPic,
TDecSbac pcSbacDecoder 
)

Definition at line 69 of file TDecSlice.cpp.

Void TDecSlice::destroy ( )

Definition at line 59 of file TDecSlice.cpp.

Void TDecCu::destroy ( )

destroy internal buffers

Definition at line 105 of file TDecCu.cpp.

Void TDecBinCABAC::finish ( )
virtual

Implements TDecBinIf.

Definition at line 82 of file TDecBinCoderCABAC.cpp.

Void TDecBinCABAC::init ( TComInputBitstream pcTComBitstream)
virtual

Implements TDecBinIf.

Definition at line 57 of file TDecBinCoderCABAC.cpp.

Void TDecSlice::init ( TDecEntropy pcEntropyDecoder,
TDecCu pcMbDecoder 
)

Definition at line 63 of file TDecSlice.cpp.

Void TDecCu::init ( TDecEntropy pcEntropyDecoder,
TComTrQuant pcTrQuant,
TComPrediction pcPrediction 
)

initialize access channels

Definition at line 60 of file TDecCu.cpp.

Void TDecSbac::load ( const TDecSbac pSrc)

Definition at line 1842 of file TDecSbac.cpp.

Void TDecSbac::loadContexts ( const TDecSbac pSrc)

Definition at line 1847 of file TDecSbac.cpp.

static Void output_sei_message_header ( SEI sei,
std::ostream *  pDecodedMessageOutputStream,
UInt  payloadSize 
)
inlinestatic

Definition at line 101 of file SEIread.cpp.

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

parse chroma qp adjustment, converting to the internal table representation.

Returns
Void

Implements TDecEntropyIf.

Definition at line 969 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 1220 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 844 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 405 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 929 of file TDecSbac.cpp.

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

Performs CABAC decoding of the explicit RDPCM mode

Parameters
rTucurrent TU data structure
compIDcomponent identifier

Implements TDecEntropyIf.

Definition at line 1856 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 719 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 694 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 633 of file TDecSbac.cpp.

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

Parse I_PCM information.

Parameters
pcCU
uiAbsPartIdx
uiDepth
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 364 of file TDecSbac.cpp.

Void TDecSbac::parseLastSignificantXY ( UInt uiPosLastX,
UInt uiPosLastY,
Int  width,
Int  height,
ComponentID  component,
UInt  uiScanIdx 
)

Parse (X,Y) position of the last significant coefficient

Parameters
uiPosLastXreference to X component of last coefficient
uiPosLastYreference to Y component of last coefficient
widthBlock width
heightBlock height
componentchroma compinent ID
uiScanIdxscan type (zig-zag, hor, ver)

This method decodes the X and Y component within a block of the last significant coefficient.

Definition at line 1143 of file TDecSbac.cpp.

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

parse merge flag

Parameters
pcCU
uiAbsPartIdx
uiDepth
uiPUIdx
Returns
Void

Implements TDecEntropyIf.

Definition at line 454 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 470 of file TDecSbac.cpp.

Void TDecSbac::parseMvd ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiPartIdx,
UInt  uiDepth,
RefPicList  eRefList 
)
virtual

Implements TDecEntropyIf.

Definition at line 780 of file TDecSbac.cpp.

Void TDecSbac::parseMVPIdx ( Int riMVPIdx)
virtual

Implements TDecEntropyIf.

Definition at line 502 of file TDecSbac.cpp.

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

parse partition size

Parameters
pcCU
uiAbsPartIdx
uiDepth
Returns
Void

Implements TDecEntropyIf.

Definition at line 535 of file TDecSbac.cpp.

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

parse prediction mode

Parameters
pcCU
uiAbsPartIdx
uiDepth
Returns
Void

Implements TDecEntropyIf.

Definition at line 617 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 994 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 911 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 746 of file TDecSbac.cpp.

Void TDecSbac::parseRemainingBytes ( Bool  noTrailingBytesExpected)
virtual

Implements TDecEntropyIf.

Definition at line 186 of file TDecSbac.cpp.

Void TDecSbac::parseSAOBlkParam ( SAOBlkParam saoBlkParam,
Bool sliceEnabled,
Bool  leftMergeAvail,
Bool  aboveMergeAvail 
)

Definition at line 1683 of file TDecSbac.cpp.

Void TDecSbac::parseSaoMaxUvlc ( UInt val,
UInt  maxSymbol 
)

Definition at line 1609 of file TDecSbac.cpp.

Void TDecSbac::parseSaoMerge ( UInt ruiVal)

Definition at line 1649 of file TDecSbac.cpp.

Void TDecSbac::parseSaoSign ( UInt val)

Definition at line 1678 of file TDecSbac.cpp.

Void TDecSbac::parseSaoTypeIdx ( UInt ruiVal)

Definition at line 1656 of file TDecSbac.cpp.

Void TDecSbac::parseSaoUflc ( UInt  uiLength,
UInt ruiVal 
)

Definition at line 1644 of file TDecSbac.cpp.

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

parse skip flag

Parameters
pcCU
uiAbsPartIdx
uiDepth
Returns
Void

Implements TDecEntropyIf.

Definition at line 418 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 509 of file TDecSbac.cpp.

Void TDecSbac::parseTerminatingBit ( UInt ruiBit)
virtual

Implements TDecEntropyIf.

Definition at line 171 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 1096 of file TDecSbac.cpp.

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

Implements TDecEntropyIf.

Definition at line 897 of file TDecSbac.cpp.

Void read ( InputNALUnit nalu,
vector< uint8_t > &  nalUnitBuf 
)

create a NALunit structure with given header values and storage for a bitstream

Definition at line 147 of file NALread.cpp.

Void readNalUnitHeader ( InputNALUnit nalu)

Definition at line 105 of file NALread.cpp.

Void TDecSbac::resetEntropy ( TComSlice pSlice)
virtual

Implements TDecEntropyIf.

Definition at line 110 of file TDecSbac.cpp.

Void TDecEntropy::setEntropyDecoder ( TDecEntropyIf p)

Definition at line 52 of file TDecEntropy.cpp.

Void TDecBinCABAC::start ( )
virtual

Implements TDecBinIf.

Definition at line 69 of file TDecBinCoderCABAC.cpp.

TDecBinCABAC::TDecBinCABAC ( )

Definition at line 47 of file TDecBinCoderCABAC.cpp.

TDecCu::TDecCu ( )

Definition at line 49 of file TDecCu.cpp.

TDecSbac::TDecSbac ( )

Definition at line 62 of file TDecSbac.cpp.

TDecSlice::TDecSlice ( )

Definition at line 47 of file TDecSlice.cpp.

TDecTop::TDecTop ( )

Definition at line 47 of file TDecTop.cpp.

Void TDecBinCABAC::uninit ( )
virtual

Implements TDecBinIf.

Definition at line 63 of file TDecBinCoderCABAC.cpp.

Void TDecSbac::xCopyContextsFrom ( const TDecSbac pSrc)
  • Initialize our contexts from the nominated source.
Parameters
pSrcContexts to be copied.

Definition at line 1830 of file TDecSbac.cpp.

Void TDecSbac::xCopyFrom ( const TDecSbac pSrc)

Definition at line 1836 of file TDecSbac.cpp.

Void TDecCu::xCopyToPic ( TComDataCU pcCU,
TComPic pcPic,
UInt  uiZorderIdx,
UInt  uiDepth 
)
protected

Definition at line 719 of file TDecCu.cpp.

Void TDecCu::xDecodeCU ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
Bool isLastCtuOfSliceSegment 
)
protected

decode CU block recursively

Definition at line 175 of file TDecCu.cpp.

Void TDecCu::xDecodeInterTexture ( TComDataCU pcCU,
UInt  uiDepth 
)
protected

Definition at line 728 of file TDecCu.cpp.

Void TDecCu::xDecodePCMTexture ( TComDataCU pcCU,
const UInt  uiPartIdx,
const Pel piPCM,
Pel piReco,
const UInt  uiStride,
const UInt  uiWidth,
const UInt  uiHeight,
const ComponentID  compID 
)
protected

Function for deriving reconstructed luma/chroma samples of a PCM mode CU.

Parameters
pcCUpointer to current CU
uiPartIdxpart index
piPCMpointer to PCM code arrays
piRecopointer to reconstructed sample arrays
uiStridestride of reconstructed sample arrays
uiWidthCU width
uiHeightCU height
compIDcolour component ID
Returns
Void

Definition at line 755 of file TDecCu.cpp.

Bool TDecCu::xDecodeSliceEnd ( TComDataCU pcCU,
UInt  uiAbsPartIdx 
)
protected

decode end-of-slice flag

Definition at line 158 of file TDecCu.cpp.

Void TDecCu::xDecompressCU ( TComDataCU pCtu,
UInt  uiAbsPartIdx,
UInt  uiDepth 
)
protected

Definition at line 333 of file TDecCu.cpp.

Void TDecCu::xFillPCMBuffer ( TComDataCU pCU,
UInt  depth 
)
protected

Function for filling the PCM buffer of a CU using its reconstructed sample array

Parameters
pCUpointer to current CU
depthCU Depth

Definition at line 797 of file TDecCu.cpp.

Void TDecCu::xFinishDecodeCU ( TComDataCU pcCU,
UInt  uiAbsPartIdx,
UInt  uiDepth,
Bool isLastCtuOfSliceSegment 
)
protected

Definition at line 318 of file TDecCu.cpp.

Void TDecCu::xIntraRecBlk ( TComYuv pcRecoYuv,
TComYuv pcPredYuv,
TComYuv pcResiYuv,
const ComponentID  component,
TComTU rTu 
)
protected

Definition at line 450 of file TDecCu.cpp.

Void TDecCu::xIntraRecQT ( TComYuv pcRecoYuv,
TComYuv pcPredYuv,
TComYuv pcResiYuv,
const ChannelType  chType,
TComTU rTu 
)
protected

Function for deriving reconstructed PU/CU chroma samples with QTree structure

Parameters
pcRecoYuvpointer to reconstructed sample arrays
pcPredYuvpointer to prediction sample arrays
pcResiYuvpointer to residue sample arrays
chTypetexture channel type (luma/chroma)
rTureference to transform data

\ This function derives reconstructed PU/CU chroma samples with QTree recursive structure

Definition at line 684 of file TDecCu.cpp.

Void SyntaxElementParser::xReadCodeTr ( UInt  length,
UInt rValue,
const Char pSymbolName 
)
protected

Definition at line 51 of file SyntaxElementParser.cpp.

Void TDecSbac::xReadCoefRemainExGolomb ( UInt rSymbol,
UInt rParam,
const Bool  useLimitedPrefixLength,
const ChannelType  channelType 
)
private

Parsing of coeff_abs_level_remaing

Parameters
rSymbolreference to coeff_abs_level_remaing
rParamreference to parameter
useLimitedPrefixLength
channelType

Definition at line 303 of file TDecSbac.cpp.

Void TDecSbac::xReadEpExGolomb ( UInt ruiSymbol,
UInt  uiCount 
)
private

Definition at line 246 of file TDecSbac.cpp.

Void TDecBinCABAC::xReadPCMCode ( UInt  uiLength,
UInt ruiCode 
)
virtual

Read a PCM code.

Parameters
uiLengthcode bit-depth
ruiCodepointer to PCM code value
Returns
Void

Implements TDecBinIf.

Definition at line 375 of file TDecBinCoderCABAC.cpp.

Void TDecSbac::xReadUnaryMaxSymbol ( UInt ruiSymbol,
ContextModel pcSCModel,
Int  iOffset,
UInt  uiMaxSymbol 
)
private

Definition at line 210 of file TDecSbac.cpp.

Void TDecSbac::xReadUnarySymbol ( UInt ruiSymbol,
ContextModel pcSCModel,
Int  iOffset 
)
private

Definition at line 271 of file TDecSbac.cpp.

Void TDecCu::xReconInter ( TComDataCU pcCU,
UInt  uiDepth 
)
protected

Definition at line 406 of file TDecCu.cpp.

Void TDecCu::xReconIntraQT ( TComDataCU pcCU,
UInt  uiDepth 
)
protected

Definition at line 647 of file TDecCu.cpp.

Void TDecCu::xReconPCM ( TComDataCU pcCU,
UInt  uiDepth 
)
protected

Function for reconstructing a PCM mode CU.

Parameters
pcCUpointer to current CU
uiDepthCU Depth
Returns
Void

Definition at line 779 of file TDecCu.cpp.

Void xTracePPSHeader ( const TComPPS pPPS)

Definition at line 56 of file TDecCAVLC.cpp.

Void xTraceSEIHeader ( )

Definition at line 54 of file SEIread.cpp.

Void xTraceSEIMessageType ( SEI::PayloadType  payloadType)

Definition at line 59 of file SEIread.cpp.

Void xTraceSliceHeader ( const TComSlice pSlice)

Definition at line 61 of file TDecCAVLC.cpp.

Void xTraceSPSHeader ( const TComSPS pSPS)

Definition at line 51 of file TDecCAVLC.cpp.

TDecBinCABAC::~TDecBinCABAC ( )
virtual

Definition at line 52 of file TDecBinCoderCABAC.cpp.

TDecCu::~TDecCu ( )
virtual

Definition at line 56 of file TDecCu.cpp.

TDecSbac::~TDecSbac ( )
virtual

Definition at line 102 of file TDecSbac.cpp.

TDecSlice::~TDecSlice ( )
virtual

Definition at line 51 of file TDecSlice.cpp.