| Geant4
    10.03.p02
    | 
#include "deflate.h"
Go to the source code of this file.
| Classes | |
| struct | static_tree_desc_s | 
| Macros | |
| #define | MAX_BL_BITS 7 | 
| #define | END_BLOCK 256 | 
| #define | REP_3_6 16 | 
| #define | REPZ_3_10 17 | 
| #define | REPZ_11_138 18 | 
| #define | DIST_CODE_LEN 512 /* see definition of array dist_code below */ | 
| #define | send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) | 
| #define | put_short(s, w) | 
| #define | send_bits(s, value, length) | 
| #define | SMALLEST 1 | 
| #define | pqremove(s, tree, top) | 
| #define | smaller(tree, n, m, depth) | 
| Variables | |
| local const int | extra_lbits [LENGTH_CODES] = {0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0} | 
| local const int | extra_dbits [D_CODES] = {0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13} | 
| local const int | extra_blbits [BL_CODES] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7} | 
| local const uch | bl_order [BL_CODES] = {16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15} | 
| local ct_data | static_ltree [L_CODES+2] | 
| local ct_data | static_dtree [D_CODES] | 
| uch | _dist_code [DIST_CODE_LEN] | 
| uch | _length_code [MAX_MATCH-MIN_MATCH+1] | 
| local int | base_length [LENGTH_CODES] | 
| local int | base_dist [D_CODES] | 
| local static_tree_desc | static_l_desc | 
| local static_tree_desc | static_d_desc | 
| local static_tree_desc | static_bl_desc | 
| #define DIST_CODE_LEN 512 /* see definition of array dist_code below */ | 
| #define pqremove | ( | s, | |
| tree, | |||
| top | |||
| ) | 
| void ZLIB_INTERNAL _tr_align | ( | deflate_state * | s | ) | 
| void ZLIB_INTERNAL _tr_flush_bits | ( | deflate_state * | s | ) | 
| void ZLIB_INTERNAL _tr_flush_block | ( | deflate_state * | s, | 
| charf * | buf, | ||
| ulg | stored_len, | ||
| int | last | ||
| ) | 
Definition at line 877 of file trees.cc.

| void ZLIB_INTERNAL _tr_init | ( | deflate_state * | s | ) | 
| void ZLIB_INTERNAL _tr_stored_block | ( | deflate_state * | s, | 
| charf * | buf, | ||
| ulg | stored_len, | ||
| int | last | ||
| ) | 
Definition at line 841 of file trees.cc.


| int ZLIB_INTERNAL _tr_tally | ( | deflate_state * | s, | 
| unsigned | dist, | ||
| unsigned | lc | ||
| ) | 
| local void bi_flush | ( | deflate_state * | s | ) | 
Definition at line 1113 of file trees.cc.

| local void bi_windup | ( | deflate_state * | s | ) | 
| local int build_bl_tree | ( | deflate_state * | s | ) | 
Definition at line 780 of file trees.cc.


| local void build_tree | ( | deflate_state * | s, | 
| tree_desc * | desc | ||
| ) | 
Definition at line 604 of file trees.cc.


| local void compress_block | ( | deflate_state * | s, | 
| const ct_data * | ltree, | ||
| const ct_data * | dtree | ||
| ) | 
Definition at line 1023 of file trees.cc.

| local void copy_block | ( | deflate_state * | s, | 
| charf * | buf, | ||
| unsigned | len, | ||
| int | header | ||
| ) | 
| local int detect_data_type | ( | deflate_state * | s | ) | 
| local void gen_bitlen | ( | deflate_state * | s, | 
| tree_desc * | desc | ||
| ) | 
Definition at line 480 of file trees.cc.


Definition at line 565 of file trees.cc.


| local void init_block | ( | deflate_state * | s | ) | 
Definition at line 405 of file trees.cc.


| local void tr_static_init OF | ( | (void) | ) | 
| local void init_block OF | ( | (deflate_state *s) | ) | 
| local void pqdownheap OF | ( | (deflate_state *s, ct_data *tree, int k) | ) | 
| local void gen_bitlen OF | ( | (deflate_state *s, tree_desc *desc) | ) | 
| local void send_all_trees OF | ( | (deflate_state *s, int lcodes, int dcodes, int blcodes) | ) | 
| local void compress_block OF | ( | (deflate_state *s, const ct_data *ltree, const ct_data *dtree) | ) | 
| local unsigned bi_reverse OF | ( | (unsigned value, int length) | ) | 
| local void copy_block OF | ( | (deflate_state *s, charf *buf, unsigned len, int header) | ) | 
| local void pqdownheap | ( | deflate_state * | s, | 
| ct_data * | tree, | ||
| int | k | ||
| ) | 
| local void scan_tree | ( | deflate_state * | s, | 
| ct_data * | tree, | ||
| int | max_code | ||
| ) | 
Definition at line 814 of file trees.cc.


| local void send_tree | ( | deflate_state * | s, | 
| ct_data * | tree, | ||
| int | max_code | ||
| ) | 
Definition at line 231 of file trees.cc.


| uch _dist_code[DIST_CODE_LEN] | 
| local int base_length[LENGTH_CODES] | 
| local const int extra_lbits[LENGTH_CODES] = {0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0} | 
| local static_tree_desc static_bl_desc | 
| local static_tree_desc static_d_desc | 
| local static_tree_desc static_l_desc |