FFmpeg
Macros | Enumerations | Functions
huffyuv.h File Reference
#include <stdint.h>
#include "config.h"

Go to the source code of this file.

Macros

#define B   0
 
#define G   1
 
#define R   2
 
#define A   3
 
#define MAX_BITS   16
 
#define MAX_N   (1<<MAX_BITS)
 
#define MAX_VLC_N   16384
 

Enumerations

enum  Predictor { LEFT = 0, PLANE, MEDIAN }
 

Functions

int ff_huffyuv_generate_bits_table (uint32_t *dst, const uint8_t *len_table, int n)
 

Detailed Description

huffyuv codec for libavcodec.

Definition in file huffyuv.h.

Macro Definition Documentation

◆ B

#define B   0

Definition at line 42 of file huffyuv.h.

◆ G

#define G   1

Definition at line 43 of file huffyuv.h.

◆ R

#define R   2

Definition at line 44 of file huffyuv.h.

◆ A

#define A   3

Definition at line 45 of file huffyuv.h.

◆ MAX_BITS

#define MAX_BITS   16

Definition at line 48 of file huffyuv.h.

◆ MAX_N

#define MAX_N   (1<<MAX_BITS)

Definition at line 49 of file huffyuv.h.

◆ MAX_VLC_N

#define MAX_VLC_N   16384

Definition at line 50 of file huffyuv.h.

Enumeration Type Documentation

◆ Predictor

enum Predictor
Enumerator
LEFT 
PLANE 
MEDIAN 

Definition at line 52 of file huffyuv.h.

Function Documentation

◆ ff_huffyuv_generate_bits_table()

int ff_huffyuv_generate_bits_table ( uint32_t *  dst,
const uint8_t *  len_table,
int  n 
)

Definition at line 40 of file huffyuv.c.

Referenced by read_huffman_tables(), and store_huffman_tables().