CMSIS2000  0.0.7
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lz4.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LZ4_COMPRESSBOUND(isize)   ((isize) + ((isize)/255) + 16)

Functions

int LZ4_compress (const char *source, char *dest, int isize)
int LZ4_compress_limitedOutput (const char *source, char *dest, int isize, int maxOutputSize)
static int LZ4_compressBound (int isize)
int LZ4_uncompress (const char *source, char *dest, int osize)
int LZ4_uncompress_unknownOutputSize (const char *source, char *dest, int isize, int maxOutputSize)

Macro Definition Documentation

#define LZ4_COMPRESSBOUND (   isize)    ((isize) + ((isize)/255) + 16)

Definition at line 82 of file lz4.h.

Function Documentation

int LZ4_compress ( const char *  source,
char *  dest,
int  isize 
)

Definition at line 695 of file lz4.c.

References LZ4_compress_limitedOutput(), and LZ4_compressBound().

Referenced by compress_file().

Here is the call graph for this function:

Here is the caller graph for this function:

int LZ4_compress_limitedOutput ( const char *  source,
char *  dest,
int  isize,
int  maxOutputSize 
)

Definition at line 675 of file lz4.c.

References LZ4_64KLIMIT, LZ4_compress64kCtx(), LZ4_compressCtx(), and NULL.

Referenced by LZ4_compress(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

static int LZ4_compressBound ( int  isize)
inlinestatic

Definition at line 81 of file lz4.h.

Referenced by BMK_benchFile(), compress_file(), decode_file(), and LZ4_compress().

Here is the caller graph for this function:

int LZ4_uncompress ( const char *  source,
char *  dest,
int  osize 
)

Definition at line 715 of file lz4.c.

References A32, COPYLENGTH, LASTLITERALS, LZ4_COPYSTEP, LZ4_READ_LITTLEENDIAN_16, LZ4_SECURECOPY, LZ4_WILDCOPY, ML_BITS, ML_MASK, restrict, RUN_MASK, STEPSIZE, and unlikely.

Referenced by BMK_benchFile(), FUZ_SecurityTest(), and main().

Here is the caller graph for this function:

int LZ4_uncompress_unknownOutputSize ( const char *  source,
char *  dest,
int  isize,
int  maxOutputSize 
)

Definition at line 802 of file lz4.c.

References A32, COPYLENGTH, LASTLITERALS, likely, LZ4_COPYSTEP, LZ4_READ_LITTLEENDIAN_16, LZ4_SECURECOPY, LZ4_WILDCOPY, MFLIMIT, ML_BITS, ML_MASK, restrict, RUN_MASK, STEPSIZE, and unlikely.

Referenced by decode_file(), and main().

Here is the caller graph for this function: