libavcodec/targa.c File Reference

#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  TargaContext

Enumerations

enum  TargaCompr {
  TGA_NODATA = 0, TGA_PAL = 1, TGA_RGB = 2, TGA_BW = 3,
  TGA_RLE = 8
}

Functions

static void targa_decode_rle (AVCodecContext *avctx, TargaContext *s, const uint8_t *src, uint8_t *dst, int w, int h, int stride, int bpp)
static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
static int targa_init (AVCodecContext *avctx)
static int targa_end (AVCodecContext *avctx)

Variables

AVCodec targa_decoder


Enumeration Type Documentation

enum TargaCompr

Enumerator:
TGA_NODATA 
TGA_PAL 
TGA_RGB 
TGA_BW 
TGA_RLE 

Definition at line 23 of file targa.c.


Function Documentation

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

Definition at line 90 of file targa.c.

static void targa_decode_rle ( AVCodecContext avctx,
TargaContext s,
const uint8_t src,
uint8_t dst,
int  w,
int  h,
int  stride,
int  bpp 
) [static]

Definition at line 40 of file targa.c.

Referenced by decode_frame().

static int targa_end ( AVCodecContext avctx  )  [static]

Definition at line 233 of file targa.c.

static int targa_init ( AVCodecContext avctx  )  [static]

Definition at line 223 of file targa.c.


Variable Documentation

Initial value:

Definition at line 242 of file targa.c.


Generated on Thu Apr 2 07:15:42 2009 for ffmpeg by  doxygen 1.5.6