Go to the source code of this file.
|
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)) |
|
int ZEXPORT | deflateInit_ (z_streamp strm, int level, const char *version, int stream_size) |
|
int ZEXPORT | deflateInit2_ (z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size) |
|
int ZEXPORT | deflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength) |
|
int ZEXPORT | deflateReset (z_streamp strm) |
|
int ZEXPORT | deflatePrime (z_streamp strm, int bits, int value) |
|
int ZEXPORT | deflateParams (z_streamp strm, int level, int strategy) |
|
uLong ZEXPORT | deflateBound (z_streamp strm, uLong sourceLen) |
|
local void | putShortMSB (deflate_state *s, uInt b) |
|
local void | flush_pending (z_streamp strm) |
|
int ZEXPORT | deflate (z_streamp strm, int flush) |
|
int ZEXPORT | deflateEnd (z_streamp strm) |
|
int ZEXPORT | deflateCopy (z_streamp dest, z_streamp source) |
|
local int | read_buf (z_streamp strm, Bytef *buf, unsigned size) |
|
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 (deflate_state *s) |
|
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) |
|
#define check_match |
( |
|
s, |
|
|
|
start, |
|
|
|
match, |
|
|
|
length |
|
) |
| |
Value:s->head[
s->hash_size-1] =
NIL; \
zmemzero((
Bytef *)
s->head, (
unsigned)(
s->hash_size-1)*
sizeof(*
s->head));
Definition at line 199 of file deflate.cc.
#define FLUSH_BLOCK |
( |
|
s, |
|
|
|
eof |
|
) |
| |
Value:{ \
FLUSH_BLOCK_ONLY(
s, eof); \
}
Definition at line 1159 of file deflate.cc.
#define FLUSH_BLOCK_ONLY |
( |
|
s, |
|
|
|
eof |
|
) |
| |
Value:{ \
_tr_flush_block(
s, (
s->block_start >= 0L ? \
(
charf *)&
s->window[(
unsigned)
s->block_start] : \
(
ulg)((
long)
s->strstart -
s->block_start), \
s->block_start =
s->strstart; \
flush_pending(
s->strm); \
Tracev((stderr,(char*)"[FLUSH]")); \
}
Definition at line 1147 of file deflate.cc.
#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))
Definition at line 189 of file deflate.cc.
#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.cc.
const char deflate_copyright[] |
Initial value:=
" deflate 1.2.2 Copyright 1995-2004 Jean-loup Gailly "
Definition at line 54 of file deflate.cc.