libavcodec/gifdec.c File Reference

#include "avcodec.h"
#include "bytestream.h"
#include "lzw.h"

Go to the source code of this file.

Data Structures

struct  GifState

Defines

#define GCE_DISPOSAL_NONE   0
#define GCE_DISPOSAL_INPLACE   1
#define GCE_DISPOSAL_BACKGROUND   2
#define GCE_DISPOSAL_RESTORE   3

Functions

static int gif_read_image (GifState *s)
static int gif_read_extension (GifState *s)
static int gif_read_header1 (GifState *s)
static int gif_parse_next_image (GifState *s)
static int gif_decode_init (AVCodecContext *avctx)
static int gif_decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
static int gif_decode_close (AVCodecContext *avctx)

Variables

static const uint8_t gif87a_sig [6] = "GIF87a"
static const uint8_t gif89a_sig [6] = "GIF89a"
AVCodec gif_decoder


Define Documentation

#define GCE_DISPOSAL_BACKGROUND   2

Definition at line 31 of file gifdec.c.

#define GCE_DISPOSAL_INPLACE   1

Definition at line 30 of file gifdec.c.

#define GCE_DISPOSAL_NONE   0

Definition at line 29 of file gifdec.c.

#define GCE_DISPOSAL_RESTORE   3

Definition at line 32 of file gifdec.c.


Function Documentation

static int gif_decode_close ( AVCodecContext avctx  )  [static]

Definition at line 320 of file gifdec.c.

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

Definition at line 288 of file gifdec.c.

static int gif_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 275 of file gifdec.c.

static int gif_parse_next_image ( GifState s  )  [static]

Definition at line 251 of file gifdec.c.

Referenced by gif_decode_frame(), and gif_read_packet().

static int gif_read_extension ( GifState s  )  [static]

Definition at line 161 of file gifdec.c.

Referenced by gif_parse_next_image().

static int gif_read_header1 ( GifState s  )  [static]

Definition at line 206 of file gifdec.c.

Referenced by gif_decode_frame(), and gif_read_header().

static int gif_read_image ( GifState s  )  [static]

Definition at line 64 of file gifdec.c.

Referenced by gif_parse_next_image().


Variable Documentation

const uint8_t gif87a_sig[6] = "GIF87a" [static]

Definition at line 61 of file gifdec.c.

Referenced by gif_read_header1().

const uint8_t gif89a_sig[6] = "GIF89a" [static]

Definition at line 62 of file gifdec.c.

Referenced by gif_read_header1(), and gif_video_probe().

Initial value:

Definition at line 330 of file gifdec.c.


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