Go to the source code of this file.
|
int ZEXPORT | deflate (z_streamp strm, int flush) |
|
block_state | deflate_fast (deflate_state *s, int flush) |
|
block_state | deflate_slow (deflate_state *s, int flush) |
|
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) |
|
void | fill_window (deflate_state *s) |
|
void | flush_pending (z_streamp strm) |
|
void | lm_init (deflate_state *s) |
|
uInt | longest_match (deflate_state *s, IPos cur_match) |
|
uInt | longest_match_fast (deflate_state *s, IPos cur_match) |
|
void fill_window | OF ((deflate_state *s)) |
|
block_state deflate_stored | OF ((deflate_state *s, int flush)) |
|
uInt longest_match | OF ((deflate_state *s, IPos cur_match)) |
|
void putShortMSB | OF ((deflate_state *s, uInt b)) |
|
void flush_pending | OF ((z_streamp strm)) |
|
int read_buf | OF ((z_streamp strm, Bytef *buf, unsigned size)) |
|
void | putShortMSB (deflate_state *s, uInt b) |
|
int | read_buf (z_streamp strm, Bytef *buf, unsigned size) |
|
◆ check_match
◆ CLEAR_HASH
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.c.
◆ EQUAL
◆ FLUSH_BLOCK
#define FLUSH_BLOCK |
( |
|
s, |
|
|
|
eof |
|
) |
| |
Value: { \
FLUSH_BLOCK_ONLY(s, eof); \
}
Definition at line 1376 of file deflate.c.
◆ FLUSH_BLOCK_ONLY
#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), \
(eof)); \
s->block_start = s->strstart; \
flush_pending(s->strm); \
Tracev((stderr,"[FLUSH]")); \
}
Definition at line 1364 of file deflate.c.
◆ INSERT_STRING
#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.c.
◆ MIN_LOOKAHEAD
◆ NIL
◆ TOO_FAR
◆ UPDATE_HASH
#define UPDATE_HASH |
( |
|
s, |
|
|
|
h, |
|
|
|
c |
|
) |
| (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) |
◆ config
◆ OF
◆ block_state
Enumerator |
---|
need_more | |
block_done | |
finish_started | |
finish_done | |
Definition at line 66 of file deflate.c.
◆ deflate()
◆ deflate_fast()
◆ deflate_slow()
◆ deflate_stored()
◆ deflateBound()
◆ deflateCopy()
◆ deflateEnd()
◆ deflateInit2_()
◆ deflateInit_()
◆ deflateParams()
◆ deflatePrime()
◆ deflateReset()
◆ deflateSetDictionary()
◆ deflateSetHeader()
◆ deflateTune()
◆ fill_window()
◆ flush_pending()
◆ lm_init()
◆ longest_match()
◆ longest_match_fast()
◆ OF() [1/6]
◆ OF() [2/6]
◆ OF() [3/6]
◆ OF() [4/6]
◆ OF() [5/6]
◆ OF() [6/6]
◆ putShortMSB()
◆ read_buf()
◆ configuration_table
◆ deflate_copyright
const char deflate_copyright[] |
Initial value:=
" deflate 1.2.3 Copyright 1995-2005 Jean-loup Gailly "
Definition at line 54 of file deflate.c.