hvirtual/quicktime/ffmpeg/libavcodec/indeo2.c File Reference

#include "avcodec.h"
#include "bitstream.h"
#include "indeo2data.h"

Include dependency graph for indeo2.c:

Go to the source code of this file.

Data Structures

struct  Ir2Context

Defines

#define ALT_BITSTREAM_READER_LE
#define CODE_VLC_BITS   14

Functions

static int ir2_get_code (GetBitContext *gb)
static int ir2_decode_plane (Ir2Context *ctx, int width, int height, uint8_t *dst, int stride, const uint8_t *table)
static int ir2_decode_plane_inter (Ir2Context *ctx, int width, int height, uint8_t *dst, int stride, const uint8_t *table)
static int ir2_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int ir2_decode_init (AVCodecContext *avctx)

Variables

static VLC ir2_vlc
AVCodec indeo2_decoder


Detailed Description

Intel Indeo 2 decoder.

Definition in file indeo2.c.


Define Documentation

#define ALT_BITSTREAM_READER_LE

Definition at line 25 of file indeo2.c.

Referenced by ir2_decode_init().

#define CODE_VLC_BITS   14

Definition at line 37 of file indeo2.c.

Referenced by decode_init(), ir2_decode_init(), ir2_get_code(), and wnv1_get_code().


Function Documentation

static int ir2_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
uint8_t *  buf,
int  buf_size 
) [static]

static int ir2_decode_init ( AVCodecContext avctx  )  [static]

static int ir2_decode_plane ( Ir2Context ctx,
int  width,
int  height,
uint8_t *  dst,
int  stride,
const uint8_t *  table 
) [static]

Definition at line 46 of file indeo2.c.

References c, Ir2Context::gb, ir2_get_code(), and t.

Referenced by ir2_decode_frame().

Here is the call graph for this function:

static int ir2_decode_plane_inter ( Ir2Context ctx,
int  width,
int  height,
uint8_t *  dst,
int  stride,
const uint8_t *  table 
) [static]

Definition at line 102 of file indeo2.c.

References c, Ir2Context::gb, ir2_get_code(), and t.

Referenced by ir2_decode_frame().

Here is the call graph for this function:

static int ir2_get_code ( GetBitContext gb  )  [inline, static]

Definition at line 41 of file indeo2.c.

References CODE_VLC_BITS, get_vlc2(), and VLC::table.

Referenced by ir2_decode_plane(), and ir2_decode_plane_inter().

Here is the call graph for this function:


Variable Documentation

Initial value:

Definition at line 210 of file indeo2.c.

Referenced by avcodec_register_all().

VLC ir2_vlc [static]

Definition at line 38 of file indeo2.c.


Generated on Mon Apr 28 14:04:43 2008 for Cinelerra by  doxygen 1.5.5