HEVC Test Model (HM)
HM-16.18
|
|
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.
|
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 |
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 208 of file TDecGop.cpp.
|
static |
Definition at line 58 of file NALread.cpp.
pcTDecBinIf | The source CABAC engine. |
Implements TDecBinIf.
Definition at line 97 of file TDecBinCoderCABAC.cpp.
Void TDecSlice::create | ( | ) |
Definition at line 56 of file TDecSlice.cpp.
Void TDecCu::create | ( | UInt | uiMaxDepth, |
UInt | uiMaxWidth, | ||
UInt | uiMaxHeight, | ||
ChromaFormat | chromaFormatIDC | ||
) |
create internal buffers
uiMaxDepth | total number of allowable depth |
uiMaxWidth | largest CU width |
uiMaxHeight | largest CU height |
chromaFormatIDC | chroma format |
Definition at line 80 of file TDecCu.cpp.
Definition at line 295 of file TDecBinCoderCABAC.cpp.
|
virtual |
Implements TDecBinIf.
Definition at line 110 of file TDecBinCoderCABAC.cpp.
Implements TDecBinIf.
Definition at line 186 of file TDecBinCoderCABAC.cpp.
Implements TDecBinIf.
Definition at line 222 of file TDecBinCoderCABAC.cpp.
Implements TDecBinIf.
Definition at line 338 of file TDecBinCoderCABAC.cpp.
Void TDecCu::decodeCtu | ( | TComDataCU * | pCtu, |
Bool & | isLastCtuOfSliceSegment | ||
) |
decode Ctu information
Parse a CTU.
pCtu | [in/out] pointer to CTU data structure |
isLastCtuOfSliceSegment | [out] true, if last CTU of the slice segment |
Definition at line 142 of file TDecCu.cpp.
Void TDecCu::decompressCtu | ( | TComDataCU * | pCtu | ) |
reconstruct Ctu information
Decoding process for a CTU.
pCtu | [in/out] pointer to CTU data structure |
Definition at line 162 of file TDecCu.cpp.
Void TDecSlice::decompressSlice | ( | TComInputBitstream ** | ppcSubstreams, |
TComPic * | pcPic, | ||
TDecSbac * | pcSbacDecoder | ||
) |
Definition at line 71 of file TDecSlice.cpp.
Void TDecSlice::destroy | ( | ) |
Definition at line 60 of file TDecSlice.cpp.
Void TDecCu::destroy | ( | ) |
destroy internal buffers
Definition at line 119 of file TDecCu.cpp.
|
virtual |
Implements TDecBinIf.
Definition at line 82 of file TDecBinCoderCABAC.cpp.
|
virtual |
Implements TDecBinIf.
Definition at line 57 of file TDecBinCoderCABAC.cpp.
Void TDecSlice::init | ( | TDecEntropy * | pcEntropyDecoder, |
TDecCu * | pcMbDecoder, | ||
TDecConformanceCheck * | pDecConformanceCheck | ||
) |
Definition at line 64 of file TDecSlice.cpp.
Void TDecCu::init | ( | TDecEntropy * | pcEntropyDecoder, |
TComTrQuant * | pcTrQuant, | ||
TComPrediction * | pcPrediction, | ||
TDecConformanceCheck * | pConformanceCheck | ||
) |
initialize access channels
Definition at line 61 of file TDecCu.cpp.
Definition at line 1848 of file TDecSbac.cpp.
Definition at line 1853 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1779 of file TDecCAVLC.cpp.
|
virtual |
parse chroma qp adjustment, converting to the internal table representation.
Implements TDecEntropyIf.
Definition at line 974 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1784 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1225 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1769 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 849 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1706 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 406 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1774 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 934 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 2056 of file TDecCAVLC.cpp.
|
virtual |
Performs CABAC decoding of the explicit RDPCM mode
rTu | current TU data structure |
compID | component identifier |
Implements TDecEntropyIf.
Definition at line 1862 of file TDecSbac.cpp.
Definition at line 512 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1754 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 724 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1749 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 699 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1744 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 638 of file TDecSbac.cpp.
|
virtual |
Parse I_PCM information.
pcCU | pointer to CU |
uiAbsPartIdx | CU index |
uiDepth | CU depth |
If I_PCM flag indicates that the CU is I_PCM, parse its PCM alignment bits and codes.
Implements TDecEntropyIf.
Definition at line 1739 of file TDecCAVLC.cpp.
|
virtual |
Parse I_PCM information.
pcCU | |
uiAbsPartIdx | |
uiDepth |
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
uiPosLastX | reference to X component of last coefficient |
uiPosLastY | reference to Y component of last coefficient |
width | Block width |
height | Block height |
component | chroma compinent ID |
uiScanIdx | scan type (zig-zag, hor, ver) |
This method decodes the X and Y component within a block of the last significant coefficient.
Definition at line 1148 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1809 of file TDecCAVLC.cpp.
|
virtual |
parse merge flag
pcCU | |
uiAbsPartIdx | |
uiDepth | |
uiPUIdx |
Implements TDecEntropyIf.
Definition at line 455 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1814 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 471 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1764 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 785 of file TDecSbac.cpp.
Implements TDecEntropyIf.
Definition at line 1711 of file TDecCAVLC.cpp.
Implements TDecEntropyIf.
Definition at line 503 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1721 of file TDecCAVLC.cpp.
|
virtual |
parse partition size
pcCU | |
uiAbsPartIdx | |
uiDepth |
Implements TDecEntropyIf.
Definition at line 536 of file TDecSbac.cpp.
Implements TDecEntropyIf.
Definition at line 187 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1726 of file TDecCAVLC.cpp.
|
virtual |
parse prediction mode
pcCU | |
uiAbsPartIdx | |
uiDepth |
Implements TDecEntropyIf.
Definition at line 622 of file TDecSbac.cpp.
Void TDecCavlc::parseProfileTier | ( | ProfileTierLevel * | ptl, |
const Bool | bIsSubLayer | ||
) |
Definition at line 1588 of file TDecCAVLC.cpp.
Definition at line 1547 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1794 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 999 of file TDecSbac.cpp.
Implements TDecEntropyIf.
Definition at line 1799 of file TDecCAVLC.cpp.
Implements TDecEntropyIf.
Definition at line 916 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1759 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 751 of file TDecSbac.cpp.
Implements TDecEntropyIf.
Definition at line 1680 of file TDecCAVLC.cpp.
Implements TDecEntropyIf.
Definition at line 186 of file TDecSbac.cpp.
Void TDecSbac::parseSAOBlkParam | ( | SAOBlkParam & | saoBlkParam, |
Bool * | sliceEnabled, | ||
Bool | leftMergeAvail, | ||
Bool | aboveMergeAvail, | ||
const BitDepths & | bitDepths | ||
) |
Definition at line 1691 of file TDecSbac.cpp.
Definition at line 1617 of file TDecSbac.cpp.
Definition at line 1657 of file TDecSbac.cpp.
Definition at line 1686 of file TDecSbac.cpp.
Definition at line 1664 of file TDecSbac.cpp.
Definition at line 1652 of file TDecSbac.cpp.
Void TDecCavlc::parseScalingList | ( | TComScalingList * | scalingList | ) |
decode quantization matrix
scalingList | quantization matrix information |
Definition at line 1946 of file TDecCAVLC.cpp.
|
protected |
Definition at line 91 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1701 of file TDecCAVLC.cpp.
|
virtual |
parse skip flag
pcCU | |
uiAbsPartIdx | |
uiDepth |
Implements TDecEntropyIf.
Definition at line 419 of file TDecSbac.cpp.
|
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 957 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1716 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 510 of file TDecSbac.cpp.
Implements TDecEntropyIf.
Definition at line 590 of file TDecCAVLC.cpp.
Implements TDecEntropyIf.
Definition at line 1666 of file TDecCAVLC.cpp.
Implements TDecEntropyIf.
Definition at line 171 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1804 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1101 of file TDecSbac.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 1789 of file TDecCAVLC.cpp.
|
virtual |
Implements TDecEntropyIf.
Definition at line 902 of file TDecSbac.cpp.
Implements TDecEntropyIf.
Definition at line 862 of file TDecCAVLC.cpp.
Definition at line 417 of file TDecCAVLC.cpp.
Void read | ( | InputNALUnit & | nalu | ) |
create a NALunit structure with given header values and storage for a bitstream
Definition at line 175 of file NALread.cpp.
Void readNalUnitHeader | ( | InputNALUnit & | nalu | ) |
Definition at line 129 of file NALread.cpp.
Implements TDecEntropyIf.
Definition at line 110 of file TDecSbac.cpp.
|
protected |
Definition at line 65 of file SEIread.cpp.
Void TDecEntropy::setEntropyDecoder | ( | TDecEntropyIf * | p | ) |
Definition at line 51 of file TDecEntropy.cpp.
|
virtual |
Implements TDecBinIf.
Definition at line 69 of file TDecBinCoderCABAC.cpp.
TDecBinCABAC::TDecBinCABAC | ( | ) |
Definition at line 47 of file TDecBinCoderCABAC.cpp.
TDecCavlc::TDecCavlc | ( | ) |
Definition at line 78 of file TDecCAVLC.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 48 of file TDecSlice.cpp.
TDecTop::TDecTop | ( | ) |
Buffered up prefix SEI NAL Units.
Definition at line 45 of file TDecTop.cpp.
|
virtual |
Implements TDecBinIf.
Definition at line 63 of file TDecBinCoderCABAC.cpp.
pSrc | Contexts to be copied. |
Definition at line 1836 of file TDecSbac.cpp.
Definition at line 1842 of file TDecSbac.cpp.
|
protected |
Definition at line 751 of file TDecCu.cpp.
|
protected |
decode CU block recursively
Definition at line 189 of file TDecCu.cpp.
|
protected |
Definition at line 760 of file TDecCu.cpp.
|
protected |
Function for deriving reconstructed luma/chroma samples of a PCM mode CU.
pcCU | pointer to current CU |
uiPartIdx | part index |
piPCM | pointer to PCM code arrays |
piReco | pointer to reconstructed sample arrays |
uiStride | stride of reconstructed sample arrays |
uiWidth | CU width |
uiHeight | CU height |
compID | colour component ID |
Definition at line 787 of file TDecCu.cpp.
Void TDecCavlc::xDecodeScalingList | ( | TComScalingList * | scalingList, |
UInt | sizeId, | ||
UInt | listId | ||
) |
decode DPCM
scalingList | quantization matrix information |
sizeId | size index |
listId | list index |
Definition at line 2003 of file TDecCAVLC.cpp.
|
protected |
decode end-of-slice flag
Definition at line 172 of file TDecCu.cpp.
|
protected |
Definition at line 359 of file TDecCu.cpp.
|
protected |
Function for filling the PCM buffer of a CU using its reconstructed sample array
pCU | pointer to current CU |
depth | CU Depth |
Definition at line 832 of file TDecCu.cpp.
|
protected |
Definition at line 344 of file TDecCu.cpp.
|
protected |
Definition at line 483 of file TDecCu.cpp.
|
protected |
Function for deriving reconstructed PU/CU chroma samples with QTree structure
pcRecoYuv | pointer to reconstructed sample arrays |
pcPredYuv | pointer to prediction sample arrays |
pcResiYuv | pointer to residue sample arrays |
chType | texture channel type (luma/chroma) |
rTu | reference to transform data |
\ This function derives reconstructed PU/CU chroma samples with QTree recursive structure
Definition at line 716 of file TDecCu.cpp.
|
protected |
Definition at line 2027 of file TDecCAVLC.cpp.
parse explicit wp tables
Definition at line 1824 of file TDecCAVLC.cpp.
Definition at line 140 of file SyntaxElementParser.cpp.
|
private |
Parsing of coeff_abs_level_remaing
rSymbol | reference to coeff_abs_level_remaing |
rParam | reference to parameter |
useLimitedPrefixLength | |
maxLog2TrDynamicRange |
Definition at line 303 of file TDecSbac.cpp.
Definition at line 246 of file TDecSbac.cpp.
Definition at line 255 of file SyntaxElementParser.cpp.
Read a PCM code.
uiLength | code bit-depth |
ruiCode | pointer to PCM code value |
Implements TDecBinIf.
Definition at line 375 of file TDecBinCoderCABAC.cpp.
|
protected |
Definition at line 270 of file SyntaxElementParser.cpp.
Definition at line 104 of file SyntaxElementParser.cpp.
Definition at line 210 of file SyntaxElementParser.cpp.
|
private |
Definition at line 210 of file TDecSbac.cpp.
|
private |
Definition at line 271 of file TDecSbac.cpp.
Definition at line 166 of file SyntaxElementParser.cpp.
|
protected |
Definition at line 433 of file TDecCu.cpp.
|
protected |
Definition at line 679 of file TDecCu.cpp.
|
protected |
Function for reconstructing a PCM mode CU.
pcCU | pointer to current CU |
uiDepth | CU Depth |
Definition at line 812 of file TDecCu.cpp.
|
virtual |
Definition at line 52 of file TDecBinCoderCABAC.cpp.
|
virtual |
Definition at line 82 of file TDecCAVLC.cpp.
|
virtual |
Definition at line 56 of file TDecCu.cpp.
|
virtual |
Definition at line 102 of file TDecSbac.cpp.
|
virtual |
Definition at line 52 of file TDecSlice.cpp.