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:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Reset the range decoder.

Proto:static void rc_reset(struct rc_dec *rc)

Type:void

Parameter:

TypeParameterName
struct rc_dec *rc
440  range = (uint32_t) - 1
441  code = 0
442  Number of initializing bytes remaining to be read* by rc_read_init(). = Range decoder initialization eats the first five bytes of each LZMA chunk.
Caller
NameDescribe
lzma_resetReset the LZMA decoder and range decoder state. Dictionary is nore reset* here, because LZMA state may be reset without resetting the dictionary.
xz_dec_lzma2_runTake care of the LZMA2 control layer, and forward the job of actual LZMA* decoding or copying of uncompressed chunks to other functions.