#include "zutil.h"
클래스 | |
struct | ct_data_s |
struct | tree_desc_s |
struct | internal_state |
매크로 | |
#define | GZIP |
#define | LENGTH_CODES 29 |
#define | LITERALS 256 |
#define | L_CODES (LITERALS+1+LENGTH_CODES) |
#define | D_CODES 30 |
#define | BL_CODES 19 |
#define | HEAP_SIZE (2*L_CODES+1) |
#define | MAX_BITS 15 |
#define | Buf_size 16 |
#define | INIT_STATE 42 /* zlib header -> BUSY_STATE */ |
#define | GZIP_STATE 57 /* gzip header -> BUSY_STATE | EXTRA_STATE */ |
#define | EXTRA_STATE 69 /* gzip extra block -> NAME_STATE */ |
#define | NAME_STATE 73 /* gzip file name -> COMMENT_STATE */ |
#define | COMMENT_STATE 91 /* gzip comment -> HCRC_STATE */ |
#define | HCRC_STATE 103 /* gzip header CRC -> BUSY_STATE */ |
#define | BUSY_STATE 113 /* deflate -> FINISH_STATE */ |
#define | FINISH_STATE 666 /* stream complete */ |
#define | Freq fc.freq |
#define | Code fc.code |
#define | Dad dl.dad |
#define | Len dl.len |
#define | max_insert_length max_lazy_match |
#define | put_byte(s, c) {s->pending_buf[s->pending++] = (Bytef)(c);} |
#define | MIN_LOOKAHEAD (MAX_MATCH+MIN_MATCH+1) |
#define | MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) |
#define | WIN_INIT MAX_MATCH |
#define | d_code(dist) ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)]) |
#define | _tr_tally_lit(s, c, flush) |
#define | _tr_tally_dist(s, distance, length, flush) |
타입정의 | |
typedef struct ct_data_s | ct_data |
typedef struct static_tree_desc_s | static_tree_desc |
typedef struct tree_desc_s | tree_desc |
typedef ush | Pos |
typedef Pos FAR | Posf |
typedef unsigned | IPos |
typedef struct internal_state | deflate_state |
함수 | |
void ZLIB_INTERNAL _tr_init | OF ((deflate_state *s)) |
int ZLIB_INTERNAL _tr_tally | OF ((deflate_state *s, unsigned dist, unsigned lc)) |
void ZLIB_INTERNAL _tr_flush_block | OF ((deflate_state *s, charf *buf, ulg stored_len, int last)) |
변수 | |
uch ZLIB_INTERNAL | _length_code [] |
uch ZLIB_INTERNAL | _dist_code [] |
#define _tr_tally_lit | ( | s, | |
c, | |||
flush | |||
) |
#define BUSY_STATE 113 /* deflate -> FINISH_STATE */ |
#define Code fc.code |
deflate.h 파일의 80 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : G4PVReplica::SetRegularStructureId().
#define COMMENT_STATE 91 /* gzip comment -> HCRC_STATE */ |
#define d_code | ( | dist | ) | ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)]) |
#define EXTRA_STATE 69 /* gzip extra block -> NAME_STATE */ |
#define GZIP_STATE 57 /* gzip header -> BUSY_STATE | EXTRA_STATE */ |
#define HCRC_STATE 103 /* gzip header CRC -> BUSY_STATE */ |
#define INIT_STATE 42 /* zlib header -> BUSY_STATE */ |
#define L_CODES (LITERALS+1+LENGTH_CODES) |
#define MAX_DIST | ( | s | ) | ((s)->w_size-MIN_LOOKAHEAD) |
#define NAME_STATE 73 /* gzip file name -> COMMENT_STATE */ |
typedef struct internal_state deflate_state |
typedef struct static_tree_desc_s static_tree_desc |
typedef struct tree_desc_s tree_desc |
void ZLIB_INTERNAL _tr_init OF | ( | (deflate_state *s) | ) |
int ZLIB_INTERNAL _tr_tally OF | ( | (deflate_state *s, unsigned dist, unsigned lc) | ) |
void ZLIB_INTERNAL _tr_flush_block OF | ( | (deflate_state *s, charf *buf, ulg stored_len, int last) | ) |
uch ZLIB_INTERNAL _dist_code[] |
uch ZLIB_INTERNAL _length_code[] |