Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zlib_deflate\deftree.c Create Date:2022-07-28 06:58:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:build_bl_tree

Proto:static int build_bl_tree(deflate_state *s)

Type:int

Parameter:

TypeParameterName
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  When max_blindex >= 3 cycle
745  If Len != 0 Then Break
748  length of current block with optimal trees += 3 * (max_blindex + 1) + 5 + 5 + 4
752  Return max_blindex
Caller
NameDescribe
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.