Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
#include "deflate.h"
Go to the source code of this file.
Classes | |
struct | config |
struct | static_tree_desc |
Macros | |
#define | NIL 0 |
#define | TOO_FAR 4096 |
#define | EQUAL 0 |
#define | RANK(f) (((f) << 1) - ((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 | check_match(s, start, match, length) |
#define | FLUSH_BLOCK_ONLY(s, last) |
#define | FLUSH_BLOCK(s, last) |
Typedefs | |
typedef block_state(* | compress_func) () |
Enumerations | |
enum | block_state { need_more, block_done, finish_started, finish_done } |
Functions | |
static void | fill_window () |
static block_state | deflate_stored () |
static block_state | deflate_fast () |
static block_state | deflate_slow () |
static block_state | deflate_rle () |
static block_state | deflate_huff () |
static void | lm_init () |
static void | putShortMSB () |
static void | flush_pending () |
static int | read_buf () |
static uInt | longest_match () |
int | deflateInit_ (z_streamp strm, int level, char *version, int stream_size) |
int | deflateInit2_ (z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, char *version, int stream_size) |
int | deflateSetDictionary (z_streamp strm, Bytef *dictionary, uInt dictLength) |
int | deflateResetKeep (z_streamp strm) |
int | deflateReset (z_streamp strm) |
int | deflateSetHeader (z_streamp strm, gz_headerp head) |
int | deflatePending (z_streamp strm, unsigned *pending, int *bits) |
int | deflatePrime (z_streamp strm, int bits, int value) |
int | deflateParams (z_streamp strm, int level, int strategy) |
int | deflateTune (z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain) |
uLong | deflateBound (z_streamp strm, uLong sourceLen) |
static void | putShortMSB (deflate_state *s, uInt b) |
static void | flush_pending (z_streamp strm) |
int | deflate (z_streamp strm, int flush) |
int | deflateEnd (z_streamp strm) |
int | deflateCopy (z_streamp dest, z_streamp source) |
static int | read_buf (z_streamp strm, Bytef *buf, unsigned size) |
static void | lm_init (deflate_state *s) |
static uInt | longest_match (deflate_state *s, IPos cur_match) |
static void | fill_window (deflate_state *s) |
static block_state | deflate_stored (deflate_state *s, int flush) |
static block_state | deflate_fast (deflate_state *s, int flush) |
static block_state | deflate_slow (deflate_state *s, int flush) |
static block_state | deflate_rle (deflate_state *s, int flush) |
static block_state | deflate_huff (deflate_state *s, int flush) |
Variables | |
char | deflate_copyright [] |
static config | configuration_table [10] |
struct config |
struct static_tree_desc_s |
#define CLEAR_HASH | ( | s | ) |
#define FLUSH_BLOCK | ( | s, | |
last | |||
) |
#define FLUSH_BLOCK_ONLY | ( | s, | |
last | |||
) |
#define INSERT_STRING | ( | s, | |
str, | |||
match_head | |||
) |
#define UPDATE_HASH | ( | s, | |
h, | |||
c | |||
) | (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) |
typedef block_state(* compress_func) () |
enum block_state |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int deflateInit2_ | ( | z_streamp | strm, |
int | level, | ||
int | method, | ||
int | windowBits, | ||
int | memLevel, | ||
int | strategy, | ||
char * | version, | ||
int | stream_size | ||
) |
int deflateInit_ | ( | z_streamp | strm, |
int | level, | ||
char * | version, | ||
int | stream_size | ||
) |
int deflateParams | ( | z_streamp | strm, |
int | level, | ||
int | strategy | ||
) |
int deflatePending | ( | z_streamp | strm, |
unsigned * | pending, | ||
int * | bits | ||
) |
int deflateSetHeader | ( | z_streamp | strm, |
gz_headerp | head | ||
) |
int deflateTune | ( | z_streamp | strm, |
int | good_length, | ||
int | max_lazy, | ||
int | nice_length, | ||
int | max_chain | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |