FFmpeg  4.0
Macros | Variables
gif.h File Reference

GIF format definitions. More...

#include <stdint.h>

Go to the source code of this file.

Macros

#define GCE_DISPOSAL_NONE   0
 
#define GCE_DISPOSAL_INPLACE   1
 
#define GCE_DISPOSAL_BACKGROUND   2
 
#define GCE_DISPOSAL_RESTORE   3
 
#define GIF_TRAILER   0x3b
 
#define GIF_EXTENSION_INTRODUCER   0x21
 
#define GIF_IMAGE_SEPARATOR   0x2c
 
#define GIF_GCE_EXT_LABEL   0xf9
 
#define GIF_APP_EXT_LABEL   0xff
 
#define NETSCAPE_EXT_STR   "NETSCAPE2.0"
 

Variables

static const uint8_t gif87a_sig [6] = "GIF87a"
 
static const uint8_t gif89a_sig [6] = "GIF89a"
 

Detailed Description

GIF format definitions.

Definition in file gif.h.

Macro Definition Documentation

◆ GCE_DISPOSAL_NONE

#define GCE_DISPOSAL_NONE   0

Definition at line 37 of file gif.h.

Referenced by gif_decode_frame(), gif_read_extension(), and gif_read_image().

◆ GCE_DISPOSAL_INPLACE

#define GCE_DISPOSAL_INPLACE   1

Definition at line 38 of file gif.h.

◆ GCE_DISPOSAL_BACKGROUND

#define GCE_DISPOSAL_BACKGROUND   2

Definition at line 39 of file gif.h.

Referenced by gif_read_image().

◆ GCE_DISPOSAL_RESTORE

#define GCE_DISPOSAL_RESTORE   3

Definition at line 40 of file gif.h.

Referenced by gif_read_image().

◆ GIF_TRAILER

#define GIF_TRAILER   0x3b

Definition at line 42 of file gif.h.

Referenced by gif_parse_next_image(), and gif_read_packet().

◆ GIF_EXTENSION_INTRODUCER

#define GIF_EXTENSION_INTRODUCER   0x21

Definition at line 43 of file gif.h.

Referenced by gif_parse_next_image(), and gif_read_packet().

◆ GIF_IMAGE_SEPARATOR

#define GIF_IMAGE_SEPARATOR   0x2c

Definition at line 44 of file gif.h.

Referenced by gif_image_write_image(), gif_parse_next_image(), and gif_read_packet().

◆ GIF_GCE_EXT_LABEL

#define GIF_GCE_EXT_LABEL   0xf9

Definition at line 45 of file gif.h.

Referenced by gif_read_ext(), and gif_read_extension().

◆ GIF_APP_EXT_LABEL

#define GIF_APP_EXT_LABEL   0xff

Definition at line 46 of file gif.h.

Referenced by gif_read_ext().

◆ NETSCAPE_EXT_STR

#define NETSCAPE_EXT_STR   "NETSCAPE2.0"

Definition at line 47 of file gif.h.

Referenced by gif_read_ext().

Variable Documentation

◆ gif87a_sig

const uint8_t gif87a_sig[6] = "GIF87a"
static

Definition at line 34 of file gif.h.

Referenced by gif_decode_frame(), gif_probe(), gif_read_header1(), gif_read_packet(), and resync().

◆ gif89a_sig

const uint8_t gif89a_sig[6] = "GIF89a"
static

Definition at line 35 of file gif.h.

Referenced by gif_decode_frame(), gif_probe(), gif_read_header1(), gif_read_packet(), and resync().