Go to the source code of this file.
|
int ZEXPORT | deflate (z_streamp strm, int flush) |
|
local block_state | deflate_fast (deflate_state *s, int flush) |
|
local block_state | deflate_slow (deflate_state *s, int flush) |
|
local block_state | deflate_stored (deflate_state *s, int flush) |
|
uLong ZEXPORT | deflateBound (z_streamp strm, uLong sourceLen) |
|
int ZEXPORT | deflateCopy (z_streamp dest, z_streamp source) |
|
int ZEXPORT | deflateEnd (z_streamp strm) |
|
int ZEXPORT | deflateInit2_ (z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size) |
|
int ZEXPORT | deflateInit_ (z_streamp strm, int level, const char *version, int stream_size) |
|
int ZEXPORT | deflateParams (z_streamp strm, int level, int strategy) |
|
int ZEXPORT | deflatePrime (z_streamp strm, int bits, int value) |
|
int ZEXPORT | deflateReset (z_streamp strm) |
|
int ZEXPORT | deflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength) |
|
int ZEXPORT | deflateSetHeader (z_streamp strm, gz_headerp head) |
|
int ZEXPORT | deflateTune (z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain) |
|
local void | fill_window (deflate_state *s) |
|
local void | flush_pending (z_streamp strm) |
|
local void | lm_init (deflate_state *s) |
|
local uInt | longest_match (deflate_state *s, IPos cur_match) |
|
local uInt | longest_match_fast (deflate_state *s, IPos cur_match) |
|
local void fill_window | OF ((deflate_state *s)) |
|
local block_state deflate_stored | OF ((deflate_state *s, int flush)) |
|
local void putShortMSB | OF ((deflate_state *s, uInt b)) |
|
local void flush_pending | OF ((z_streamp strm)) |
|
local int read_buf | OF ((z_streamp strm, Bytef *buf, unsigned size)) |
|
local uInt longest_match | OF ((deflate_state *s, IPos cur_match)) |
|
local void | putShortMSB (deflate_state *s, uInt b) |
|
local int | read_buf (z_streamp strm, Bytef *buf, unsigned size) |
|
Value:s->head[s->hash_size-1] =
NIL;
\ zmemzero((
Bytef *)s->head, (
unsigned)(s->hash_size-1)*
sizeof(*s->head));
void zmemzero(Bytef *dest, uInt len)
Definition at line 199 of file deflate.c.
#define FLUSH_BLOCK |
( |
|
s, |
|
|
|
eof |
|
) |
| |
Value:}
#define FLUSH_BLOCK_ONLY(s, eof)
Definition at line 1376 of file deflate.c.
#define FLUSH_BLOCK_ONLY |
( |
|
s, |
|
|
|
eof |
|
) |
| |
Value: (
charf *)&s->window[(
unsigned)s->block_start] : \
(
ulg)((
long)s->strstart - s->block_start), \
(eof)); \
s->block_start = s->strstart;
\}
local void flush_pending(z_streamp strm)
void _tr_flush_block(deflate_state *s, charf *buf, ulg stored_len, int eof)
Definition at line 1364 of file deflate.c.
#define INSERT_STRING |
( |
|
s, |
|
|
|
str, |
|
|
|
match_head |
|
) |
| |
Value: match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \
s->head[s->ins_h] = (
Pos)(str))
#define UPDATE_HASH(s, h, c)
Definition at line 189 of file deflate.c.
#define UPDATE_HASH |
( |
|
s, |
|
|
|
h, |
|
|
|
c |
|
) |
| (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) |
Enumerator |
---|
need_more |
|
block_done |
|
finish_started |
|
finish_done |
|
Definition at line 66 of file deflate.c.
Initial value:= {
local block_state deflate_stored(deflate_state *s, int flush)
local block_state deflate_fast(deflate_state *s, int flush)
local block_state deflate_slow(deflate_state *s, int flush)
Definition at line 137 of file deflate.c.
const char deflate_copyright[] |
Initial value:=
" deflate 1.2.3 Copyright 1995-2005 Jean-loup Gailly "
Definition at line 54 of file deflate.c.