ROOTANA
|
Go to the source code of this file.
Data Structures | |
struct | MLZ4_stream_t |
struct | MLZ4_streamDecode_t |
Macros | |
#define | MLZ4_VERSION_MAJOR 1 /* for breaking interface changes */ |
#define | MLZ4_VERSION_MINOR 7 /* for new (non-breaking) interface capabilities */ |
#define | MLZ4_VERSION_RELEASE 1 /* for tweaks, bug-fixes, or development */ |
#define | MLZ4_VERSION_NUMBER (MLZ4_VERSION_MAJOR *100*100 + MLZ4_VERSION_MINOR *100 + MLZ4_VERSION_RELEASE) |
#define | MLZ4_MEMORY_USAGE 14 |
#define | MLZ4_MAX_INPUT_SIZE 0x7E000000 /* 2 113 929 216 bytes */ |
#define | MLZ4_COMPRESSBOUND(isize) ((unsigned)(isize) > (unsigned)MLZ4_MAX_INPUT_SIZE ? 0 : (isize) + ((isize)/255) + 16) |
#define | MLZ4_STREAMSIZE_U64 ((1 << (MLZ4_MEMORY_USAGE-3)) + 4) |
#define | MLZ4_STREAMSIZE (MLZ4_STREAMSIZE_U64 * sizeof(long long)) |
#define | MLZ4_STREAMDECODESIZE_U64 4 |
#define | MLZ4_STREAMDECODESIZE (MLZ4_STREAMDECODESIZE_U64 * sizeof(unsigned long long)) |
#define | MLZ4_DEPRECATE_WARNING_DEFBLOCK |
#define | MLZ4_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) |
#define | MLZ4_DEPRECATED(message) |
Functions | |
int | MLZ4_versionNumber (void) |
int | MLZ4_compress_default (const char *source, char *dest, int sourceSize, int maxDestSize) |
int | MLZ4_decompress_safe (const char *source, char *dest, int compressedSize, int maxDecompressedSize) |
int | MLZ4_compressBound (int inputSize) |
int | MLZ4_compress_fast (const char *source, char *dest, int sourceSize, int maxDestSize, int acceleration) |
int | MLZ4_sizeofState (void) |
int | MLZ4_compress_fast_extState (void *state, const char *source, char *dest, int inputSize, int maxDestSize, int acceleration) |
int | MLZ4_compress_destSize (const char *source, char *dest, int *sourceSizePtr, int targetDestSize) |
int | MLZ4_decompress_fast (const char *source, char *dest, int originalSize) |
int | MLZ4_decompress_safe_partial (const char *source, char *dest, int compressedSize, int targetOutputSize, int maxDecompressedSize) |
void | MLZ4_resetStream (MLZ4_stream_t *streamPtr) |
MLZ4_stream_t * | MLZ4_createStream (void) |
int | MLZ4_freeStream (MLZ4_stream_t *streamPtr) |
int | MLZ4_loadDict (MLZ4_stream_t *streamPtr, const char *dictionary, int dictSize) |
int | MLZ4_compress_fast_continue (MLZ4_stream_t *streamPtr, const char *src, char *dst, int srcSize, int maxDstSize, int acceleration) |
int | MLZ4_saveDict (MLZ4_stream_t *streamPtr, char *safeBuffer, int dictSize) |
MLZ4_streamDecode_t * | MLZ4_createStreamDecode (void) |
int | MLZ4_freeStreamDecode (MLZ4_streamDecode_t *MLZ4_stream) |
int | MLZ4_setStreamDecode (MLZ4_streamDecode_t *MLZ4_streamDecode, const char *dictionary, int dictSize) |
int | MLZ4_decompress_safe_continue (MLZ4_streamDecode_t *MLZ4_streamDecode, const char *source, char *dest, int compressedSize, int maxDecompressedSize) |
int | MLZ4_decompress_fast_continue (MLZ4_streamDecode_t *MLZ4_streamDecode, const char *source, char *dest, int originalSize) |
int | MLZ4_decompress_safe_usingDict (const char *source, char *dest, int compressedSize, int maxDecompressedSize, const char *dictStart, int dictSize) |
int | MLZ4_decompress_fast_usingDict (const char *source, char *dest, int originalSize, const char *dictStart, int dictSize) |
int | MLZ4_compress (const char *source, char *dest, int sourceSize) |
int | MLZ4_compress_limitedOutput (const char *source, char *dest, int sourceSize, int maxOutputSize) |
int | MLZ4_compress_withState (void *state, const char *source, char *dest, int inputSize) |
int | MLZ4_compress_limitedOutput_withState (void *state, const char *source, char *dest, int inputSize, int maxOutputSize) |
int | MLZ4_compress_continue (MLZ4_stream_t *MLZ4_streamPtr, const char *source, char *dest, int inputSize) |
int | MLZ4_compress_limitedOutput_continue (MLZ4_stream_t *MLZ4_streamPtr, const char *source, char *dest, int inputSize, int maxOutputSize) |
MLZ4_DEPRECATED ("use MLZ4_createStream() instead") void *MLZ4_create(char *inputBuffer) | |
MLZ4_DEPRECATED ("use MLZ4_resetStream() instead") int MLZ4_resetStreamState(void *state | |
MLZ4_DEPRECATED ("use MLZ4_saveDict() instead") char *MLZ4_slideInputBuffer(void *state) | |
MLZ4_DEPRECATED ("use MLZ4_decompress_safe_usingDict() instead") int MLZ4_decompress_safe_withPrefix64k(const char *src | |
MLZ4_DEPRECATED ("use MLZ4_decompress_fast_usingDict() instead") int MLZ4_decompress_fast_withPrefix64k(const char *src | |
Variables | |
char * | inputBuffer |
char * | dst |
char int | compressedSize |
char int int | maxDstSize |
char int | originalSize |
#define MLZ4_COMPRESSBOUND | ( | isize | ) | ((unsigned)(isize) > (unsigned)MLZ4_MAX_INPUT_SIZE ? 0 : (isize) + ((isize)/255) + 16) |
#define MLZ4_MAX_INPUT_SIZE 0x7E000000 /* 2 113 929 216 bytes */ |
#define MLZ4_STREAMDECODESIZE (MLZ4_STREAMDECODESIZE_U64 * sizeof(unsigned long long)) |
#define MLZ4_STREAMSIZE (MLZ4_STREAMSIZE_U64 * sizeof(long long)) |
#define MLZ4_STREAMSIZE_U64 ((1 << (MLZ4_MEMORY_USAGE-3)) + 4) |
#define MLZ4_VERSION_MAJOR 1 /* for breaking interface changes */ |
#define MLZ4_VERSION_MINOR 7 /* for new (non-breaking) interface capabilities */ |
#define MLZ4_VERSION_NUMBER (MLZ4_VERSION_MAJOR *100*100 + MLZ4_VERSION_MINOR *100 + MLZ4_VERSION_RELEASE) |
#define MLZ4_VERSION_RELEASE 1 /* for tweaks, bug-fixes, or development */ |
int MLZ4_compress | ( | const char * | source, |
char * | dest, | ||
int | sourceSize | ||
) |
int MLZ4_compress_continue | ( | MLZ4_stream_t * | MLZ4_streamPtr, |
const char * | source, | ||
char * | dest, | ||
int | inputSize | ||
) |
int MLZ4_compress_default | ( | const char * | source, |
char * | dest, | ||
int | sourceSize, | ||
int | maxDestSize | ||
) |
int MLZ4_compress_destSize | ( | const char * | source, |
char * | dest, | ||
int * | sourceSizePtr, | ||
int | targetDestSize | ||
) |
int MLZ4_compress_fast | ( | const char * | source, |
char * | dest, | ||
int | sourceSize, | ||
int | maxDestSize, | ||
int | acceleration | ||
) |
int MLZ4_compress_fast_continue | ( | MLZ4_stream_t * | streamPtr, |
const char * | src, | ||
char * | dst, | ||
int | srcSize, | ||
int | maxDstSize, | ||
int | acceleration | ||
) |
int MLZ4_compress_fast_extState | ( | void * | state, |
const char * | source, | ||
char * | dest, | ||
int | inputSize, | ||
int | maxDestSize, | ||
int | acceleration | ||
) |
int MLZ4_compress_limitedOutput | ( | const char * | source, |
char * | dest, | ||
int | sourceSize, | ||
int | maxOutputSize | ||
) |
int MLZ4_compress_limitedOutput_continue | ( | MLZ4_stream_t * | MLZ4_streamPtr, |
const char * | source, | ||
char * | dest, | ||
int | inputSize, | ||
int | maxOutputSize | ||
) |
int MLZ4_compress_limitedOutput_withState | ( | void * | state, |
const char * | source, | ||
char * | dest, | ||
int | inputSize, | ||
int | maxOutputSize | ||
) |
int MLZ4_compress_withState | ( | void * | state, |
const char * | source, | ||
char * | dest, | ||
int | inputSize | ||
) |
int MLZ4_compressBound | ( | int | inputSize | ) |
MLZ4_stream_t * MLZ4_createStream | ( | void | ) |
MLZ4_streamDecode_t * MLZ4_createStreamDecode | ( | void | ) |
int MLZ4_decompress_fast | ( | const char * | source, |
char * | dest, | ||
int | originalSize | ||
) |
int MLZ4_decompress_fast_continue | ( | MLZ4_streamDecode_t * | MLZ4_streamDecode, |
const char * | source, | ||
char * | dest, | ||
int | originalSize | ||
) |
int MLZ4_decompress_fast_usingDict | ( | const char * | source, |
char * | dest, | ||
int | originalSize, | ||
const char * | dictStart, | ||
int | dictSize | ||
) |
int MLZ4_decompress_safe | ( | const char * | source, |
char * | dest, | ||
int | compressedSize, | ||
int | maxDecompressedSize | ||
) |
int MLZ4_decompress_safe_continue | ( | MLZ4_streamDecode_t * | MLZ4_streamDecode, |
const char * | source, | ||
char * | dest, | ||
int | compressedSize, | ||
int | maxDecompressedSize | ||
) |
int MLZ4_decompress_safe_partial | ( | const char * | source, |
char * | dest, | ||
int | compressedSize, | ||
int | targetOutputSize, | ||
int | maxDecompressedSize | ||
) |
int MLZ4_decompress_safe_usingDict | ( | const char * | source, |
char * | dest, | ||
int | compressedSize, | ||
int | maxDecompressedSize, | ||
const char * | dictStart, | ||
int | dictSize | ||
) |
MLZ4_DEPRECATED | ( | "use MLZ4_createStream() instead" | ) |
MLZ4_DEPRECATED | ( | "use MLZ4_decompress_fast_usingDict() instead" | ) | const |
MLZ4_DEPRECATED | ( | "use MLZ4_decompress_safe_usingDict() instead" | ) | const |
MLZ4_DEPRECATED | ( | "use MLZ4_resetStream() instead" | ) |
MLZ4_DEPRECATED | ( | "use MLZ4_saveDict() instead" | ) |
int MLZ4_freeStream | ( | MLZ4_stream_t * | streamPtr | ) |
int MLZ4_freeStreamDecode | ( | MLZ4_streamDecode_t * | MLZ4_stream | ) |
int MLZ4_loadDict | ( | MLZ4_stream_t * | streamPtr, |
const char * | dictionary, | ||
int | dictSize | ||
) |
void MLZ4_resetStream | ( | MLZ4_stream_t * | streamPtr | ) |
int MLZ4_saveDict | ( | MLZ4_stream_t * | streamPtr, |
char * | safeBuffer, | ||
int | dictSize | ||
) |
int MLZ4_setStreamDecode | ( | MLZ4_streamDecode_t * | MLZ4_streamDecode, |
const char * | dictionary, | ||
int | dictSize | ||
) |