#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
#include "lzw.h"
Go to the source code of this file.
Data Structures | |
struct | GifState |
Defines | |
#define | GCE_DISPOSAL_NONE 0 |
#define | GCE_DISPOSAL_INPLACE 1 |
#define | GCE_DISPOSAL_BACKGROUND 2 |
#define | GCE_DISPOSAL_RESTORE 3 |
Functions | |
static int | gif_read_image (GifState *s) |
static int | gif_read_extension (GifState *s) |
static int | gif_read_header1 (GifState *s) |
static int | gif_parse_next_image (GifState *s) |
static av_cold int | gif_decode_init (AVCodecContext *avctx) |
static int | gif_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | gif_decode_close (AVCodecContext *avctx) |
Variables | |
static const uint8_t | gif87a_sig [6] = "GIF87a" |
static const uint8_t | gif89a_sig [6] = "GIF89a" |
AVCodec | ff_gif_decoder |
static av_cold int gif_decode_close | ( | AVCodecContext * | avctx | ) | [static] |
static int gif_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static av_cold int gif_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
static int gif_parse_next_image | ( | GifState * | s | ) | [static] |
static int gif_read_extension | ( | GifState * | s | ) | [static] |
static int gif_read_header1 | ( | GifState * | s | ) | [static] |
static int gif_read_image | ( | GifState * | s | ) | [static] |
Initial value:
{ .name = "gif", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_GIF, .priv_data_size = sizeof(GifState), .init = gif_decode_init, .close = gif_decode_close, .decode = gif_decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"), }
const uint8_t gif87a_sig[6] = "GIF87a" [static] |
const uint8_t gif89a_sig[6] = "GIF89a" [static] |