gifdecode.c File Reference

#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Defines

#define BITS   12
#define TSIZE   4096

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


Define Documentation

#define BITS   12

Definition at line 7 of file gifdecode.c.

#define TSIZE   4096

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.

Referenced by TGX11::ReadGIF(), and TGWin32::ReadGIF().

int GIFinfo ( byte GIFarr,
int *  Width,
int *  Height,
int *  Ncols 
)

Definition at line 80 of file gifdecode.c.

Referenced by TGX11::ReadGIF(), and TGWin32::ReadGIF().

static void OutPixel ( byte  pix  )  [static]

Definition at line 60 of file gifdecode.c.

References ptr2.

Referenced by GIFdecode().

static int ReadCode (  )  [static]

Definition at line 27 of file gifdecode.c.

References CurBit, CurCodeSize, CurMaxCode, and ptr1.

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(), GIFencode(), output(), and ReadCode().

int CurMaxCode [static]

Definition at line 19 of file gifdecode.c.

Referenced by GIFdecode(), GIFencode(), output(), 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 DGifDecompressLine(), DGifSetupDecompress(), GIFdecode(), and XrdSecProtocolpwd::Init().

byte* ptr1 [static]

Definition at line 16 of file gifdecode.c.

Referenced by ClassImp(), pcrecpp::RE::Consume(), do_flip_h_no_crop(), pcrecpp::RE::FindAndConsume(), TMethod::FindDataMember(), pcrecpp::RE::FullMatch(), GIFdecode(), GIFinfo(), pcrecpp::RE::PartialMatch(), ReadCode(), and testRootFinder().

byte * ptr2 [static]

Definition at line 16 of file gifdecode.c.

Referenced by TRootContextMenu::AddEntrySorted(), ClassImp(), pcrecpp::RE::Consume(), do_flip_h_no_crop(), pcrecpp::RE::FindAndConsume(), TMethod::FindDataMember(), TRootContextMenu::FindHierarchy(), pcrecpp::RE::FullMatch(), GIFdecode(), OutPixel(), pcrecpp::RE::PartialMatch(), and testRootFinder().

byte Suffix[TSIZE] [static]

Definition at line 13 of file gifdecode.c.

Referenced by DGifDecompressLine(), and GIFdecode().


Generated on Tue Jul 5 15:58:44 2011 for ROOT_528-00b_version by  doxygen 1.5.1