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

Go to the source code of this file.


#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


enum  Predictor { LEFT = 0, PLANE, MEDIAN }


void ff_huffyuv_common_end (uint8_t *temp[3], uint16_t *temp16[3])
int ff_huffyuv_alloc_temp (uint8_t *temp[3], uint16_t *temp16[3], int width)
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.


#define MAX_BITS   16

Definition at line 48 of file huffyuv.h.


#define MAX_N   (1<<MAX_BITS)

Definition at line 49 of file huffyuv.h.


#define MAX_VLC_N   16384

Definition at line 50 of file huffyuv.h.

Enumeration Type Documentation

◆ Predictor

enum Predictor

Definition at line 52 of file huffyuv.h.

Function Documentation

◆ ff_huffyuv_common_end()

void ff_huffyuv_common_end ( uint8_t *  temp[3],
uint16_t *  temp16[3] 

Definition at line 76 of file huffyuv.c.

Referenced by decode_end(), and encode_end().

◆ ff_huffyuv_alloc_temp()

int ff_huffyuv_alloc_temp ( uint8_t *  temp[3],
uint16_t *  temp16[3],
int  width 

Definition at line 63 of file huffyuv.c.

Referenced by decode_init(), and encode_init().

◆ 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().