libavutil/lzo.h File Reference

Go to the source code of this file.

Defines

#define LZO_INPUT_DEPLETED   1
#define LZO_OUTPUT_FULL   2
#define LZO_INVALID_BACKPTR   4
#define LZO_ERROR   8
#define LZO_INPUT_PADDING   8
#define LZO_OUTPUT_PADDING   12

Functions

int lzo1x_decode (void *out, int *outlen, const void *in, int *inlen)
 decode LZO 1x compressed data


Define Documentation

#define LZO_ERROR   8

Definition at line 28 of file lzo.h.

Referenced by lzo1x_decode().

#define LZO_INPUT_DEPLETED   1

Definition at line 25 of file lzo.h.

Referenced by copy(), get_byte(), and lzo1x_decode().

#define LZO_INPUT_PADDING   8

Definition at line 30 of file lzo.h.

#define LZO_INVALID_BACKPTR   4

Definition at line 27 of file lzo.h.

Referenced by copy_backptr().

#define LZO_OUTPUT_FULL   2

Definition at line 26 of file lzo.h.

Referenced by copy(), and copy_backptr().

#define LZO_OUTPUT_PADDING   12

Definition at line 31 of file lzo.h.

Referenced by codec_reinit(), and decode_init().


Function Documentation

int lzo1x_decode ( void *  out,
int *  outlen,
const void *  in,
int *  inlen 
)

decode LZO 1x compressed data

Parameters:
out output buffer
outlen size of output buffer, number of bytes left are returned here
in input buffer
inlen size of input buffer, number of bytes left are returned here
Returns:
0 on success, otherwise error flags, see lzo.h
make sure all buffers are appropriately padded, in must provide LZO_INPUT_PADDING, out must provide LZO_OUTPUT_PADDING additional bytes

Definition at line 174 of file lzo.c.

Referenced by decode_frame().


Generated on Thu Apr 2 07:15:44 2009 for ffmpeg by  doxygen 1.5.6