![]() |
Wise&mystical
1.0
Project about Europe
|
Go to the source code of this file.
Classes | |
struct | sdefl_freq |
struct | sdefl_code_words |
struct | sdefl_lens |
struct | sdefl_codes |
struct | sdefl_seqt |
struct | sdefl |
Macros | |
#define | SDEFL_MAX_OFF (1 << 15) |
#define | SDEFL_WIN_SIZ SDEFL_MAX_OFF |
#define | SDEFL_WIN_MSK (SDEFL_WIN_SIZ-1) |
#define | SDEFL_HASH_BITS 15 |
#define | SDEFL_HASH_SIZ (1 << SDEFL_HASH_BITS) |
#define | SDEFL_HASH_MSK (SDEFL_HASH_SIZ-1) |
#define | SDEFL_MIN_MATCH 4 |
#define | SDEFL_BLK_MAX (256*1024) |
#define | SDEFL_SEQ_SIZ ((SDEFL_BLK_MAX + SDEFL_MIN_MATCH)/SDEFL_MIN_MATCH) |
#define | SDEFL_SYM_MAX (288) |
#define | SDEFL_OFF_MAX (32) |
#define | SDEFL_PRE_MAX (19) |
#define | SDEFL_LVL_MIN 0 |
#define | SDEFL_LVL_DEF 5 |
#define | SDEFL_LVL_MAX 8 |
Functions | |
int | sdefl_bound (int in_len) |
int | sdeflate (struct sdefl *s, void *o, const void *i, int n, int lvl) |
int | zsdeflate (struct sdefl *s, void *o, const void *i, int n, int lvl) |
#define SDEFL_HASH_MSK (SDEFL_HASH_SIZ-1) |
#define SDEFL_HASH_SIZ (1 << SDEFL_HASH_BITS) |
#define SDEFL_SEQ_SIZ ((SDEFL_BLK_MAX + SDEFL_MIN_MATCH)/SDEFL_MIN_MATCH) |
#define SDEFL_WIN_MSK (SDEFL_WIN_SIZ-1) |
#define SDEFL_WIN_SIZ SDEFL_MAX_OFF |
int sdefl_bound | ( | int | in_len | ) |
int sdeflate | ( | struct sdefl * | s, |
void * | o, | ||
const void * | i, | ||
int | n, | ||
int | lvl | ||
) |
int zsdeflate | ( | struct sdefl * | s, |
void * | o, | ||
const void * | i, | ||
int | n, | ||
int | lvl | ||
) |