Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xz\xz_dec_lzma2.c Create Date:2022-07-28 07:08:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Get pointer to literal coder probability array.

Proto:static uint16_t *lzma_literal_probs(struct xz_dec_lzma2 *s)

Type:uint16_t

Parameter:

TypeParameterName
struct xz_dec_lzma2 *s
574  prev_byte = Get a byte from the dictionary at the given distance. The distance is* assumed to valid, or as a special case, zero when the dictionary is* still empty. This special case is needed for single-call decoding to
575  low = prev_byte >> 8 - * LZMA properties or related bit masks (number of literal * context bits, a mask dervied from the number of literal * position bits, and a mask dervied from the number * position bits)
576  high = (Position in buf & (1 << lp) - 1 ) << * LZMA properties or related bit masks (number of literal * context bits, a mask dervied from the number of literal * position bits, and a mask dervied from the number * position bits)
577  Return Probabilities of literals [low + high]
Caller
NameDescribe
lzma_literalDecode a literal (one 8-bit byte)