ReactOS 0.4.16-dev-306-g647d351
|
#include "deflate.h"
Go to the source code of this file.
Classes | |
struct | config_s |
Macros | |
#define | NIL 0 |
#define | TOO_FAR 4096 |
#define | RANK(f) (((f) * 2) - ((f) > 4 ? 9 : 0)) |
#define | UPDATE_HASH(s, h, c) (h = (((h) << s->hash_shift) ^ (c)) & s->hash_mask) |
#define | INSERT_STRING(s, str, match_head) |
#define | CLEAR_HASH(s) |
#define | HCRC_UPDATE(beg) |
#define | check_match(s, start, match, length) |
#define | FLUSH_BLOCK_ONLY(s, last) |
#define | FLUSH_BLOCK(s, last) |
#define | MAX_STORED 65535 |
#define | MIN(a, b) ((a) > (b) ? (b) : (a)) |
Typedefs | |
typedef block_state compress_func | OF((deflate_state *s, int flush)) |
typedef struct config_s | config |
Enumerations | |
enum | block_state { need_more , block_done , finish_started , finish_done } |
Variables | |
const char | deflate_copyright [] |
const config | configuration_table [10] |
#define HCRC_UPDATE | ( | beg | ) |
typedef block_state compress_func OF((deflate_state *s, int flush)) |
Enumerator | |
---|---|
need_more | |
block_done | |
finish_started | |
finish_done |
Definition at line 66 of file deflate.c.
Definition at line 815 of file deflate.c.
Referenced by CMSZipCodec::Compress(), compress2(), deflateParams(), gz_comp(), zipCloseFileInZipRaw64(), zipWriteInFileInZip(), and zlib_compress().
block_state deflate_fast | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 1877 of file deflate.c.
block_state deflate_huff | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 2184 of file deflate.c.
Referenced by deflate().
block_state deflate_rle | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 2110 of file deflate.c.
Referenced by deflate().
block_state deflate_slow | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 1979 of file deflate.c.
block_state deflate_stored | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 1690 of file deflate.c.
Referenced by deflate().
Definition at line 696 of file deflate.c.
Definition at line 1156 of file deflate.c.
Definition at line 1130 of file deflate.c.
Referenced by CMSZipCodec::Compress(), compress2(), deflateCopy(), deflateInit2_(), gzclose_w(), zipCloseFileInZipRaw64(), and zlib_compress().
int ZEXPORT deflateInit2_ | ( | z_streamp | strm, |
int | level, | ||
int | method, | ||
int | windowBits, | ||
int | memLevel, | ||
int | strategy, | ||
const char * | version, | ||
int | stream_size | ||
) |
Definition at line 237 of file deflate.c.
Referenced by deflateInit_().
Definition at line 225 of file deflate.c.
Definition at line 605 of file deflate.c.
Referenced by gzsetparams().
Definition at line 564 of file deflate.c.
Definition at line 578 of file deflate.c.
Definition at line 541 of file deflate.c.
Referenced by deflateInit2_(), and gz_comp().
Definition at line 503 of file deflate.c.
Referenced by deflateReset().
Definition at line 412 of file deflate.c.
int ZEXPORT deflateSetHeader | ( | z_streamp | strm, |
gz_headerp | head | ||
) |
Definition at line 389 of file deflate.c.
Referenced by deflate(), deflateBound(), deflateCopy(), deflateEnd(), deflateGetDictionary(), deflateParams(), deflatePending(), deflatePrime(), deflateResetKeep(), deflateSetDictionary(), deflateSetHeader(), and deflateTune().
int ZEXPORT deflateTune | ( | z_streamp | strm, |
int | good_length, | ||
int | max_lazy, | ||
int | nice_length, | ||
int | max_chain | ||
) |
void fill_window | ( | deflate_state * | s | ) |
Definition at line 1527 of file deflate.c.
Referenced by deflate_fast(), deflate_huff(), deflate_rle(), deflate_slow(), and deflateSetDictionary().
void lm_init | ( | deflate_state * | s | ) |
uInt longest_match | ( | deflate_state * | s, |
IPos | cur_match | ||
) |
Definition at line 1278 of file deflate.c.
Referenced by deflate_fast(), and deflate_slow().
void slide_hash OF | ( | (deflate_state *s) | ) |
uInt longest_match OF | ( | (deflate_state *s, IPos cur_match) | ) |
void putShortMSB OF | ( | (deflate_state *s, uInt b) | ) |
int deflateStateCheck OF | ( | (z_streamp strm) | ) |
void putShortMSB | ( | deflate_state * | s, |
uInt | b | ||
) |
void slide_hash | ( | deflate_state * | s | ) |
Definition at line 198 of file deflate.c.
Referenced by deflateParams(), and fill_window().
Definition at line 128 of file deflate.c.
Referenced by deflate(), deflateParams(), and lm_init().