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

Name:Decode direct bits (fixed fifty-fifty probability)

Proto:static inline void rc_direct(struct rc_dec *rc, uint32_t *dest, uint32_t limit)

Type:void

Parameter:

TypeParameterName
struct rc_dec *rc
uint32_t *dest
uint32_tlimit
557  Do
558  Read the next input byte if needed.
559  range >>= 1
560  code -= range
561  mask = 0 - (code >> 31)
562  code += range & mask
563  dest = (dest << 1) + mask + 1
564  When --limit > 0 cycle
Caller
NameDescribe
lzma_matchDecode a match. The distance will be stored in s->lzma.rep0.