Geant4
10.03.p01
|
#include "deflate.h"
Go to the source code of this file.
Classes | |
struct | config_s |
struct | static_tree_desc_s |
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 | OF ((deflate_state *s, int flush)) |
typedef struct config_s | config |
Enumerations | |
enum | block_state { need_more, block_done, finish_started, finish_done } |
Variables | |
local const config | configuration_table [10] |
#define check_match | ( | s, | |
start, | |||
match, | |||
length | |||
) |
Definition at line 1323 of file deflate.cc.
#define CLEAR_HASH | ( | s | ) |
Definition at line 196 of file deflate.cc.
#define EQUAL 0 |
Definition at line 151 of file deflate.cc.
#define FLUSH_BLOCK | ( | s, | |
last | |||
) |
Definition at line 1495 of file deflate.cc.
#define FLUSH_BLOCK_ONLY | ( | s, | |
last | |||
) |
Definition at line 1483 of file deflate.cc.
#define INSERT_STRING | ( | s, | |
str, | |||
match_head | |||
) |
Definition at line 186 of file deflate.cc.
#define NIL 0 |
Definition at line 104 of file deflate.cc.
#define RANK | ( | f | ) | (((f) << 1) - ((f) > 4 ? 9 : 0)) |
Definition at line 159 of file deflate.cc.
#define TOO_FAR 4096 |
Definition at line 108 of file deflate.cc.
Definition at line 167 of file deflate.cc.
typedef block_state compress_func OF((deflate_state *s, int flush)) |
Definition at line 73 of file deflate.cc.
enum block_state |
Enumerator | |
---|---|
need_more | |
block_done | |
finish_started | |
finish_done |
Definition at line 66 of file deflate.cc.
Definition at line 627 of file deflate.cc.
local block_state deflate_fast | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 1571 of file deflate.cc.
local block_state deflate_huff | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 1871 of file deflate.cc.
local block_state deflate_rle | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 1800 of file deflate.cc.
local block_state deflate_slow | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 1671 of file deflate.cc.
local block_state deflate_stored | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 1509 of file deflate.cc.
uLong ZEXPORT deflateBound | ( | z_streamp | strm, |
uLong | sourceLen | ||
) |
Definition at line 533 of file deflate.cc.
Definition at line 973 of file deflate.cc.
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 209 of file deflate.cc.
Definition at line 201 of file deflate.cc.
Definition at line 465 of file deflate.cc.
Definition at line 431 of file deflate.cc.
Definition at line 442 of file deflate.cc.
Definition at line 411 of file deflate.cc.
Definition at line 377 of file deflate.cc.
Definition at line 311 of file deflate.cc.
int ZEXPORT deflateSetHeader | ( | z_streamp | strm, |
gz_headerp | head | ||
) |
Definition at line 422 of file deflate.cc.
int ZEXPORT deflateTune | ( | z_streamp | strm, |
int | good_length, | ||
int | max_lazy, | ||
int | nice_length, | ||
int | max_chain | ||
) |
Definition at line 503 of file deflate.cc.
local void fill_window | ( | deflate_state * | s | ) |
Definition at line 1336 of file deflate.cc.
Definition at line 605 of file deflate.cc.
local void lm_init | ( | deflate_state * | s | ) |
local uInt longest_match | ( | deflate_state * | s, |
IPos | cur_match | ||
) |
Definition at line 1101 of file deflate.cc.
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 uInt longest_match OF | ( | (deflate_state *s, IPos cur_match) | ) |
local void putShortMSB | ( | deflate_state * | s, |
uInt | b | ||
) |
Definition at line 1033 of file deflate.cc.
Definition at line 131 of file deflate.cc.