Go to the source code of this file.
Classes | |
struct | LZ4_stream_t |
struct | LZ4_streamDecode_t |
Defines | |
#define | LZ4_VERSION_MAJOR 1 |
#define | LZ4_VERSION_MINOR 7 |
#define | LZ4_VERSION_RELEASE 1 |
#define | LZ4_VERSION_NUMBER (LZ4_VERSION_MAJOR *100*100 + LZ4_VERSION_MINOR *100 + LZ4_VERSION_RELEASE) |
#define | LZ4_MEMORY_USAGE 14 |
#define | LZ4_MAX_INPUT_SIZE 0x7E000000 |
#define | LZ4_COMPRESSBOUND(isize) ((unsigned)(isize) > (unsigned)LZ4_MAX_INPUT_SIZE ? 0 : (isize) + ((isize)/255) + 16) |
#define | LZ4_STREAMSIZE_U64 ((1 << (LZ4_MEMORY_USAGE-3)) + 4) |
#define | LZ4_STREAMSIZE (LZ4_STREAMSIZE_U64 * sizeof(long long)) |
#define | LZ4_STREAMDECODESIZE_U64 4 |
#define | LZ4_STREAMDECODESIZE (LZ4_STREAMDECODESIZE_U64 * sizeof(unsigned long long)) |
#define | LZ4_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) |
#define | LZ4_DEPRECATED(message) |
Functions | |
int | LZ4_versionNumber (void) |
int | LZ4_compress_default (const char *source, char *dest, int sourceSize, int maxDestSize) |
int | LZ4_decompress_safe (const char *source, char *dest, int compressedSize, int maxDecompressedSize) |
int | LZ4_compressBound (int inputSize) |
int | LZ4_compress_fast (const char *source, char *dest, int sourceSize, int maxDestSize, int acceleration) |
int | LZ4_sizeofState (void) |
int | LZ4_compress_fast_extState (void *state, const char *source, char *dest, int inputSize, int maxDestSize, int acceleration) |
int | LZ4_compress_destSize (const char *source, char *dest, int *sourceSizePtr, int targetDestSize) |
int | LZ4_decompress_fast (const char *source, char *dest, int originalSize) |
int | LZ4_decompress_safe_partial (const char *source, char *dest, int compressedSize, int targetOutputSize, int maxDecompressedSize) |
void | LZ4_resetStream (LZ4_stream_t *streamPtr) |
LZ4_stream_t * | LZ4_createStream (void) |
int | LZ4_freeStream (LZ4_stream_t *streamPtr) |
int | LZ4_loadDict (LZ4_stream_t *streamPtr, const char *dictionary, int dictSize) |
int | LZ4_compress_fast_continue (LZ4_stream_t *streamPtr, const char *src, char *dst, int srcSize, int maxDstSize, int acceleration) |
int | LZ4_saveDict (LZ4_stream_t *streamPtr, char *safeBuffer, int dictSize) |
LZ4_streamDecode_t * | LZ4_createStreamDecode (void) |
int | LZ4_freeStreamDecode (LZ4_streamDecode_t *LZ4_stream) |
int | LZ4_setStreamDecode (LZ4_streamDecode_t *LZ4_streamDecode, const char *dictionary, int dictSize) |
int | LZ4_decompress_safe_continue (LZ4_streamDecode_t *LZ4_streamDecode, const char *source, char *dest, int compressedSize, int maxDecompressedSize) |
int | LZ4_decompress_fast_continue (LZ4_streamDecode_t *LZ4_streamDecode, const char *source, char *dest, int originalSize) |
int | LZ4_decompress_safe_usingDict (const char *source, char *dest, int compressedSize, int maxDecompressedSize, const char *dictStart, int dictSize) |
int | LZ4_decompress_fast_usingDict (const char *source, char *dest, int originalSize, const char *dictStart, int dictSize) |
int | LZ4_compress (const char *source, char *dest, int sourceSize) |
int | LZ4_compress_limitedOutput (const char *source, char *dest, int sourceSize, int maxOutputSize) |
int | LZ4_compress_withState (void *state, const char *source, char *dest, int inputSize) |
int | LZ4_compress_limitedOutput_withState (void *state, const char *source, char *dest, int inputSize, int maxOutputSize) |
int | LZ4_compress_continue (LZ4_stream_t *LZ4_streamPtr, const char *source, char *dest, int inputSize) |
int | LZ4_compress_limitedOutput_continue (LZ4_stream_t *LZ4_streamPtr, const char *source, char *dest, int inputSize, int maxOutputSize) |
LZ4_DEPRECATED ("use LZ4_createStream() instead") void *LZ4_create(char *inputBuffer) | |
LZ4_DEPRECATED ("use LZ4_resetStream() instead") int LZ4_resetStreamState(void *state | |
LZ4_DEPRECATED ("use LZ4_saveDict() instead") char *LZ4_slideInputBuffer(void *state) | |
LZ4_DEPRECATED ("use LZ4_decompress_safe_usingDict() instead") int LZ4_decompress_safe_withPrefix64k(const char *src | |
LZ4_DEPRECATED ("use LZ4_decompress_fast_usingDict() instead") int LZ4_decompress_fast_withPrefix64k(const char *src | |
Variables | |
char * | inputBuffer |
char * | dst |
char int | compressedSize |
char int int | maxDstSize |
char int | originalSize |
#define LZ4_COMPRESSBOUND | ( | isize | ) | ((unsigned)(isize) > (unsigned)LZ4_MAX_INPUT_SIZE ? 0 : (isize) + ((isize)/255) + 16) |
Referenced by LZ4_compressBound().
#define LZ4_DEPRECATED | ( | message | ) |
#define LZ4_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) |
#define LZ4_MAX_INPUT_SIZE 0x7E000000 |
Referenced by LZ4_compress_destSize_generic(), and LZ4_compress_generic().
#define LZ4_MEMORY_USAGE 14 |
#define LZ4_STREAMDECODESIZE_U64 4 |
Referenced by LZ4_createStream(), LZ4_init(), LZ4_sizeofState(), and LZ4_sizeofStreamState().
#define LZ4_STREAMSIZE_U64 ((1 << (LZ4_MEMORY_USAGE-3)) + 4) |
Referenced by LZ4_create(), and LZ4_createStream().
#define LZ4_VERSION_MAJOR 1 |
#define LZ4_VERSION_MINOR 7 |
#define LZ4_VERSION_NUMBER (LZ4_VERSION_MAJOR *100*100 + LZ4_VERSION_MINOR *100 + LZ4_VERSION_RELEASE) |
Referenced by LZ4_versionNumber().
#define LZ4_VERSION_RELEASE 1 |
References LZ4_compress_default(), and LZ4_compressBound().
Referenced by bshuf_compress_lz4_block().
int LZ4_compress_continue | ( | LZ4_stream_t * | LZ4_streamPtr, | |
const char * | source, | |||
char * | dest, | |||
int | inputSize | |||
) |
References LZ4_compress_fast_continue(), and LZ4_compressBound().
References LZ4_compress_fast().
Referenced by LZ4_compress(), and LZ4_compress_limitedOutput().
int LZ4_compress_destSize | ( | const char * | source, | |
char * | dest, | |||
int * | sourceSizePtr, | |||
int | targetDestSize | |||
) |
References ALLOCATOR, FREEMEM, and LZ4_compress_destSize_extState().
int LZ4_compress_fast | ( | const char * | source, | |
char * | dest, | |||
int | sourceSize, | |||
int | maxDestSize, | |||
int | acceleration | |||
) |
References ALLOCATOR, FREEMEM, and LZ4_compress_fast_extState().
Referenced by LZ4_compress_default().
int LZ4_compress_fast_continue | ( | LZ4_stream_t * | streamPtr, | |
const char * | src, | |||
char * | dst, | |||
int | srcSize, | |||
int | maxDstSize, | |||
int | acceleration | |||
) |
References ACCELERATION_DEFAULT, byU32, LZ4_stream_t_internal::currentOffset, LZ4_stream_t_internal::dictionary, LZ4_stream_t_internal::dictSize, dictSmall, LZ4_stream_t_internal::initCheck, KB, limitedOutput, LZ4_compress_generic(), LZ4_renormDictT(), noDictIssue, usingExtDict, and withPrefix64k.
Referenced by LZ4_compress_continue(), and LZ4_compress_limitedOutput_continue().
int LZ4_compress_fast_extState | ( | void * | state, | |
const char * | source, | |||
char * | dest, | |||
int | inputSize, | |||
int | maxDestSize, | |||
int | acceleration | |||
) |
References ACCELERATION_DEFAULT, byPtr, byU16, byU32, limitedOutput, LZ4_64bits(), LZ4_64Klimit, LZ4_compress_generic(), LZ4_compressBound(), LZ4_resetStream(), noDict, noDictIssue, and notLimited.
Referenced by LZ4_compress_destSize_extState(), LZ4_compress_fast(), LZ4_compress_limitedOutput_withState(), and LZ4_compress_withState().
int LZ4_compress_limitedOutput | ( | const char * | source, | |
char * | dest, | |||
int | sourceSize, | |||
int | maxOutputSize | |||
) |
References LZ4_compress_default().
int LZ4_compress_limitedOutput_continue | ( | LZ4_stream_t * | LZ4_streamPtr, | |
const char * | source, | |||
char * | dest, | |||
int | inputSize, | |||
int | maxOutputSize | |||
) |
References LZ4_compress_fast_continue().
int LZ4_compress_limitedOutput_withState | ( | void * | state, | |
const char * | source, | |||
char * | dest, | |||
int | inputSize, | |||
int | maxOutputSize | |||
) |
References LZ4_compress_fast_extState().
References LZ4_compress_fast_extState(), and LZ4_compressBound().
LZ4_stream_t* LZ4_createStream | ( | void | ) |
References ALLOCATOR, LZ4_resetStream(), LZ4_STATIC_ASSERT, LZ4_STREAMSIZE, and LZ4_STREAMSIZE_U64.
LZ4_streamDecode_t* LZ4_createStreamDecode | ( | void | ) |
References ALLOCATOR.
References endOnOutputSize, full, KB, LZ4_decompress_generic(), and withPrefix64k.
Referenced by bshuf_decompress_lz4_block(), and LZ4_uncompress().
int LZ4_decompress_fast_continue | ( | LZ4_streamDecode_t * | LZ4_streamDecode, | |
const char * | source, | |||
char * | dest, | |||
int | originalSize | |||
) |
int LZ4_decompress_fast_usingDict | ( | const char * | source, | |
char * | dest, | |||
int | originalSize, | |||
const char * | dictStart, | |||
int | dictSize | |||
) |
References LZ4_decompress_usingDict_generic().
int LZ4_decompress_safe | ( | const char * | source, | |
char * | dest, | |||
int | compressedSize, | |||
int | maxDecompressedSize | |||
) |
References endOnInputSize, full, LZ4_decompress_generic(), and noDict.
Referenced by bshuf_decompress_lz4_block(), and LZ4_uncompress_unknownOutputSize().
int LZ4_decompress_safe_continue | ( | LZ4_streamDecode_t * | LZ4_streamDecode, | |
const char * | source, | |||
char * | dest, | |||
int | compressedSize, | |||
int | maxDecompressedSize | |||
) |
int LZ4_decompress_safe_partial | ( | const char * | source, | |
char * | dest, | |||
int | compressedSize, | |||
int | targetOutputSize, | |||
int | maxDecompressedSize | |||
) |
References endOnInputSize, LZ4_decompress_generic(), noDict, and partial.
int LZ4_decompress_safe_usingDict | ( | const char * | source, | |
char * | dest, | |||
int | compressedSize, | |||
int | maxDecompressedSize, | |||
const char * | dictStart, | |||
int | dictSize | |||
) |
References LZ4_decompress_usingDict_generic().
LZ4_DEPRECATED | ( | "use LZ4_decompress_fast_usingDict() instead" | ) | const |
LZ4_DEPRECATED | ( | "use LZ4_decompress_safe_usingDict() instead" | ) | const |
LZ4_DEPRECATED | ( | "use LZ4_saveDict() instead" | ) |
LZ4_DEPRECATED | ( | "use LZ4_resetStream() instead" | ) |
LZ4_DEPRECATED | ( | "use LZ4_createStream() instead" | ) |
int LZ4_freeStream | ( | LZ4_stream_t * | streamPtr | ) |
References FREEMEM.
int LZ4_freeStreamDecode | ( | LZ4_streamDecode_t * | LZ4_stream | ) |
References FREEMEM.
int LZ4_loadDict | ( | LZ4_stream_t * | streamPtr, | |
const char * | dictionary, | |||
int | dictSize | |||
) |
void LZ4_resetStream | ( | LZ4_stream_t * | streamPtr | ) |
References MEM_INIT.
Referenced by LZ4_compress_destSize_extState(), LZ4_compress_fast_extState(), LZ4_compress_fast_force(), LZ4_createStream(), and LZ4_loadDict().
int LZ4_saveDict | ( | LZ4_stream_t * | streamPtr, | |
char * | safeBuffer, | |||
int | dictSize | |||
) |
References LZ4_stream_t_internal::dictionary, LZ4_stream_t_internal::dictSize, and KB.
Referenced by LZ4_slideInputBuffer().
int LZ4_setStreamDecode | ( | LZ4_streamDecode_t * | LZ4_streamDecode, | |
const char * | dictionary, | |||
int | dictSize | |||
) |
int LZ4_sizeofState | ( | void | ) |
References LZ4_STREAMSIZE.
int LZ4_versionNumber | ( | void | ) |
References LZ4_VERSION_NUMBER.
char int compressedSize |
char * dst |
Referenced by flip_map().
char* inputBuffer |
char int int maxDstSize |
char int originalSize |