Classes | Macros | Functions | Variables
lz4s.h File Reference
#include <lz4.h>
#include <ros/macros.h>
Include dependency graph for lz4s.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  roslz4_stream
 

Macros

#define ROSLZ4S_DECL
 

Functions

ROSLZ4S_DECL int roslz4_blockSizeFromIndex (int block_id)
 
ROSLZ4S_DECL int roslz4_buffToBuffCompress (char *input, unsigned int input_size, char *output, unsigned int *output_size, int block_size_id)
 
ROSLZ4S_DECL int roslz4_buffToBuffDecompress (char *input, unsigned int input_size, char *output, unsigned int *output_size)
 
ROSLZ4S_DECL int roslz4_compress (roslz4_stream *stream, int action)
 
ROSLZ4S_DECL void roslz4_compressEnd (roslz4_stream *stream)
 
ROSLZ4S_DECL int roslz4_compressStart (roslz4_stream *stream, int block_size_id)
 
ROSLZ4S_DECL int roslz4_decompress (roslz4_stream *stream)
 
ROSLZ4S_DECL void roslz4_decompressEnd (roslz4_stream *str)
 
ROSLZ4S_DECL int roslz4_decompressStart (roslz4_stream *stream)
 

Variables

const int ROSLZ4_DATA_ERROR = -3
 
const int ROSLZ4_ERROR = -1
 
const int ROSLZ4_FINISH = 1
 
const int ROSLZ4_MEMORY_ERROR = -5
 
const int ROSLZ4_OK = 0
 
const int ROSLZ4_OUTPUT_SMALL = -2
 
const int ROSLZ4_PARAM_ERROR = -4
 
const int ROSLZ4_RUN = 0
 
const int ROSLZ4_STREAM_END = 2
 

Macro Definition Documentation

◆ ROSLZ4S_DECL

#define ROSLZ4S_DECL

Definition at line 49 of file lz4s.h.

Function Documentation

◆ roslz4_blockSizeFromIndex()

ROSLZ4S_DECL int roslz4_blockSizeFromIndex ( int  block_id)

Definition at line 319 of file lz4s.c.

◆ roslz4_buffToBuffCompress()

ROSLZ4S_DECL int roslz4_buffToBuffCompress ( char *  input,
unsigned int  input_size,
char *  output,
unsigned int *  output_size,
int  block_size_id 
)

Definition at line 585 of file lz4s.c.

◆ roslz4_buffToBuffDecompress()

ROSLZ4S_DECL int roslz4_buffToBuffDecompress ( char *  input,
unsigned int  input_size,
char *  output,
unsigned int *  output_size 
)

Definition at line 619 of file lz4s.c.

◆ roslz4_compress()

ROSLZ4S_DECL int roslz4_compress ( roslz4_stream stream,
int  action 
)

Definition at line 329 of file lz4s.c.

◆ roslz4_compressEnd()

ROSLZ4S_DECL void roslz4_compressEnd ( roslz4_stream stream)

Definition at line 365 of file lz4s.c.

◆ roslz4_compressStart()

ROSLZ4S_DECL int roslz4_compressStart ( roslz4_stream stream,
int  block_size_id 
)

Definition at line 323 of file lz4s.c.

◆ roslz4_decompress()

ROSLZ4S_DECL int roslz4_decompress ( roslz4_stream stream)

Definition at line 548 of file lz4s.c.

◆ roslz4_decompressEnd()

ROSLZ4S_DECL void roslz4_decompressEnd ( roslz4_stream str)

Definition at line 579 of file lz4s.c.

◆ roslz4_decompressStart()

ROSLZ4S_DECL int roslz4_decompressStart ( roslz4_stream stream)

Definition at line 371 of file lz4s.c.

Variable Documentation

◆ ROSLZ4_DATA_ERROR

const int ROSLZ4_DATA_ERROR = -3

Definition at line 59 of file lz4s.h.

◆ ROSLZ4_ERROR

const int ROSLZ4_ERROR = -1

Definition at line 61 of file lz4s.h.

◆ ROSLZ4_FINISH

const int ROSLZ4_FINISH = 1

Definition at line 67 of file lz4s.h.

◆ ROSLZ4_MEMORY_ERROR

const int ROSLZ4_MEMORY_ERROR = -5

Definition at line 57 of file lz4s.h.

◆ ROSLZ4_OK

const int ROSLZ4_OK = 0

Definition at line 62 of file lz4s.h.

◆ ROSLZ4_OUTPUT_SMALL

const int ROSLZ4_OUTPUT_SMALL = -2

Definition at line 60 of file lz4s.h.

◆ ROSLZ4_PARAM_ERROR

const int ROSLZ4_PARAM_ERROR = -4

Definition at line 58 of file lz4s.h.

◆ ROSLZ4_RUN

const int ROSLZ4_RUN = 0

Definition at line 66 of file lz4s.h.

◆ ROSLZ4_STREAM_END

const int ROSLZ4_STREAM_END = 2

Definition at line 63 of file lz4s.h.



roslz4
Author(s): Ben Charrow , Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:30