libavcodec/gif.c File Reference

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

Go to the source code of this file.

Data Structures

struct  GIFContext

Defines

#define BITSTREAM_WRITER_LE

Functions

static int gif_image_write_header (AVCodecContext *avctx, uint8_t **bytestream, uint32_t *palette)
static int gif_image_write_image (AVCodecContext *avctx, uint8_t **bytestream, uint8_t *end, const uint8_t *buf, int linesize)
static av_cold int gif_encode_init (AVCodecContext *avctx)
static int gif_encode_frame (AVCodecContext *avctx, unsigned char *outbuf, int buf_size, void *data)
static int gif_encode_close (AVCodecContext *avctx)

Variables

AVCodec ff_gif_encoder


Define Documentation

#define BITSTREAM_WRITER_LE

Definition at line 50 of file gif.c.


Function Documentation

static int gif_encode_close ( AVCodecContext avctx  )  [static]

Definition at line 160 of file gif.c.

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

Definition at line 144 of file gif.c.

static av_cold int gif_encode_init ( AVCodecContext avctx  )  [static]

Definition at line 129 of file gif.c.

static int gif_image_write_header ( AVCodecContext avctx,
uint8_t **  bytestream,
uint32_t *  palette 
) [static]

Definition at line 61 of file gif.c.

Referenced by gif_encode_frame(), and gif_write_header().

static int gif_image_write_image ( AVCodecContext avctx,
uint8_t **  bytestream,
uint8_t *  end,
const uint8_t *  buf,
int  linesize 
) [static]

Definition at line 85 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:38:16 2012 for FFmpeg by  doxygen 1.5.8