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
void _tr_stored_block(deflate_state *s, charf *buf, ulg stored_len, int last)
Definition: trees.c:865
Definition: deflate.c:155
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
char charf
Definition: zconf.h:379
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
unsigned char Byte
Definition: test_imu.cpp:41
int strategy
Definition: deflate.h:186
uInt prev_length
Definition: deflate.h:163
void _tr_init(deflate_state *s)
Definition: trees.c:381
Posf * prev
Definition: deflate.h:131
#define ZLIB_INTERNAL
Definition: compress.c:8
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
ush code
Definition: deflate.h:68
gz_headerp gzhead
Definition: deflate.h:105
ulg high_water
Definition: deflate.h:266
uInt lookahead
Definition: deflate.h:161
int max_code
Definition: deflate.h:85
ulg window_size
Definition: deflate.h:126
uch _dist_code[]
Definition: trees.c:98
int level
Definition: deflate.h:185
void _tr_init OF((deflate_state *s))
z_streamp strm
Definition: deflate.h:98
ulg opt_len
Definition: deflate.h:247
Posf * head
Definition: deflate.h:137
void _tr_align(deflate_state *s)
Definition: trees.c:892
ush dad
Definition: deflate.h:71
unsigned short ush
Definition: zutil.h:43
ush freq
Definition: deflate.h:67
#define FAR
Definition: jmorecfg.h:215
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
uch _length_code[]
Definition: trees.c:104
Bytef * pending_buf
Definition: deflate.h:100
void _tr_flush_block(deflate_state *s, charf *buf, ulg stored_len, int last)
Definition: trees.c:907
ush bi_buf
Definition: deflate.h:257
uInt lit_bufsize
Definition: deflate.h:219
ushf * d_buf
Definition: deflate.h:241
long block_start
Definition: deflate.h:151
int match_available
Definition: deflate.h:158
uInt gzindex
Definition: deflate.h:106
void _tr_flush_bits(deflate_state *s)
Definition: trees.c:882
uInt max_chain_length
Definition: deflate.h:168
int nice_match
Definition: deflate.h:191
struct internal_state deflate_state
int _tr_tally(deflate_state *s, unsigned dist, unsigned lc)
Definition: trees.c:1010
Byte Bytef
Definition: zconf.h:377
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
uInt strstart
Definition: deflate.h:159
ulg pending_buf_size
Definition: deflate.h:101
ush len
Definition: deflate.h:72
char buf[128]
Definition: rw_test.cpp:40
uInt matches
Definition: deflate.h:249
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
uch FAR uchf
Definition: zutil.h:42
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
struct tree_desc_s tree_desc
unsigned IPos
Definition: deflate.h:91
#define L_CODES
Definition: deflate.h:36