libavcodec/indeo2.c File Reference

Intel Indeo 2 decoder. More...

#include "avcodec.h"
#include "get_bits.h"
#include "indeo2data.h"
#include "libavutil/common.h"

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, AVPacket *avpkt)
static av_cold int ir2_decode_init (AVCodecContext *avctx)
static av_cold int ir2_decode_end (AVCodecContext *avctx)

Variables

static VLC ir2_vlc
AVCodec ff_indeo2_decoder


Detailed Description

Intel Indeo 2 decoder.

Definition in file indeo2.c.


Define Documentation

#define ALT_BITSTREAM_READER_LE

Definition at line 26 of file indeo2.c.

#define CODE_VLC_BITS   14

Definition at line 39 of file indeo2.c.

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


Function Documentation

static av_cold int ir2_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 221 of file indeo2.c.

static int ir2_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 138 of file indeo2.c.

static av_cold int ir2_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 197 of file indeo2.c.

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

Definition at line 48 of file indeo2.c.

Referenced by ir2_decode_frame().

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 104 of file indeo2.c.

Referenced by ir2_decode_frame().

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

Definition at line 43 of file indeo2.c.

Referenced by ir2_decode_plane(), and ir2_decode_plane_inter().


Variable Documentation

Initial value:

Definition at line 231 of file indeo2.c.

VLC ir2_vlc [static]

Definition at line 40 of file indeo2.c.


Generated on Fri Oct 26 02:38:16 2012 for FFmpeg by  doxygen 1.5.8