ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros | Typedefs | Functions | Variables
gifdecode.c File Reference
#include <stdio.h>
#include <string.h>
Include dependency graph for gifdecode.c:

Go to the source code of this file.

Macros

#define BITS   12 /* largest code size */
 
#define TSIZE   4096 /* tables size */
 

Typedefs

typedef unsigned char byte
 

Functions

static int ReadCode ()
 
static void OutPixel (byte pix)
 
int GIFinfo (byte *GIFarr, int *Width, int *Height, int *Ncols)
 
int GIFdecode (byte *GIFarr, byte *PIXarr, int *Width, int *Height, int *Ncols, byte *R, byte *G, byte *B)
 

Variables

static int Prefix [TSIZE]
 
static byte Suffix [TSIZE]
 
static byte OutCode [TSIZE]
 
static byteptr1
 
static byteptr2
 
static int CurCodeSize
 
static int CurMaxCode
 
static long CurBit
 

Macro Definition Documentation

#define BITS   12 /* largest code size */

Definition at line 7 of file gifdecode.c.

Referenced by GIFdecode().

#define TSIZE   4096 /* tables size */

Definition at line 8 of file gifdecode.c.

Referenced by GIFdecode().

Typedef Documentation

typedef unsigned char byte

Definition at line 10 of file gifdecode.c.

Function Documentation

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.

static void OutPixel ( byte  pix)
static

Definition at line 60 of file gifdecode.c.

Referenced by GIFdecode().

static int ReadCode ( )
static

Definition at line 27 of file gifdecode.c.

Referenced by GIFdecode().

Variable Documentation

long CurBit
static

Definition at line 22 of file gifdecode.c.

Referenced by GIFdecode(), and ReadCode().

int CurCodeSize
static

Definition at line 19 of file gifdecode.c.

Referenced by GIFdecode(), and ReadCode().

int CurMaxCode
static

Definition at line 19 of file gifdecode.c.

Referenced by GIFdecode(), and ReadCode().

byte OutCode[TSIZE]
static

Definition at line 14 of file gifdecode.c.

Referenced by GIFdecode().

int Prefix[TSIZE]
static

Definition at line 12 of file gifdecode.c.

Referenced by GIFdecode().

byte* ptr1
static
byte * ptr2
static
byte Suffix[TSIZE]
static

Definition at line 13 of file gifdecode.c.

Referenced by GIFdecode().