函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xz\xz_dec_lzma2.c Create Date:2022-07-27 08:06:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Decode a bittree starting from the most significant bit.

函数原型:static __always_inline uint32_t rc_bittree(struct rc_dec *rc, uint16_t *probs, uint32_t limit)

返回类型:uint32_t

参数:

类型参数名称
struct rc_dec *rc
uint16_t *probs
uint32_tlimit
522  symbol等于1
524  循环
525  如果Decode one bit. In some versions, this function has been splitted in three* functions so that the compiler is supposed to be able to more easily avoid* an extra branch. In this particular version of the LZMA decoder, thissymbol等于symbol左移1位的值加1
527  否则symbol左移等于1位
529 symbol小于limit循环
531  返回:symbol
调用者
名称描述
lzma_literalDecode a literal (one 8-bit byte)
lzma_lenDecode the length of the match into s->lzma.len.
lzma_matchDecode a match. The distance will be stored in s->lzma.rep0.