函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:build_bl_tree

函数原型:static int build_bl_tree(deflate_state *s)

返回类型:int

参数:

类型参数名称
deflate_state *s
731  scan_tree(s, (ct_data * )literal and length tree , largest code with non zero frequency )
732  scan_tree(s, (ct_data * )dyn_dtree, largest code with non zero frequency )
735  build_tree(s, (tree_desc * )( & (desc. for bit length tree )))
744 max_blindex大于等于3循环
745  如果Len不等于0则退出
748  length of current block with optimal trees 加等于3乘max_blindex加1的和加5加5加4
752  返回:max_blindex
调用者
名称描述
zlib_tr_flush_blockDetermine the best encoding for the current block: dynamic trees, static* trees or store, and output the encoded block to the zip file. This function* returns the total compressed length for the file so far.