ROOTANA
Data Structures | Macros | Functions | Variables
mlz4hc.h File Reference
#include <stddef.h>
Include dependency graph for mlz4hc.h:

Go to the source code of this file.

Data Structures

struct  MLZ4_streamHC_t
 

Macros

#define MLZ4_STREAMHCSIZE   262192
 
#define MLZ4_STREAMHCSIZE_SIZET   (MLZ4_STREAMHCSIZE / sizeof(size_t))
 
#define MLZ4_DEPRECATE_WARNING_DEFBLOCK
 
#define MLZ4_GCC_VERSION   (__GNUC__ * 100 + __GNUC_MINOR__)
 
#define MLZ4_DEPRECATED(message)
 

Functions

int MLZ4_compress_HC (const char *src, char *dst, int srcSize, int maxDstSize, int compressionLevel)
 
int MLZ4_sizeofStateHC (void)
 
int MLZ4_compress_HC_extStateHC (void *state, const char *src, char *dst, int srcSize, int maxDstSize, int compressionLevel)
 
MLZ4_streamHC_tMLZ4_createStreamHC (void)
 
int MLZ4_freeStreamHC (MLZ4_streamHC_t *streamHCPtr)
 
void MLZ4_resetStreamHC (MLZ4_streamHC_t *streamHCPtr, int compressionLevel)
 
int MLZ4_loadDictHC (MLZ4_streamHC_t *streamHCPtr, const char *dictionary, int dictSize)
 
int MLZ4_compress_HC_continue (MLZ4_streamHC_t *streamHCPtr, const char *src, char *dst, int srcSize, int maxDstSize)
 
int MLZ4_saveDictHC (MLZ4_streamHC_t *streamHCPtr, char *safeBuffer, int maxDictSize)
 
int MLZ4_compressHC (const char *source, char *dest, int inputSize)
 
int MLZ4_compressHC_limitedOutput (const char *source, char *dest, int inputSize, int maxOutputSize)
 
int MLZ4_compressHC2 (const char *source, char *dest, int inputSize, int compressionLevel)
 
int MLZ4_compressHC2_limitedOutput (const char *source, char *dest, int inputSize, int maxOutputSize, int compressionLevel)
 
int MLZ4_compressHC_withStateHC (void *state, const char *source, char *dest, int inputSize)
 
int MLZ4_compressHC_limitedOutput_withStateHC (void *state, const char *source, char *dest, int inputSize, int maxOutputSize)
 
int MLZ4_compressHC2_withStateHC (void *state, const char *source, char *dest, int inputSize, int compressionLevel)
 
int MLZ4_compressHC2_limitedOutput_withStateHC (void *state, const char *source, char *dest, int inputSize, int maxOutputSize, int compressionLevel)
 
int MLZ4_compressHC_continue (MLZ4_streamHC_t *MLZ4_streamHCPtr, const char *source, char *dest, int inputSize)
 
int MLZ4_compressHC_limitedOutput_continue (MLZ4_streamHC_t *MLZ4_streamHCPtr, const char *source, char *dest, int inputSize, int maxOutputSize)
 
 MLZ4_DEPRECATED ("use MLZ4_createStreamHC() instead") void *MLZ4_createHC(char *inputBuffer)
 
 MLZ4_DEPRECATED ("use MLZ4_saveDictHC() instead") char *MLZ4_slideInputBufferHC(void *LZ4HC_Data)
 
 MLZ4_DEPRECATED ("use MLZ4_freeStreamHC() instead") int MLZ4_freeHC(void *LZ4HC_Data)
 
 MLZ4_DEPRECATED ("use MLZ4_compress_HC_continue() instead") int MLZ4_compressHC2_continue(void *LZ4HC_Data
 
 MLZ4_DEPRECATED ("use MLZ4_resetStreamHC() instead") int MLZ4_resetStreamStateHC(void *state
 

Variables

const char * source
 
const char char * dest
 
const char char int inputSize
 
const char char int int compressionLevel
 
const char char int int maxOutputSize
 
char * inputBuffer
 

Macro Definition Documentation

◆ MLZ4_DEPRECATE_WARNING_DEFBLOCK

#define MLZ4_DEPRECATE_WARNING_DEFBLOCK

Definition at line 150 of file mlz4hc.h.

◆ MLZ4_DEPRECATED

#define MLZ4_DEPRECATED (   message)

Definition at line 160 of file mlz4hc.h.

◆ MLZ4_GCC_VERSION

#define MLZ4_GCC_VERSION   (__GNUC__ * 100 + __GNUC_MINOR__)

Definition at line 151 of file mlz4hc.h.

◆ MLZ4_STREAMHCSIZE

#define MLZ4_STREAMHCSIZE   262192

Definition at line 89 of file mlz4hc.h.

◆ MLZ4_STREAMHCSIZE_SIZET

#define MLZ4_STREAMHCSIZE_SIZET   (MLZ4_STREAMHCSIZE / sizeof(size_t))

Definition at line 90 of file mlz4hc.h.

Function Documentation

◆ MLZ4_compress_HC()

int MLZ4_compress_HC ( const char *  src,
char *  dst,
int  srcSize,
int  maxDstSize,
int  compressionLevel 
)

Definition at line 550 of file lz4hc.cxx.

Here is the call graph for this function:

◆ MLZ4_compress_HC_continue()

int MLZ4_compress_HC_continue ( MLZ4_streamHC_t streamHCPtr,
const char *  src,
char *  dst,
int  srcSize,
int  maxDstSize 
)

Definition at line 641 of file lz4hc.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MLZ4_compress_HC_extStateHC()

int MLZ4_compress_HC_extStateHC ( void *  state,
const char *  src,
char *  dst,
int  srcSize,
int  maxDstSize,
int  compressionLevel 
)

Definition at line 540 of file lz4hc.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MLZ4_compressHC()

int MLZ4_compressHC ( const char *  source,
char *  dest,
int  inputSize 
)

Definition at line 677 of file lz4hc.cxx.

Here is the call graph for this function:

◆ MLZ4_compressHC2()

int MLZ4_compressHC2 ( const char *  source,
char *  dest,
int  inputSize,
int  compressionLevel 
)

Definition at line 679 of file lz4hc.cxx.

Here is the call graph for this function:

◆ MLZ4_compressHC2_limitedOutput()

int MLZ4_compressHC2_limitedOutput ( const char *  source,
char *  dest,
int  inputSize,
int  maxOutputSize,
int  compressionLevel 
)

Definition at line 680 of file lz4hc.cxx.

Here is the call graph for this function:

◆ MLZ4_compressHC2_limitedOutput_withStateHC()

int MLZ4_compressHC2_limitedOutput_withStateHC ( void *  state,
const char *  source,
char *  dest,
int  inputSize,
int  maxOutputSize,
int  compressionLevel 
)

Definition at line 684 of file lz4hc.cxx.

Here is the call graph for this function:

◆ MLZ4_compressHC2_withStateHC()

int MLZ4_compressHC2_withStateHC ( void *  state,
const char *  source,
char *  dest,
int  inputSize,
int  compressionLevel 
)

Definition at line 683 of file lz4hc.cxx.

Here is the call graph for this function:

◆ MLZ4_compressHC_continue()

int MLZ4_compressHC_continue ( MLZ4_streamHC_t MLZ4_streamHCPtr,
const char *  source,
char *  dest,
int  inputSize 
)

Definition at line 685 of file lz4hc.cxx.

Here is the call graph for this function:

◆ MLZ4_compressHC_limitedOutput()

int MLZ4_compressHC_limitedOutput ( const char *  source,
char *  dest,
int  inputSize,
int  maxOutputSize 
)

Definition at line 678 of file lz4hc.cxx.

Here is the call graph for this function:

◆ MLZ4_compressHC_limitedOutput_continue()

int MLZ4_compressHC_limitedOutput_continue ( MLZ4_streamHC_t MLZ4_streamHCPtr,
const char *  source,
char *  dest,
int  inputSize,
int  maxOutputSize 
)

Definition at line 686 of file lz4hc.cxx.

Here is the call graph for this function:

◆ MLZ4_compressHC_limitedOutput_withStateHC()

int MLZ4_compressHC_limitedOutput_withStateHC ( void *  state,
const char *  source,
char *  dest,
int  inputSize,
int  maxOutputSize 
)

Definition at line 682 of file lz4hc.cxx.

Here is the call graph for this function:

◆ MLZ4_compressHC_withStateHC()

int MLZ4_compressHC_withStateHC ( void *  state,
const char *  source,
char *  dest,
int  inputSize 
)

Definition at line 681 of file lz4hc.cxx.

Here is the call graph for this function:

◆ MLZ4_createStreamHC()

MLZ4_streamHC_t* MLZ4_createStreamHC ( void  )

Definition at line 562 of file lz4hc.cxx.

Here is the caller graph for this function:

◆ MLZ4_DEPRECATED() [1/5]

MLZ4_DEPRECATED ( "use MLZ4_compress_HC_continue() instead"  )

◆ MLZ4_DEPRECATED() [2/5]

MLZ4_DEPRECATED ( "use MLZ4_createStreamHC() instead"  )

◆ MLZ4_DEPRECATED() [3/5]

MLZ4_DEPRECATED ( "use MLZ4_freeStreamHC() instead"  )

◆ MLZ4_DEPRECATED() [4/5]

MLZ4_DEPRECATED ( "use MLZ4_resetStreamHC() instead"  )

◆ MLZ4_DEPRECATED() [5/5]

MLZ4_DEPRECATED ( "use MLZ4_saveDictHC() instead"  )

◆ MLZ4_freeStreamHC()

int MLZ4_freeStreamHC ( MLZ4_streamHC_t streamHCPtr)

Definition at line 563 of file lz4hc.cxx.

◆ MLZ4_loadDictHC()

int MLZ4_loadDictHC ( MLZ4_streamHC_t streamHCPtr,
const char *  dictionary,
int  dictSize 
)

Definition at line 574 of file lz4hc.cxx.

Here is the call graph for this function:

◆ MLZ4_resetStreamHC()

void MLZ4_resetStreamHC ( MLZ4_streamHC_t streamHCPtr,
int  compressionLevel 
)

Definition at line 567 of file lz4hc.cxx.

Here is the caller graph for this function:

◆ MLZ4_saveDictHC()

int MLZ4_saveDictHC ( MLZ4_streamHC_t streamHCPtr,
char *  safeBuffer,
int  maxDictSize 
)

Definition at line 652 of file lz4hc.cxx.

Here is the caller graph for this function:

◆ MLZ4_sizeofStateHC()

int MLZ4_sizeofStateHC ( void  )

Definition at line 538 of file lz4hc.cxx.

Variable Documentation

◆ compressionLevel

const char char int int int compressionLevel

Definition at line 181 of file mlz4hc.h.

◆ dest

const char char * dest

Definition at line 181 of file mlz4hc.h.

◆ inputBuffer

char* inputBuffer

Definition at line 184 of file mlz4hc.h.

◆ inputSize

const char char int inputSize

Definition at line 181 of file mlz4hc.h.

◆ maxOutputSize

const char char int int maxOutputSize

Definition at line 182 of file mlz4hc.h.

◆ source

const char * source

Definition at line 181 of file mlz4hc.h.