Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#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) |
#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 const static_tree_desc | static_l_desc |
local const static_tree_desc | static_d_desc |
local const static_tree_desc | static_bl_desc |
#define DIST_CODE_LEN 512 /* see definition of array dist_code below */ |
#define END_BLOCK 256 |
Definition at line 50 of file trees.c.
Referenced by _tr_align(), compress_block(), and init_block().
#define pqremove | ( | s, | |
tree, | |||
top ) |
Definition at line 430 of file trees.c.
Referenced by build_tree().
#define put_short | ( | s, | |
w ) |
Definition at line 174 of file trees.c.
Referenced by _tr_stored_block(), bi_flush(), and bi_windup().
#define REP_3_6 16 |
Definition at line 53 of file trees.c.
Referenced by scan_tree(), and send_tree().
#define REPZ_11_138 18 |
Definition at line 59 of file trees.c.
Referenced by scan_tree(), and send_tree().
#define REPZ_3_10 17 |
Definition at line 56 of file trees.c.
Referenced by scan_tree(), and send_tree().
#define send_bits | ( | s, | |
value, | |||
length ) |
Definition at line 211 of file trees.c.
Referenced by _tr_align(), _tr_flush_block(), _tr_stored_block(), compress_block(), send_all_trees(), and send_tree().
#define send_code | ( | s, | |
c, | |||
tree ) |
Definition at line 161 of file trees.c.
Referenced by _tr_align(), compress_block(), and send_tree().
#define smaller | ( | tree, | |
n, | |||
m, | |||
depth ) |
Definition at line 441 of file trees.c.
Referenced by G4GeometryCellComp::operator()(), and pqdownheap().
#define SMALLEST 1 |
Definition at line 422 of file trees.c.
Referenced by build_tree().
void ZLIB_INTERNAL _tr_align | ( | deflate_state * | s | ) |
void ZLIB_INTERNAL _tr_flush_bits | ( | deflate_state * | s | ) |
Definition at line 887 of file trees.c.
Referenced by deflatePrime(), and flush_pending().
void ZLIB_INTERNAL _tr_flush_block | ( | deflate_state * | s, |
charf * | buf, | ||
ulg | stored_len, | ||
int | last ) |
Definition at line 912 of file trees.c.
void ZLIB_INTERNAL _tr_init | ( | deflate_state * | s | ) |
Definition at line 379 of file trees.c.
Referenced by deflateResetKeep().
void ZLIB_INTERNAL _tr_stored_block | ( | deflate_state * | s, |
charf * | buf, | ||
ulg | stored_len, | ||
int | last ) |
Definition at line 863 of file trees.c.
Referenced by _tr_flush_block(), deflate(), and deflate_stored().
int ZLIB_INTERNAL _tr_tally | ( | deflate_state * | s, |
unsigned | dist, | ||
unsigned | lc ) |
Definition at line 1014 of file trees.c.
local void bi_flush | ( | deflate_state * | s | ) |
Definition at line 1151 of file trees.c.
Referenced by _tr_align(), and _tr_flush_bits().
local unsigned bi_reverse | ( | unsigned | code, |
int | len ) |
Definition at line 1136 of file trees.c.
Referenced by gen_codes(), and tr_static_init().
local void bi_windup | ( | deflate_state * | s | ) |
Definition at line 1168 of file trees.c.
Referenced by _tr_flush_block(), and _tr_stored_block().
local int build_bl_tree | ( | deflate_state * | s | ) |
Definition at line 799 of file trees.c.
Referenced by _tr_flush_block().
local void build_tree | ( | deflate_state * | s, |
tree_desc * | desc ) |
Definition at line 615 of file trees.c.
Referenced by _tr_flush_block(), and build_bl_tree().
local void compress_block | ( | deflate_state * | s, |
const ct_data * | ltree, | ||
const ct_data * | dtree ) |
Definition at line 1042 of file trees.c.
Referenced by _tr_flush_block().
local int detect_data_type | ( | deflate_state * | s | ) |
Definition at line 1102 of file trees.c.
Referenced by _tr_flush_block().
local void gen_bitlen | ( | deflate_state * | s, |
tree_desc * | desc ) |
Definition at line 486 of file trees.c.
Referenced by build_tree().
Definition at line 572 of file trees.c.
Referenced by build_tree(), and tr_static_init().
local void init_block | ( | deflate_state * | s | ) |
Definition at line 407 of file trees.c.
Referenced by _tr_flush_block(), and _tr_init().
local void init_block OF | ( | (deflate_state *s) | ) |
local void compress_block OF | ( | (deflate_state *s, const ct_data *ltree, const ct_data *dtree) | ) |
local void pqdownheap OF | ( | (deflate_state *s, ct_data *tree, int k) | ) |
local void scan_tree OF | ( | (deflate_state *s, ct_data *tree, int max_code) | ) |
local void send_all_trees OF | ( | (deflate_state *s, int lcodes, int dcodes, int blcodes) | ) |
local void gen_bitlen OF | ( | (deflate_state *s, tree_desc *desc) | ) |
local unsigned bi_reverse OF | ( | (unsigned code, int len) | ) |
local void tr_static_init OF | ( | (void) | ) |
local void pqdownheap | ( | deflate_state * | s, |
ct_data * | tree, | ||
int | k ) |
Definition at line 451 of file trees.c.
Referenced by build_tree().
local void scan_tree | ( | deflate_state * | s, |
ct_data * | tree, | ||
int | max_code ) |
Definition at line 703 of file trees.c.
Referenced by build_bl_tree().
local void send_all_trees | ( | deflate_state * | s, |
int | lcodes, | ||
int | dcodes, | ||
int | blcodes ) |
Definition at line 834 of file trees.c.
Referenced by _tr_flush_block().
local void send_tree | ( | deflate_state * | s, |
ct_data * | tree, | ||
int | max_code ) |
Definition at line 748 of file trees.c.
Referenced by send_all_trees().
local void tr_static_init | ( | ) |
Definition at line 232 of file trees.c.
Referenced by _tr_init().
uch _dist_code[DIST_CODE_LEN] |
Definition at line 98 of file trees.c.
Referenced by tr_static_init().
Definition at line 104 of file trees.c.
Referenced by _tr_tally(), compress_block(), and tr_static_init().
Definition at line 110 of file trees.c.
Referenced by compress_block(), and tr_static_init().
local int base_length[LENGTH_CODES] |
Definition at line 107 of file trees.c.
Referenced by compress_block(), and tr_static_init().
Definition at line 71 of file trees.c.
Referenced by build_bl_tree(), and send_all_trees().
Definition at line 68 of file trees.c.
Referenced by tr_static_init().
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} |
Definition at line 65 of file trees.c.
Referenced by compress_block(), and tr_static_init().
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} |
Definition at line 62 of file trees.c.
Referenced by compress_block(), and tr_static_init().
local const static_tree_desc static_bl_desc |
Definition at line 131 of file trees.c.
Referenced by _tr_init(), and tr_static_init().
local const static_tree_desc static_d_desc |
Definition at line 128 of file trees.c.
Referenced by _tr_init(), and tr_static_init().
Definition at line 93 of file trees.c.
Referenced by _tr_flush_block(), and tr_static_init().
local const static_tree_desc static_l_desc |
Definition at line 125 of file trees.c.
Referenced by _tr_init(), and tr_static_init().
Definition at line 86 of file trees.c.
Referenced by _tr_align(), _tr_flush_block(), gen_codes(), and tr_static_init().