30 #define LENGTH_CODES 29
36 #define L_CODES (LITERALS+1+LENGTH_CODES)
45 #define HEAP_SIZE (2*L_CODES+1)
55 #define EXTRA_STATE 69
57 #define COMMENT_STATE 91
58 #define HCRC_STATE 103
59 #define BUSY_STATE 113
60 #define FINISH_STATE 666
179 # define max_insert_length max_lazy_match
278 #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);}
281 #define MIN_LOOKAHEAD (MAX_MATCH+MIN_MATCH+1)
286 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
291 #define WIN_INIT MAX_MATCH
299 ulg stored_len,
int last));
303 ulg stored_len,
int last));
305 #define d_code(dist) \
306 ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)])
315 #if defined(GEN_TREES_H) || !defined(STDC)
323 # define _tr_tally_lit(s, c, flush) \
325 s->d_buf[s->last_lit] = 0; \
326 s->l_buf[s->last_lit++] = cc; \
327 s->dyn_ltree[cc].Freq++; \
328 flush = (s->last_lit == s->lit_bufsize-1); \
330 # define _tr_tally_dist(s, distance, length, flush) \
331 { uch len = (length); \
332 ush dist = (distance); \
333 s->d_buf[s->last_lit] = dist; \
334 s->l_buf[s->last_lit++] = len; \
336 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \
337 s->dyn_dtree[d_code(dist)].Freq++; \
338 flush = (s->last_lit == s->lit_bufsize-1); \
341 # define _tr_tally_lit(s, c, flush) flush = _tr_tally(s, 0, c)
342 # define _tr_tally_dist(s, distance, length, flush) \
343 flush = _tr_tally(s, distance, length)
uInt good_match
Definition: deflate.h:188
uInt hash_bits
Definition: deflate.h:141
ulg static_len
Definition: deflate.h:248
int heap_len
Definition: deflate.h:207
int heap_max
Definition: deflate.h:208
uInt w_mask
Definition: deflate.h:114
ush FAR ushf
Definition: zutil.h:44
Bytef * window
Definition: deflate.h:116
#define BL_CODES
Definition: deflate.h:42
int heap[2 *L_CODES+1]
Definition: deflate.h:206
unsigned char Byte
Definition: zconf.h:368
struct static_tree_desc_s static_tree_desc
Definition: deflate.h:81
uInt max_lazy_match
Definition: deflate.h:174
uInt hash_mask
Definition: deflate.h:142
uInt match_length
Definition: deflate.h:156
#define MAX_BITS
Definition: deflate.h:48
uInt insert
Definition: deflate.h:250
ush Pos
Definition: deflate.h:89
uInt hash_shift
Definition: deflate.h:144
int status
Definition: deflate.h:99
int strategy
Definition: deflate.h:186
uInt prev_length
Definition: deflate.h:163
Posf * prev
Definition: deflate.h:131
struct ct_data_s dyn_ltree[HEAP_SIZE]
Definition: deflate.h:195
ct_data * dyn_tree
Definition: deflate.h:84
static_tree_desc * stat_desc
Definition: deflate.h:86
Bytef * pending_out
Definition: deflate.h:102
uInt match_start
Definition: deflate.h:160
gz_header FAR * gz_headerp
Definition: zlib.h:129
ush code
Definition: deflate.h:68
uch ZLIB_INTERNAL _dist_code[]
Definition: trees.h:73
gz_headerp gzhead
Definition: deflate.h:105
Byte FAR Bytef
Definition: zconf.h:377
ulg high_water
Definition: deflate.h:266
uInt lookahead
Definition: deflate.h:161
void ZLIB_INTERNAL _tr_init OF((deflate_state *s))
int max_code
Definition: deflate.h:85
ulg window_size
Definition: deflate.h:126
int level
Definition: deflate.h:185
z_streamp strm
Definition: deflate.h:98
ulg opt_len
Definition: deflate.h:247
struct tree_desc_s bl_desc
Definition: deflate.h:201
struct tree_desc_s d_desc
Definition: deflate.h:200
Posf * head
Definition: deflate.h:137
ush dad
Definition: deflate.h:71
unsigned short ush
Definition: zutil.h:43
ush freq
Definition: deflate.h:67
uInt w_size
Definition: deflate.h:112
uchf * l_buf
Definition: deflate.h:217
Pos FAR Posf
Definition: deflate.h:90
#define HEAP_SIZE
Definition: deflate.h:45
int wrap
Definition: deflate.h:104
ush bl_count[MAX_BITS+1]
Definition: deflate.h:203
Bytef * pending_buf
Definition: deflate.h:100
ush bi_buf
Definition: deflate.h:257
uInt lit_bufsize
Definition: deflate.h:219
uch depth[2 *L_CODES+1]
Definition: deflate.h:213
ushf * d_buf
Definition: deflate.h:241
long block_start
Definition: deflate.h:151
int match_available
Definition: deflate.h:158
struct ct_data_s dyn_dtree[2 *D_CODES+1]
Definition: deflate.h:196
uInt gzindex
Definition: deflate.h:106
struct tree_desc_s l_desc
Definition: deflate.h:199
uInt max_chain_length
Definition: deflate.h:168
int nice_match
Definition: deflate.h:191
struct internal_state deflate_state
uInt last_lit
Definition: deflate.h:239
unsigned char uch
Definition: zutil.h:41
uInt w_bits
Definition: deflate.h:113
uInt pending
Definition: deflate.h:103
unsigned long ulg
Definition: zutil.h:45
#define ZLIB_INTERNAL
Definition: gzguts.h:18
uInt strstart
Definition: deflate.h:159
ulg pending_buf_size
Definition: deflate.h:101
uch ZLIB_INTERNAL _length_code[]
Definition: trees.h:102
ush len
Definition: deflate.h:72
uInt matches
Definition: deflate.h:249
#define FAR
Definition: zconf.h:364
z_stream FAR * z_streamp
Definition: zlib.h:106
IPos prev_match
Definition: deflate.h:157
int last_flush
Definition: deflate.h:108
#define D_CODES
Definition: deflate.h:39
int bi_valid
Definition: deflate.h:261
Pos
Definition: boss_gothik.cpp:115
uch FAR uchf
Definition: zutil.h:42
struct ct_data_s bl_tree[2 *BL_CODES+1]
Definition: deflate.h:197
uInt hash_size
Definition: deflate.h:140
uInt ins_h
Definition: deflate.h:139
Byte method
Definition: deflate.h:107
unsigned int uInt
Definition: zconf.h:370
char FAR charf
Definition: zconf.h:379
struct tree_desc_s tree_desc
unsigned IPos
Definition: deflate.h:91
#define L_CODES
Definition: deflate.h:36