#include "avcodec.h"
#include "bytestream.h"
#include "lzw.h"
#include "put_bits.h"
Go to the source code of this file.
#define BITSTREAM_WRITER_LE |
Definition at line 50 of file gif.c.
static int gif_encode_frame |
( |
AVCodecContext * |
avctx, |
|
|
unsigned char * |
outbuf, |
|
|
int |
buf_size, |
|
|
void * |
data |
|
) |
| |
|
static |
static int gif_image_write_header |
( |
AVCodecContext * |
avctx, |
|
|
uint8_t ** |
bytestream, |
|
|
uint32_t * |
palette |
|
) |
| |
|
static |
static int gif_image_write_image |
( |
AVCodecContext * |
avctx, |
|
|
uint8_t ** |
bytestream, |
|
|
uint8_t * |
end, |
|
|
const uint8_t * |
buf, |
|
|
int |
linesize |
|
) |
| |
|
static |
Initial value:= {
.name = "gif",
}
static int gif_encode_close(AVCodecContext *avctx)
packed RGB 3:3:2, 8bpp, (msb)2R 3G 3B(lsb)
static int init(AVCodecParserContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int gif_encode_frame(AVCodecContext *avctx, unsigned char *outbuf, int buf_size, void *data)
packed RGB 1:2:1, 8bpp, (msb)1B 2G 1R(lsb)
packed RGB 1:2:1, 8bpp, (msb)1R 2G 1B(lsb)
static void close(AVCodecParserContext *s)
packed RGB 3:3:2, 8bpp, (msb)2B 3G 3R(lsb)
8 bit with PIX_FMT_RGB32 palette
static av_cold int gif_encode_init(AVCodecContext *avctx)
Definition at line 169 of file gif.c.