#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, const uint8_t *buf, int buf_size) |
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 | gif_decoder |
static av_cold int gif_decode_close | ( | AVCodecContext * | avctx | ) | [static] |
static int gif_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
const uint8_t * | buf, | |||
int | buf_size | |||
) | [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] |
const uint8_t gif87a_sig[6] = "GIF87a" [static] |
const uint8_t gif89a_sig[6] = "GIF89a" [static] |
Initial value:
{ "gif", CODEC_TYPE_VIDEO, CODEC_ID_GIF, sizeof(GifState), gif_decode_init, NULL, gif_decode_close, gif_decode_frame, .long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"), }