Go to the source code of this file.
Functions |
static int | gif_image_write_header (AVIOContext *pb, int width, int height, int loop_count, uint32_t *palette) |
static unsigned char | gif_clut_index (uint8_t r, uint8_t g, uint8_t b) |
static int | gif_image_write_image (AVIOContext *pb, int x1, int y1, int width, int height, const uint8_t *buf, int linesize, int pix_fmt) |
static int | gif_write_header (AVFormatContext *s) |
static int | gif_write_video (AVFormatContext *s, AVCodecContext *enc, const uint8_t *buf, int size) |
static int | gif_write_packet (AVFormatContext *s, AVPacket *pkt) |
static int | gif_write_trailer (AVFormatContext *s) |
Macro Definition Documentation
#define BITSTREAM_WRITER_LE |
Definition at line 48 of file gif.c.
#define GIF_ADD_APP_HEADER |
Definition at line 57 of file gif.c.
Function Documentation
static unsigned char gif_clut_index |
( |
uint8_t |
r, |
|
|
uint8_t |
g, |
|
|
uint8_t |
b |
|
) |
| |
|
inlinestatic |
static int gif_image_write_header |
( |
AVIOContext * |
pb, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
loop_count, |
|
|
uint32_t * |
palette |
|
) |
| |
|
static |
static int gif_image_write_image |
( |
AVIOContext * |
pb, |
|
|
int |
x1, |
|
|
int |
y1, |
|
|
int |
width, |
|
|
int |
height, |
|
|
const uint8_t * |
buf, |
|
|
int |
linesize, |
|
|
int |
pix_fmt |
|
) |
| |
|
static |
Variable Documentation
Initial value: {
.name = "gif",
.mime_type = "image/gif",
.extensions = "gif",
}
Definition at line 365 of file gif.c.
Definition at line 72 of file gif.c.
Initial value: {
.class_name = "GIF muxer",
}
Definition at line 358 of file gif.c.
Initial value:
Definition at line 353 of file gif.c.