NVBIO
|
Go to the source code of this file.
Classes | |
struct | LZ4HC_Data_Structure |
Macros | |
#define | LZ4_COMMONDEFS_ONLY |
#define | DICTIONARY_LOGSIZE 16 |
#define | MAXD (1<<DICTIONARY_LOGSIZE) |
#define | MAXD_MASK ((U32)(MAXD - 1)) |
#define | HASH_LOG (DICTIONARY_LOGSIZE-1) |
#define | HASHTABLESIZE (1 << HASH_LOG) |
#define | HASH_MASK (HASHTABLESIZE - 1) |
#define | OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH) |
#define | HASH_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8)-HASH_LOG)) |
#define | DELTANEXT(p) chainTable[(size_t)(p) & MAXD_MASK] |
#define | GETNEXT(p) ((p) - (size_t)DELTANEXT(p)) |
#define | LZ4HC_DEBUG 0 |
Enumerations | |
enum | limitedOutput_directive { notLimited = 0, limitedOutput = 1, noLimit = 0, limitedOutput = 1 } |
Functions | |
FORCE_INLINE void | LZ4HC_Insert (LZ4HC_Data_Structure *hc4, const BYTE *ip) |
FORCE_INLINE int | LZ4HC_InsertAndFindBestMatch (LZ4HC_Data_Structure *hc4, const BYTE *ip, const BYTE *const iLimit, const BYTE **matchpos, const int maxNbAttempts) |
FORCE_INLINE int | LZ4HC_InsertAndGetWiderMatch (LZ4HC_Data_Structure *hc4, const BYTE *ip, const BYTE *iLowLimit, const BYTE *iHighLimit, int longest, const BYTE **matchpos, const BYTE **startpos, const int maxNbAttempts) |
FORCE_INLINE int | LZ4HC_encodeSequence (const BYTE **ip, BYTE **op, const BYTE **anchor, int matchLength, const BYTE *const match, limitedOutput_directive limitedOutputBuffer, BYTE *oend) |
int | LZ4_compressHC2 (const char *source, char *dest, int inputSize, int compressionLevel) |
int | LZ4_compressHC (const char *source, char *dest, int inputSize) |
int | LZ4_compressHC2_limitedOutput (const char *source, char *dest, int inputSize, int maxOutputSize, int compressionLevel) |
int | LZ4_compressHC_limitedOutput (const char *source, char *dest, int inputSize, int maxOutputSize) |
int | LZ4_sizeofStateHC (void) |
int | LZ4_compressHC2_withStateHC (void *state, const char *source, char *dest, int inputSize, int compressionLevel) |
int | LZ4_compressHC_withStateHC (void *state, const char *source, char *dest, int inputSize) |
int | LZ4_compressHC2_limitedOutput_withStateHC (void *state, const char *source, char *dest, int inputSize, int maxOutputSize, int compressionLevel) |
int | LZ4_compressHC_limitedOutput_withStateHC (void *state, const char *source, char *dest, int inputSize, int maxOutputSize) |
LZ4_streamHC_t * | LZ4_createStreamHC (void) |
int | LZ4_freeStreamHC (LZ4_streamHC_t *LZ4_streamHCPtr) |
void | LZ4_resetStreamHC (LZ4_streamHC_t *LZ4_streamHCPtr, int compressionLevel) |
int | LZ4_loadDictHC (LZ4_streamHC_t *LZ4_streamHCPtr, const char *dictionary, int dictSize) |
int | LZ4_compressHC_continue (LZ4_streamHC_t *LZ4_streamHCPtr, const char *source, char *dest, int inputSize) |
int | LZ4_compressHC_limitedOutput_continue (LZ4_streamHC_t *LZ4_streamHCPtr, const char *source, char *dest, int inputSize, int maxOutputSize) |
int | LZ4_saveDictHC (LZ4_streamHC_t *LZ4_streamHCPtr, char *safeBuffer, int dictSize) |
int | LZ4_sizeofStreamStateHC (void) |
int | LZ4_resetStreamStateHC (void *state, const char *inputBuffer) |
void * | LZ4_createHC (const char *inputBuffer) |
int | LZ4_freeHC (void *LZ4HC_Data) |
int | LZ4_compressHC2_continue (void *LZ4HC_Data, const char *source, char *dest, int inputSize, int compressionLevel) |
int | LZ4_compressHC2_limitedOutput_continue (void *LZ4HC_Data, const char *source, char *dest, int inputSize, int maxOutputSize, int compressionLevel) |
char * | LZ4_slideInputBufferHC (void *LZ4HC_Data) |
#define HASH_FUNCTION | ( | i) | (((i) * 2654435761U) >> ((MINMATCH*8)-HASH_LOG)) |
#define HASH_LOG (DICTIONARY_LOGSIZE-1) |
#define HASH_MASK (HASHTABLESIZE - 1) |
#define MAXD (1<<DICTIONARY_LOGSIZE) |
int LZ4_compressHC | ( | const char * | source, |
char * | dest, | ||
int | inputSize | ||
) |
int LZ4_compressHC2 | ( | const char * | source, |
char * | dest, | ||
int | inputSize, | ||
int | compressionLevel | ||
) |
int LZ4_compressHC2_continue | ( | void * | LZ4HC_Data, |
const char * | source, | ||
char * | dest, | ||
int | inputSize, | ||
int | compressionLevel | ||
) |
int LZ4_compressHC2_limitedOutput | ( | const char * | source, |
char * | dest, | ||
int | inputSize, | ||
int | maxOutputSize, | ||
int | compressionLevel | ||
) |
int LZ4_compressHC2_limitedOutput_continue | ( | void * | LZ4HC_Data, |
const char * | source, | ||
char * | dest, | ||
int | inputSize, | ||
int | maxOutputSize, | ||
int | compressionLevel | ||
) |
int LZ4_compressHC2_limitedOutput_withStateHC | ( | void * | state, |
const char * | source, | ||
char * | dest, | ||
int | inputSize, | ||
int | maxOutputSize, | ||
int | compressionLevel | ||
) |
int LZ4_compressHC2_withStateHC | ( | void * | state, |
const char * | source, | ||
char * | dest, | ||
int | inputSize, | ||
int | compressionLevel | ||
) |
int LZ4_compressHC_continue | ( | LZ4_streamHC_t * | LZ4_streamHCPtr, |
const char * | source, | ||
char * | dest, | ||
int | inputSize | ||
) |
int LZ4_compressHC_limitedOutput | ( | const char * | source, |
char * | dest, | ||
int | inputSize, | ||
int | maxOutputSize | ||
) |
int LZ4_compressHC_limitedOutput_continue | ( | LZ4_streamHC_t * | LZ4_streamHCPtr, |
const char * | source, | ||
char * | dest, | ||
int | inputSize, | ||
int | maxOutputSize | ||
) |
int LZ4_compressHC_limitedOutput_withStateHC | ( | void * | state, |
const char * | source, | ||
char * | dest, | ||
int | inputSize, | ||
int | maxOutputSize | ||
) |
int LZ4_compressHC_withStateHC | ( | void * | state, |
const char * | source, | ||
char * | dest, | ||
int | inputSize | ||
) |
LZ4_streamHC_t* LZ4_createStreamHC | ( | void | ) |
int LZ4_freeStreamHC | ( | LZ4_streamHC_t * | LZ4_streamHCPtr) |
int LZ4_loadDictHC | ( | LZ4_streamHC_t * | LZ4_streamHCPtr, |
const char * | dictionary, | ||
int | dictSize | ||
) |
void LZ4_resetStreamHC | ( | LZ4_streamHC_t * | LZ4_streamHCPtr, |
int | compressionLevel | ||
) |
int LZ4_resetStreamStateHC | ( | void * | state, |
const char * | inputBuffer | ||
) |
int LZ4_saveDictHC | ( | LZ4_streamHC_t * | LZ4_streamHCPtr, |
char * | safeBuffer, | ||
int | dictSize | ||
) |
FORCE_INLINE void LZ4HC_Insert | ( | LZ4HC_Data_Structure * | hc4, |
const BYTE * | ip | ||
) |
FORCE_INLINE int LZ4HC_InsertAndFindBestMatch | ( | LZ4HC_Data_Structure * | hc4, |
const BYTE * | ip, | ||
const BYTE *const | iLimit, | ||
const BYTE ** | matchpos, | ||
const int | maxNbAttempts | ||
) |