FFmpeg
 All Data Structures Namespaces 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 "bswapdsp.h"
#include "get_bits.h"
#include "huffyuvdsp.h"
#include "huffyuvencdsp.h"
#include "put_bits.h"
#include "lossless_videodsp.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

#define VLC_BITS   12

Definition at line 42 of file huffyuv.h.

#define MAX_BITS   16

Definition at line 44 of file huffyuv.h.

#define MAX_N   (1<<MAX_BITS)

Definition at line 45 of file huffyuv.h.

Referenced by encode_init().

#define MAX_VLC_N   16384

Definition at line 46 of file huffyuv.h.

Referenced by decode_init(), and encode_init().

Enumeration Type Documentation

enum Predictor
Enumerator
LEFT 
PLANE 
MEDIAN 

Definition at line 48 of file huffyuv.h.

Function Documentation

void ff_huffyuv_common_init ( AVCodecContext s)

Definition at line 71 of file huffyuv.c.

Referenced by decode_init(), and encode_init().

void ff_huffyuv_common_end ( HYuvContext s)

Definition at line 87 of file huffyuv.c.

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

int ff_huffyuv_alloc_temp ( HYuvContext s)

Definition at line 58 of file huffyuv.c.

Referenced by decode_init(), and encode_init().

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