#include <sys/cdefs.h>
#include "osdep.h"
#include "fastlz.h"
#include "fastlz.c"
Go to the source code of this file.
|
| __FBSDID ("$FreeBSD$") |
|
static FASTLZ_INLINE int | FASTLZ_COMPRESSOR (const void *input, int length, void *output) |
|
static FASTLZ_INLINE int | FASTLZ_DECOMPRESSOR (const void *input, int length, void *output, int maxout) |
|
int | fastlz_compress (const void *input, int length, void *output) |
|
int | fastlz_decompress (const void *input, int length, void *output, int maxout) |
|
int | fastlz_compress_level (int level, const void *input, int length, void *output) |
|
◆ FASTLZ_COMPRESSOR [1/2]
#define FASTLZ_COMPRESSOR fastlz1_compress |
◆ FASTLZ_COMPRESSOR [2/2]
#define FASTLZ_COMPRESSOR fastlz2_compress |
◆ FASTLZ_DECOMPRESSOR [1/2]
#define FASTLZ_DECOMPRESSOR fastlz1_decompress |
◆ FASTLZ_DECOMPRESSOR [2/2]
#define FASTLZ_DECOMPRESSOR fastlz2_decompress |
◆ FASTLZ_EXPECT_CONDITIONAL
#define FASTLZ_EXPECT_CONDITIONAL |
( |
|
c | ) |
(c) |
◆ FASTLZ_INLINE
◆ FASTLZ_LEVEL [1/2]
◆ FASTLZ_LEVEL [2/2]
◆ FASTLZ_READU16
#define FASTLZ_READU16 |
( |
|
p | ) |
((p)[0] | (p)[1]<<8) |
◆ FASTLZ_SAFE
◆ FASTLZ_STRICT_ALIGN
#define FASTLZ_STRICT_ALIGN |
◆ FASTLZ_UNEXPECT_CONDITIONAL
#define FASTLZ_UNEXPECT_CONDITIONAL |
( |
|
c | ) |
(c) |
◆ HASH_FUNCTION
#define HASH_FUNCTION |
( |
|
v, |
|
|
|
p |
|
) |
| |
Value: {\
}
#define FASTLZ_READU16(p)
Definition at line 108 of file fastlz.c.
◆ HASH_LOG
◆ HASH_MASK
◆ HASH_SIZE
◆ MAX_COPY
◆ MAX_DISTANCE [1/2]
#define MAX_DISTANCE 8192 |
◆ MAX_DISTANCE [2/2]
#define MAX_DISTANCE 8191 |
◆ MAX_FARDISTANCE
◆ MAX_LEN
#define MAX_LEN 264 /* 256 + 8 */ |
◆ __FBSDID()
◆ fastlz_compress()
int fastlz_compress |
( |
const void * |
input, |
|
|
int |
length, |
|
|
void * |
output |
|
) |
| |
◆ fastlz_compress_level()
int fastlz_compress_level |
( |
int |
level, |
|
|
const void * |
input, |
|
|
int |
length, |
|
|
void * |
output |
|
) |
| |
◆ FASTLZ_COMPRESSOR()
static FASTLZ_INLINE int FASTLZ_COMPRESSOR |
( |
const void * |
input, |
|
|
int |
length, |
|
|
void * |
output |
|
) |
| |
|
static |
◆ fastlz_decompress()
int fastlz_decompress |
( |
const void * |
input, |
|
|
int |
length, |
|
|
void * |
output, |
|
|
int |
maxout |
|
) |
| |
◆ FASTLZ_DECOMPRESSOR()
static FASTLZ_INLINE int FASTLZ_DECOMPRESSOR |
( |
const void * |
input, |
|
|
int |
length, |
|
|
void * |
output, |
|
|
int |
maxout |
|
) |
| |
|
static |