#include <stdio.h>
#include <string.h>
Macros | |
#define | BITS 12 /* largest code size */ |
#define | TSIZE 4096 /* tables size */ |
Typedefs | |
typedef unsigned char | byte |
Functions | |
int | GIFdecode (byte *GIFarr, byte *PIXarr, int *Width, int *Height, int *Ncols, byte *R, byte *G, byte *B) |
int | GIFinfo (byte *GIFarr, int *Width, int *Height, int *Ncols) |
static void | OutPixel (byte pix) |
static int | ReadCode () |
Variables | |
static long | CurBit |
static int | CurCodeSize |
static int | CurMaxCode |
static byte | OutCode [TSIZE] |
static int | Prefix [TSIZE] |
static byte * | ptr1 |
static byte * | ptr2 |
static byte | Suffix [TSIZE] |
#define BITS 12 /* largest code size */ |
Definition at line 7 of file gifdecode.c.
#define TSIZE 4096 /* tables size */ |
Definition at line 8 of file gifdecode.c.
typedef unsigned char byte |
Definition at line 10 of file gifdecode.c.
int GIFdecode | ( | byte * | GIFarr, |
byte * | PIXarr, | ||
int * | Width, | ||
int * | Height, | ||
int * | Ncols, | ||
byte * | R, | ||
byte * | G, | ||
byte * | B | ||
) |
Definition at line 149 of file gifdecode.c.
int GIFinfo | ( | byte * | GIFarr, |
int * | Width, | ||
int * | Height, | ||
int * | Ncols | ||
) |
Definition at line 80 of file gifdecode.c.
Definition at line 60 of file gifdecode.c.
|
static |
Definition at line 27 of file gifdecode.c.
|
static |
Definition at line 22 of file gifdecode.c.
|
static |
Definition at line 19 of file gifdecode.c.
|
static |
Definition at line 20 of file gifdecode.c.
Definition at line 14 of file gifdecode.c.
|
static |
Definition at line 12 of file gifdecode.c.
|
static |
Definition at line 16 of file gifdecode.c.
|
static |
Definition at line 17 of file gifdecode.c.
Definition at line 13 of file gifdecode.c.