All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
huffyuv.h File Reference

huffyuv codec for libavcodec. More...

#include <stdint.h>
#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"
#include "put_bits.h"

Go to the source code of this file.

Data Structures

struct  HYuvContext


#define VLC_BITS   11
#define B   0
#define G   1
#define R   2
#define A   3


enum  Predictor { LEFT = 0, PLANE, MEDIAN }


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)

Detailed Description

huffyuv codec for libavcodec.

Definition in file huffyuv.h.

Macro Definition Documentation

#define VLC_BITS   11

Definition at line 39 of file huffyuv.h.

#define B   0

Definition at line 47 of file huffyuv.h.

#define G   1

Definition at line 48 of file huffyuv.h.

#define R   2

Definition at line 49 of file huffyuv.h.

#define A   3

Definition at line 50 of file huffyuv.h.

Enumeration Type Documentation

enum Predictor

Definition at line 53 of file huffyuv.h.

Function Documentation

void ff_huffyuv_common_init ( AVCodecContext s)

Definition at line 75 of file huffyuv.c.

Referenced by decode_init(), and encode_init().

void ff_huffyuv_common_end ( HYuvContext s)

Definition at line 90 of file huffyuv.c.

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

int ff_huffyuv_alloc_temp ( HYuvContext s)

Definition at line 57 of file huffyuv.c.

Referenced by decode_init(), decode_init_thread_copy(), and encode_init().

int ff_huffyuv_generate_bits_table ( uint32_t *  dst,
const uint8_t len_table 

Definition at line 38 of file huffyuv.c.

Referenced by encode_frame(), encode_init(), and read_huffman_tables().