Go to the documentation of this file.
34 #ifndef LZ4_HC_H_19834876238432
35 #define LZ4_HC_H_19834876238432
37 #if defined (__cplusplus)
47 #define LZ4HC_CLEVEL_MIN 3
48 #define LZ4HC_CLEVEL_DEFAULT 9
49 #define LZ4HC_CLEVEL_OPT_MIN 10
50 #define LZ4HC_CLEVEL_MAX 12
92 const char* src,
char*
dst,
93 int* srcSizePtr,
int targetDstSize,
159 const char* src,
char*
dst,
173 const char* src,
char*
dst,
174 int* srcSizePtr,
int targetDstSize);
192 #define LZ4HC_DICTIONARY_LOGSIZE 16
193 #define LZ4HC_MAXD (1<<LZ4HC_DICTIONARY_LOGSIZE)
194 #define LZ4HC_MAXD_MASK (LZ4HC_MAXD - 1)
196 #define LZ4HC_HASH_LOG 15
197 #define LZ4HC_HASHTABLESIZE (1 << LZ4HC_HASH_LOG)
198 #define LZ4HC_HASH_MASK (LZ4HC_HASHTABLESIZE - 1)
222 #define LZ4_STREAMHC_MINSIZE 262200
273 #if !defined(LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION)
295 #if defined (__cplusplus)
310 #ifdef LZ4_HC_STATIC_LINKING_ONLY
311 #ifndef LZ4_HC_SLO_098092834
312 #define LZ4_HC_SLO_098092834
314 #define LZ4_STATIC_LINKING_ONLY
317 #if defined (__cplusplus)
375 const char* src,
char*
dst,
408 #if defined (__cplusplus)
int LZ4_compressHC(const char *src, char *dst, int srcSize)
int LZ4_sizeofStreamStateHC(void)
LZ4LIB_API int LZ4_sizeofStateHC(void)
int LZ4_compressHC2_limitedOutput(const char *src, char *dst, int srcSize, int maxDstSize, int cLevel)
int LZ4_compressHC_limitedOutput_continue(LZ4_streamHC_t *ctx, const char *src, char *dst, int srcSize, int maxDstSize)
LZ4LIB_API void LZ4_resetStreamHC_fast(LZ4_streamHC_t *streamHCPtr, int compressionLevel)
int LZ4_compressHC2_withStateHC(void *state, const char *src, char *dst, int srcSize, int cLevel)
char * LZ4_slideInputBufferHC(void *LZ4HC_Data)
LZ4_u32 hashTable[LZ4HC_HASHTABLESIZE]
LZ4LIB_API LZ4_streamHC_t * LZ4_createStreamHC(void)
#define LZ4_STREAMHC_MINSIZE
int LZ4_compressHC_withStateHC(void *state, const char *src, char *dst, int srcSize)
int LZ4_compressHC2_limitedOutput_withStateHC(void *state, const char *src, char *dst, int srcSize, int maxDstSize, int cLevel)
#define LZ4HC_HASHTABLESIZE
char int int maxOutputSize
void LZ4_attach_HC_dictionary(LZ4_streamHC_t *working_stream, const LZ4_streamHC_t *dictionary_stream)
int LZ4_resetStreamStateHC(void *state, char *inputBuffer)
LZ4LIB_API int LZ4_freeStreamHC(LZ4_streamHC_t *streamHCPtr)
int LZ4_compressHC2_continue(void *LZ4HC_Data, const char *src, char *dst, int srcSize, int cLevel)
char minStateSize[LZ4_STREAMHC_MINSIZE]
LZ4LIB_API int LZ4_compress_HC_destSize(void *stateHC, const char *src, char *dst, int *srcSizePtr, int targetDstSize, int compressionLevel)
int LZ4_compressHC_limitedOutput(const char *src, char *dst, int srcSize, int maxDstSize)
int LZ4_compressHC_limitedOutput_withStateHC(void *state, const char *src, char *dst, int srcSize, int maxDstSize)
span_constexpr std::size_t size(span< T, Extent > const &spn)
LZ4LIB_API int LZ4_saveDictHC(LZ4_streamHC_t *streamHCPtr, char *safeBuffer, int maxDictSize)
int LZ4_compressHC_continue(LZ4_streamHC_t *ctx, const char *src, char *dst, int srcSize)
const LZ4_byte * dictStart
const LZ4HC_CCtx_internal * dictCtx
int LZ4_compressHC2(const char *src, char *dst, int srcSize, int cLevel)
char int int compressionLevel
LZ4LIB_API void LZ4_resetStreamHC(LZ4_streamHC_t *streamHCPtr, int compressionLevel)
LZ4LIB_API int LZ4_compress_HC(const char *src, char *dst, int srcSize, int dstCapacity, int compressionLevel)
LZ4LIB_API LZ4_streamHC_t * LZ4_initStreamHC(void *buffer, size_t size)
void LZ4_setCompressionLevel(LZ4_streamHC_t *LZ4_streamHCPtr, int compressionLevel)
LZ4_u16 chainTable[LZ4HC_MAXD]
void LZ4_favorDecompressionSpeed(LZ4_streamHC_t *LZ4_streamHCPtr, int favor)
LZ4LIB_API int LZ4_loadDictHC(LZ4_streamHC_t *streamHCPtr, const char *dictionary, int dictSize)
int LZ4_freeHC(void *LZ4HC_Data)
int LZ4_compress_HC_extStateHC_fastReset(void *state, const char *src, char *dst, int srcSize, int dstCapacity, int compressionLevel)
int LZ4_compressHC2_limitedOutput_continue(void *LZ4HC_Data, const char *src, char *dst, int srcSize, int dstCapacity, int cLevel)
LZ4LIB_API int LZ4_compress_HC_extStateHC(void *stateHC, const char *src, char *dst, int srcSize, int maxDstSize, int compressionLevel)
LZ4LIB_API int LZ4_compress_HC_continue_destSize(LZ4_streamHC_t *LZ4_streamHCPtr, const char *src, char *dst, int *srcSizePtr, int targetDstSize)
const LZ4_byte * prefixStart
LZ4_DEPRECATED("use LZ4_compress_HC() instead") LZ4LIB_API int LZ4_compressHC(const char *source
LZ4HC_CCtx_internal internal_donotuse
void * LZ4_createHC(const char *inputBuffer)
LZ4LIB_API int LZ4_compress_HC_continue(LZ4_streamHC_t *streamHCPtr, const char *src, char *dst, int srcSize, int maxDstSize)
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45