FFmpeg
Classes | Macros | Typedefs | Enumerations | Variables
gif.c File Reference

GIF encoder. More...

#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "lzw.h"
#include "gif.h"
#include "put_bits.h"

Classes

struct  GIFContext
 

Macros

#define BITSTREAM_WRITER_LE
 
#define OFFSET(x)   offsetof(GIFContext, x)
 
#define FLAGS   AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
 

Typedefs

typedef struct GIFContext GIFContext
 

Enumerations

enum  { GF_OFFSETTING = 1<<0, GF_TRANSDIFF = 1<<1 }
 

Variables

AVCodec ff_gif_encoder
 

Detailed Description

GIF encoder.

See also
http://www.w3.org/Graphics/GIF/spec-gif89a.txt

Variable Documentation

§ ff_gif_encoder

AVCodec ff_gif_encoder
Initial value:
= {
.name = "gif",
.long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_GIF,
.priv_data_size = sizeof(GIFContext),
.init = gif_encode_init,
.encode2 = gif_encode_frame,
.close = gif_encode_close,
.pix_fmts = (const enum AVPixelFormat[]){
},
.priv_class = &gif_class,
}
packed RGB 1:2:1, 8bpp, (msb)1B 2G 1R(lsb)
Definition: pixfmt.h:81
8 bits with AV_PIX_FMT_RGB32 palette
Definition: pixfmt.h:73
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: gif.c:42
packed RGB 1:2:1, 8bpp, (msb)1R 2G 1B(lsb)
Definition: pixfmt.h:84
packed RGB 3:3:2, 8bpp, (msb)2B 3G 3R(lsb)
Definition: pixfmt.h:79
Y , 8bpp.
Definition: pixfmt.h:70
packed RGB 3:3:2, 8bpp, (msb)2R 3G 3B(lsb)
Definition: pixfmt.h:82
AVPixelFormat
Pixel format.
Definition: pixfmt.h:60