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
139 #define LZ4HC_DICTIONARY_LOGSIZE 17
140 #define LZ4HC_MAXD (1<<LZ4HC_DICTIONARY_LOGSIZE)
141 #define LZ4HC_MAXD_MASK (LZ4HC_MAXD - 1)
143 #define LZ4HC_HASH_LOG 15
144 #define LZ4HC_HASHTABLESIZE (1 << LZ4HC_HASH_LOG)
145 #define LZ4HC_HASH_MASK (LZ4HC_HASHTABLESIZE - 1)
148 #if defined(__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) )
185 #define LZ4_STREAMHCSIZE (4*LZ4HC_HASHTABLESIZE + 2*LZ4HC_MAXD + 56)
186 #define LZ4_STREAMHCSIZE_SIZET (LZ4_STREAMHCSIZE / sizeof(size_t))
211 LZ4_DEPRECATED("use
LZ4_compress_HC() instead")
int LZ4_compressHC2_limitedOutput (const
char* source,
char* dest,
int inputSize,
int maxOutputSize,
int compressionLevel);
215 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);
224 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);
229 #if defined (__cplusplus)