gif.h File Reference

GIF format definitions. More...

#include <stdint.h>
Include dependency graph for gif.h:
This graph shows which files directly or indirectly include this file:

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

#define GCE_DISPOSAL_BACKGROUND   2

Definition at line 39 of file gif.h.

Referenced by gif_read_image().

#define GCE_DISPOSAL_INPLACE   1

Definition at line 38 of file gif.h.

#define GCE_DISPOSAL_NONE   0

Definition at line 37 of file gif.h.

Referenced by gif_read_extension(), and gif_read_image().

#define GCE_DISPOSAL_RESTORE   3

Definition at line 40 of file gif.h.

Referenced by gif_read_image().

#define GIF_APP_EXT_LABEL   0xff

Definition at line 46 of file gif.h.

Referenced by gif_read_ext().

#define GIF_EXTENSION_INTRODUCER   0x21

Definition at line 43 of file gif.h.

Referenced by gif_parse_next_image(), and gif_read_packet().

#define GIF_GCE_EXT_LABEL   0xf9

Definition at line 45 of file gif.h.

Referenced by gif_read_ext(), and gif_read_extension().

#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().

#define GIF_TRAILER   0x3b

Definition at line 42 of file gif.h.

Referenced by gif_parse_next_image(), and gif_read_packet().

#define NETSCAPE_EXT_STR   "NETSCAPE2.0"

Definition at line 47 of file gif.h.

Referenced by gif_read_ext().

Variable Documentation

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().

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().