函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Decode direct bits (fixed fifty-fifty probability)

函数原型:static inline void rc_direct(struct rc_dec *rc, uint32_t *dest, uint32_t limit)

返回类型:void

参数:

类型参数名称
struct rc_dec *rc
uint32_t *dest
uint32_tlimit
557  循环
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 limit先自减大于0循环
调用者
名称描述
lzma_matchDecode a match. The distance will be stored in s->lzma.rep0.