FFmpeg
Data Structures | Macros | Enumerations | Functions
huffyuv.h File Reference
#include <stdint.h>
#include "avcodec.h"
#include "bswapdsp.h"
#include "get_bits.h"
#include "huffyuvdsp.h"
#include "huffyuvencdsp.h"
#include "put_bits.h"
#include "lossless_videodsp.h"
#include "lossless_videoencdsp.h"

Go to the source code of this file.

Data Structures

struct  HYuvContext
 

Macros

#define VLC_BITS   12
 
#define MAX_BITS   16
 
#define MAX_N   (1<<MAX_BITS)
 
#define MAX_VLC_N   16384
 

Enumerations

enum  Predictor { LEFT = 0, PLANE, MEDIAN }
 

Functions

void ff_huffyuv_common_init (AVCodecContext *s)
 
void ff_huffyuv_common_end (HYuvContext *s)
 
int ff_huffyuv_alloc_temp (HYuvContext *s)
 
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

◆ VLC_BITS

#define VLC_BITS   12

Definition at line 43 of file huffyuv.h.

◆ MAX_BITS

#define MAX_BITS   16

Definition at line 45 of file huffyuv.h.

◆ MAX_N

#define MAX_N   (1<<MAX_BITS)

Definition at line 46 of file huffyuv.h.

◆ MAX_VLC_N

#define MAX_VLC_N   16384

Definition at line 47 of file huffyuv.h.

Enumeration Type Documentation

◆ Predictor

enum Predictor
Enumerator
LEFT 
PLANE 
MEDIAN 

Definition at line 49 of file huffyuv.h.

Function Documentation

◆ ff_huffyuv_common_init()

void ff_huffyuv_common_init ( AVCodecContext s)

Definition at line 71 of file huffyuv.c.

Referenced by decode_init(), and encode_init().

◆ ff_huffyuv_common_end()

void ff_huffyuv_common_end ( HYuvContext s)

Definition at line 86 of file huffyuv.c.

Referenced by decode_end(), decode_init(), encode_end(), and encode_init().

◆ ff_huffyuv_alloc_temp()

int ff_huffyuv_alloc_temp ( HYuvContext s)

Definition at line 58 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 39 of file huffyuv.c.

Referenced by read_huffman_tables(), and store_huffman_tables().