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 11 50 #define LZ4HC_CLEVEL_MAX 12 132 #define LZ4HC_DICTIONARY_LOGSIZE 17 133 #define LZ4HC_MAXD (1<<LZ4HC_DICTIONARY_LOGSIZE) 134 #define LZ4HC_MAXD_MASK (LZ4HC_MAXD - 1) 136 #define LZ4HC_HASH_LOG 15 137 #define LZ4HC_HASHTABLESIZE (1 << LZ4HC_HASH_LOG) 138 #define LZ4HC_HASH_MASK (LZ4HC_HASHTABLESIZE - 1) 141 #if defined(__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) ) 178 #define LZ4_STREAMHCSIZE (4*LZ4HC_HASHTABLESIZE + 2*LZ4HC_MAXD + 56) 179 #define LZ4_STREAMHCSIZE_SIZET (LZ4_STREAMHCSIZE / sizeof(size_t)) 222 #if defined (__cplusplus) 236 #ifdef LZ4_HC_STATIC_LINKING_ONLY 237 #ifndef LZ4_HC_SLO_098092834 238 #define LZ4_HC_SLO_098092834 249 const char*
src,
char*
dst,
250 int* srcSizePtr,
int targetDstSize,
265 const char*
src,
char*
dst,
266 int* srcSizePtr,
int targetDstSize);
unsigned char * inputBuffer
LZ4LIB_API LZ4_DEPRECATED("use LZ4_compress_HC() instead") int LZ4_compressHC(const char *source
int LZ4_freeHC(void *LZ4HC_Data)
LZ4LIB_API int LZ4_compress_HC(const char *src, char *dst, int srcSize, int dstCapacity, int compressionLevel)
int LZ4_compressHC2_withStateHC(void *state, const char *src, char *dst, int srcSize, int cLevel)
int LZ4_compressHC(const char *src, char *dst, int srcSize)
int LZ4_compressHC_withStateHC(void *state, const char *src, char *dst, int srcSize)
LZ4LIB_API int LZ4_compress_HC_continue(LZ4_streamHC_t *streamHCPtr, const char *src, char *dst, int srcSize, int maxDstSize)
LZ4HC_CCtx_internal internal_donotuse
LZ4LIB_API void LZ4_resetStreamHC(LZ4_streamHC_t *streamHCPtr, int compressionLevel)
LZ4LIB_API char int int compressionLevel
const unsigned char * dictBase
int LZ4_compressHC_limitedOutput_continue(LZ4_streamHC_t *ctx, const char *src, char *dst, int srcSize, int maxDstSize)
LZ4LIB_API int LZ4_compress_HC_extStateHC(void *state, const char *src, char *dst, int srcSize, int maxDstSize, int compressionLevel)
LZ4LIB_API char int int maxOutputSize
int LZ4_compressHC2_continue(void *LZ4HC_Data, const char *src, char *dst, int srcSize, int cLevel)
int LZ4_compressHC_limitedOutput(const char *src, char *dst, int srcSize, int maxDstSize)
LZ4LIB_API int LZ4_loadDictHC(LZ4_streamHC_t *streamHCPtr, const char *dictionary, int dictSize)
int LZ4_compress_HC_continue_destSize(LZ4_streamHC_t *LZ4_streamHCPtr, const char *src, char *dst, int *srcSizePtr, int targetDestSize)
int LZ4_compressHC2_limitedOutput_continue(void *LZ4HC_Data, const char *src, char *dst, int srcSize, int dstCapacity, int cLevel)
int LZ4_compress_HC_destSize(void *LZ4HC_Data, const char *source, char *dest, int *sourceSizePtr, int targetDestSize, int cLevel)
int LZ4_compressHC2_limitedOutput_withStateHC(void *state, const char *src, char *dst, int srcSize, int maxDstSize, int cLevel)
#define LZ4HC_HASHTABLESIZE
LZ4LIB_API char int inputSize
int LZ4_resetStreamStateHC(void *state, char *inputBuffer)
unsigned int nextToUpdate
void * LZ4_createHC(char *inputBuffer)
LZ4LIB_API int LZ4_sizeofStateHC(void)
int LZ4_compressHC_continue(LZ4_streamHC_t *ctx, const char *src, char *dst, int srcSize)
LZ4LIB_API char * inputBuffer
GLenum GLenum GLsizei void * table
const unsigned char * base
LZ4LIB_API int LZ4_freeStreamHC(LZ4_streamHC_t *streamHCPtr)
int LZ4_compressHC2_limitedOutput(const char *src, char *dst, int srcSize, int maxDstSize, int cLevel)
LZ4LIB_API char int int maxDstSize
int LZ4_compressHC2(const char *src, char *dst, int srcSize, int cLevel)
GLsizei GLsizei GLchar * source
#define LZ4_STREAMHCSIZE_SIZET
int LZ4_sizeofStreamStateHC(void)
char * LZ4_slideInputBufferHC(void *LZ4HC_Data)
LZ4LIB_API LZ4_streamHC_t * LZ4_createStreamHC(void)
int LZ4_compressHC_limitedOutput_withStateHC(void *state, const char *src, char *dst, int srcSize, int maxDstSize)
LZ4LIB_API int LZ4_saveDictHC(LZ4_streamHC_t *streamHCPtr, char *safeBuffer, int maxDictSize)
const unsigned char * end