Function report |
Source Code:lib\zlib_deflate\deftree.c |
Create Date:2022-07-28 06:58:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:compress_block
Proto:static void compress_block(deflate_state *s, ct_data *ltree, ct_data *dtree)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
deflate_state * | s | |
ct_data * | ltree | |
ct_data * | dtree |
1026 | lx = 0 |
1030 | If unning index in l_buf != 0 Then Do |
1032 | lc = uffer for literals or lengths [lx++] |
1033 | If dist == 0 Then |
1036 | Else |
1038 | code = distance codes. The first 256 values correspond to the distances* 3 .. 258, the last 256 values correspond to the top 8 bits of* the 15 bit distances.[lc] |
1041 | If extra != 0 Then |
1045 | dist-- |
1050 | extra = extra_dbits[code] |
1051 | If extra != 0 Then |
1060 | When lx < unning index in l_buf cycle |
Name | Describe |
---|---|
zlib_tr_flush_block | Determine 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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |