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"
Go to the source code of this file.
|
static int | pick_palette_entry (const uint8_t *buf, int linesize, int w, int h) |
|
static int | gif_image_write_image (AVCodecContext *avctx, uint8_t **bytestream, uint8_t *end, const uint32_t *palette, const uint8_t *buf, const int linesize, AVPacket *pkt) |
|
static av_cold int | gif_encode_init (AVCodecContext *avctx) |
|
static int | gif_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
|
static int | gif_encode_close (AVCodecContext *avctx) |
|
#define BITSTREAM_WRITER_LE |
Definition at line 31 of file gif.c.
- Enumerator:
GF_OFFSETTING |
|
GF_TRANSDIFF |
|
Definition at line 52 of file gif.c.
static int pick_palette_entry |
( |
const uint8_t * |
buf, |
|
|
int |
linesize, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
|
static |
Initial value:
Definition at line 293 of file gif.c.
Initial value:= {
.class_name = "GIF encoder",
}
Definition at line 300 of file gif.c.
Initial value:
Definition at line 307 of file gif.c.