34 #define LENGTH_CODES 29 40 #define L_CODES (LITERALS+1+LENGTH_CODES) 49 #define HEAP_SIZE (2*L_CODES+1) 56 #define EXTRA_STATE 69 58 #define COMMENT_STATE 91 59 #define HCRC_STATE 103 60 #define BUSY_STATE 113 61 #define FINISH_STATE 666 180 # define max_insert_length max_lazy_match 272 #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);} 275 #define MIN_LOOKAHEAD (MAX_MATCH+MIN_MATCH+1) 280 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) 294 #define d_code(dist) \ 295 ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)]) 304 #if defined(GEN_TREES_H) || !defined(STDC) 312 # define _tr_tally_lit(s, c, flush) \ 314 s->d_buf[s->last_lit] = 0; \ 315 s->l_buf[s->last_lit++] = cc; \ 316 s->dyn_ltree[cc].Freq++; \ 317 flush = (s->last_lit == s->lit_bufsize-1); \ 319 # define _tr_tally_dist(s, distance, length, flush) \ 320 { uch len = (length); \ 321 ush dist = (distance); \ 322 s->d_buf[s->last_lit] = dist; \ 323 s->l_buf[s->last_lit++] = len; \ 325 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ 326 s->dyn_dtree[d_code(dist)].Freq++; \ 327 flush = (s->last_lit == s->lit_bufsize-1); \ 330 # define _tr_tally_lit(s, c, flush) flush = _tr_tally(s, 0, c) 331 # define _tr_tally_dist(s, distance, length, flush) \ 332 flush = _tr_tally(s, distance, length)
struct static_tree_desc_s static_tree_desc
GLint GLint GLsizei GLsizei GLsizei depth
struct ct_data_s dyn_ltree[HEAP_SIZE]
static_tree_desc * stat_desc
gz_header FAR * gz_headerp
void _tr_init OF((deflate_state *s))
struct tree_desc_s bl_desc
struct tree_desc_s d_desc
struct ct_data_s dyn_dtree[2 *D_CODES+1]
struct tree_desc_s l_desc
struct internal_state deflate_state
struct ct_data_s bl_tree[2 *BL_CODES+1]
struct tree_desc_s tree_desc