libavcodec/gif.c File Reference

#include "avcodec.h"
#include "bytestream.h"
#include "bitstream.h"

Go to the source code of this file.

Data Structures

struct  GIFContext


#define GIF_CHUNKS   100


static int gif_image_write_header (uint8_t **bytestream, int width, int height, uint32_t *palette)
static int gif_image_write_image (uint8_t **bytestream, int x1, int y1, int width, int height, const uint8_t *buf, int linesize, int pix_fmt)
static av_cold int gif_encode_init (AVCodecContext *avctx)
static int gif_encode_frame (AVCodecContext *avctx, unsigned char *outbuf, int buf_size, void *data)


AVCodec gif_encoder

Define Documentation


Definition at line 49 of file gif.c.

#define GIF_CHUNKS   100

Definition at line 54 of file gif.c.

Referenced by gif_image_write_image().

Function Documentation

static int gif_encode_frame ( AVCodecContext avctx,
unsigned char *  outbuf,
int  buf_size,
void *  data 
) [static]

Definition at line 154 of file gif.c.

static av_cold int gif_encode_init ( AVCodecContext avctx  )  [static]

Definition at line 145 of file gif.c.

static int gif_image_write_header ( uint8_t **  bytestream,
int  width,
int  height,
uint32_t *  palette 
) [static]

Definition at line 57 of file gif.c.

Referenced by gif_encode_frame(), and gif_write_header().

static int gif_image_write_image ( uint8_t **  bytestream,
int  x1,
int  y1,
int  width,
int  height,
const uint8_t *  buf,
int  linesize,
int  pix_fmt 
) [static]

Definition at line 82 of file gif.c.

Referenced by gif_encode_frame(), and gif_write_video().

Variable Documentation

Initial value:

Definition at line 169 of file gif.c.

Generated on Fri Oct 26 02:35:43 2012 for FFmpeg by  doxygen 1.5.8