FFmpeg
Macros | Functions
lzf.c File Reference
#include "libavutil/mem.h"
#include "bytestream.h"
#include "lzf.h"

Go to the source code of this file.

Macros

#define LZF_LITERAL_MAX   (1 << 5)
 
#define LZF_LONG_BACKREF   7 + 2
 

Functions

int ff_lzf_uncompress (GetByteContext *gb, uint8_t **buf, int64_t *size)
 

Detailed Description

lzf decompression

LZF is a fast compression/decompression algorithm that takes very little code space and working memory, ideal for real-time and block compression.

https://en.wikibooks.org/wiki/Data_Compression/Dictionary_compression#LZF

Definition in file lzf.c.

Macro Definition Documentation

◆ LZF_LITERAL_MAX

#define LZF_LITERAL_MAX   (1 << 5)

Definition at line 37 of file lzf.c.

◆ LZF_LONG_BACKREF

#define LZF_LONG_BACKREF   7 + 2

Definition at line 38 of file lzf.c.

Function Documentation

◆ ff_lzf_uncompress()

int ff_lzf_uncompress ( GetByteContext gb,
uint8_t **  buf,
int64_t *  size 
)

Definition at line 40 of file lzf.c.

Referenced by decode_frame(), and dxv_decompress_lzf().