RetroArch
|
#include "deflate.h"
Classes | |
struct | config_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) (deflate_state *s, int flush) |
typedef struct config_s | config |
Enumerations | |
enum | block_state { need_more, block_done, finish_started, finish_done } |
Functions | |
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) |
static void | lm_init (deflate_state *s) |
static void | putShortMSB (deflate_state *s, uInt b) |
static void | flush_pending (z_streamp strm) |
static int | read_buf (z_streamp strm, Bytef *buf, unsigned size) |
static uInt | longest_match (deflate_state *s, IPos cur_match) |
int | deflateResetKeep (z_streamp strm) |
int | deflatePending (z_streamp strm, unsigned *pending, int *bits) |
int | deflateInit_ (z_streamp strm, int level, const char *version, int stream_size) |
int | deflateInit2_ (z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size) |
int | deflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength) |
int | deflateReset (z_streamp strm) |
int | deflateSetHeader (z_streamp strm, gz_headerp head) |
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) |
int | deflate (z_streamp strm, int flush) |
int | deflateEnd (z_streamp strm) |
int | deflateCopy (z_streamp dest, z_streamp source) |
Variables | |
const char | deflate_copyright [] |
static const config | configuration_table [10] |
#define CLEAR_HASH | ( | s | ) |
#define EQUAL 0 |
#define FLUSH_BLOCK | ( | s, | |
last | |||
) |
#define FLUSH_BLOCK_ONLY | ( | s, | |
last | |||
) |
#define NIL 0 |
#define TOO_FAR 4096 |
typedef block_state(* compress_func) (deflate_state *s, int flush) |
enum block_state |
int deflate | ( | z_streamp | strm, |
int | flush | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
int deflateCopy | ( | z_streamp | dest, |
z_streamp | source | ||
) |
int deflateEnd | ( | z_streamp | strm | ) |
int deflateInit2_ | ( | z_streamp | strm, |
int | level, | ||
int | method, | ||
int | windowBits, | ||
int | memLevel, | ||
int | strategy, | ||
const char * | version, | ||
int | stream_size | ||
) |
int deflateInit_ | ( | z_streamp | strm, |
int | level, | ||
const char * | version, | ||
int | stream_size | ||
) |
int deflateParams | ( | z_streamp | strm, |
int | level, | ||
int | strategy | ||
) |
int deflatePending | ( | z_streamp | strm, |
unsigned * | pending, | ||
int * | bits | ||
) |
int deflatePrime | ( | z_streamp | strm, |
int | bits, | ||
int | value | ||
) |
int deflateReset | ( | z_streamp | strm | ) |
int deflateResetKeep | ( | z_streamp | strm | ) |
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 |
const char deflate_copyright[] |