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
134 #define LZ4HC_DICTIONARY_LOGSIZE 17
135 #define LZ4HC_MAXD (1<<LZ4HC_DICTIONARY_LOGSIZE)
136 #define LZ4HC_MAXD_MASK (LZ4HC_MAXD - 1)
138 #define LZ4HC_HASH_LOG 15
139 #define LZ4HC_HASHTABLESIZE (1 << LZ4HC_HASH_LOG)
140 #define LZ4HC_HASH_MASK (LZ4HC_HASHTABLESIZE - 1)
143 #if defined(__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) )
152 const uint8_t* dictBase;
156 uint32_t nextToUpdate;
180 #define LZ4_STREAMHCSIZE (4*LZ4HC_HASHTABLESIZE + 2*LZ4HC_MAXD + 56)
181 #define LZ4_STREAMHCSIZE_SIZET (LZ4_STREAMHCSIZE / sizeof(size_t))
206 LZ4_DEPRECATED("use
LZ4_compress_HC() instead")
int LZ4_compressHC2_limitedOutput (const
char* source,
char* dest,
int inputSize,
int maxOutputSize,
int compressionLevel);
210 LZ4_DEPRECATED("use
LZ4_compress_HC_extStateHC() instead")
int LZ4_compressHC2_limitedOutput_withStateHC(
void* state, const
char* source,
char* dest,
int inputSize,
int maxOutputSize,
int compressionLevel);
219 LZ4_DEPRECATED("use
LZ4_compress_HC_continue() instead")
int LZ4_compressHC2_limitedOutput_continue (
void* LZ4HC_Data, const
char* source,
char* dest,
int inputSize,
int maxOutputSize,
int compressionLevel);
224 #if defined (__cplusplus)