33 #define LENGTH_CODES 29 39 #define L_CODES (LITERALS + 1 + LENGTH_CODES) 48 #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 181 #define max_insert_length max_lazy_match 274 #define put_byte(s, c) \ 276 s->pending_buf[s->pending++] = (c); \ 279 #define MIN_LOOKAHEAD (MAX_MATCH + MIN_MATCH + 1) 284 #define MAX_DIST(s) ((s)->w_size - MIN_LOOKAHEAD) 295 void _tr_stored_block
298 #define d_code(dist) \ 299 ((dist) < 256 ? _dist_code[dist] : _dist_code[256 + ((dist) >> 7)]) 308 #if defined(GEN_TREES_H) || !defined(STDC) 316 #define _tr_tally_lit(s, c, flush) \ 319 s->d_buf[s->last_lit] = 0; \ 320 s->l_buf[s->last_lit++] = cc; \ 321 s->dyn_ltree[cc].Freq++; \ 322 flush = (s->last_lit == s->lit_bufsize - 1); \ 324 #define _tr_tally_dist(s, distance, length, flush) \ 326 uch len = (length); \ 327 ush dist = (distance); \ 328 s->d_buf[s->last_lit] = dist; \ 329 s->l_buf[s->last_lit++] = len; \ 331 s->dyn_ltree[_length_code[len] + LITERALS + 1].Freq++; \ 332 s->dyn_dtree[d_code(dist)].Freq++; \ 333 flush = (s->last_lit == s->lit_bufsize - 1); \ 336 #define _tr_tally_lit(s, c, flush) flush = _tr_tally(s, 0, c) 337 #define _tr_tally_dist(s, distance, length, flush) \ 338 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