gifutil.h File Reference

(r1785/r1348)

#include "ccfile.h"
#include "dibconv.h"
#include "dibutil.h"

Go to the source code of this file.

Classes

struct  tagGIFINFOHEADER
struct  tagGIFIMAGEBLOCK
struct  tagGIFTRANSBLOCK
struct  tagGIFCOMMENTBLOCK
struct  tagGIFAPPLICATIONBLOCK
struct  tagGIFRGBTRIPLE
class  PaletteIterator
 Something that should have been done long ago... More...
class  Palette
 Something that should have been done long ago... More...
class  GIFUtil
 Contains functions to read in a GIF file as a DIB. More...

Defines

#define INTERLACE   0x40
#define LOCALCOLOURMAP   0x80
#define GLOBALCOLOURMAP   0x80
#define EXTENSIONBLOCK   0x21
#define TRANSPARENTBLOCK   0xf9
#define COMMENTBLOCK   0xfe
#define APPLICATIONBLOCK   0xff
#define PLAINTEXTBLOCK   0x01
#define GIFBITS   12
#define MAX_LWZ_BITS   12
#define HSIZE   5003

Typedefs

typedef tagGIFINFOHEADER GIFINFOHEADER
typedef tagGIFINFOHEADERLPGIFINFOHEADER
typedef tagGIFIMAGEBLOCK GIFIMAGEBLOCK
typedef tagGIFIMAGEBLOCKLPGIFIMAGEBLOCK
typedef tagGIFTRANSBLOCK GIFTRANSBLOCK
typedef tagGIFTRANSBLOCKLPGIFTRANSBLOCK
typedef tagGIFCOMMENTBLOCK GIFCOMMENTBLOCK
typedef tagGIFCOMMENTBLOCKLPGIFCOMMENTBLOCK
typedef tagGIFAPPLICATIONBLOCK GIFAPPLICATIONBLOCK
typedef tagGIFAPPLICATIONBLOCKLPGIFAPPLICATIONBLOCK
typedef tagGIFRGBTRIPLE GIFRGBTRIPLE
typedef tagGIFRGBTRIPLELPGIFRGBTRIPLE
typedef int code_int
typedef long int count_int

Enumerations

enum  GIFDisposalMethod { GDM_NONE = 0, GDM_LEAVE = 1, GDM_BACKTOBACK = 2, GDM_PREVIOUS = 3 }

Variables

const unsigned long masks []
const int maxbits = 12
const code_int maxmaxcode = (code_int)1 << 12
const code_int hsize = 5003


Define Documentation

#define APPLICATIONBLOCK   0xff
 

Definition at line 77 of file gifutil.h.

#define COMMENTBLOCK   0xfe
 

Definition at line 68 of file gifutil.h.

#define EXTENSIONBLOCK   0x21
 

Definition at line 54 of file gifutil.h.

#define GIFBITS   12
 

Definition at line 106 of file gifutil.h.

#define GLOBALCOLOURMAP   0x80
 

Definition at line 51 of file gifutil.h.

#define HSIZE   5003
 

Definition at line 108 of file gifutil.h.

#define INTERLACE   0x40
 

Definition at line 49 of file gifutil.h.

#define LOCALCOLOURMAP   0x80
 

Definition at line 50 of file gifutil.h.

#define MAX_LWZ_BITS   12
 

Definition at line 107 of file gifutil.h.

#define PLAINTEXTBLOCK   0x01
 

Definition at line 88 of file gifutil.h.

#define TRANSPARENTBLOCK   0xf9
 

Definition at line 55 of file gifutil.h.


Typedef Documentation

typedef int code_int
 

Definition at line 110 of file gifutil.h.

typedef long int count_int
 

Definition at line 111 of file gifutil.h.

typedef struct tagGIFAPPLICATIONBLOCK GIFAPPLICATIONBLOCK
 

typedef struct tagGIFCOMMENTBLOCK GIFCOMMENTBLOCK
 

typedef struct tagGIFIMAGEBLOCK GIFIMAGEBLOCK
 

typedef struct tagGIFINFOHEADER GIFINFOHEADER
 

typedef struct tagGIFRGBTRIPLE GIFRGBTRIPLE
 

typedef struct tagGIFTRANSBLOCK GIFTRANSBLOCK
 

typedef struct tagGIFAPPLICATIONBLOCK * LPGIFAPPLICATIONBLOCK
 

typedef struct tagGIFCOMMENTBLOCK * LPGIFCOMMENTBLOCK
 

typedef struct tagGIFIMAGEBLOCK * LPGIFIMAGEBLOCK
 

typedef struct tagGIFINFOHEADER * LPGIFINFOHEADER
 

typedef struct tagGIFRGBTRIPLE * LPGIFRGBTRIPLE
 

typedef struct tagGIFTRANSBLOCK * LPGIFTRANSBLOCK
 


Enumeration Type Documentation

enum GIFDisposalMethod
 

Enumerator:
GDM_NONE 
GDM_LEAVE 
GDM_BACKTOBACK 
GDM_PREVIOUS 

Definition at line 118 of file gifutil.h.

00119 {
00120     GDM_NONE        = 0,    // No disposal specified. The decoder is not required to take any action.
00121     GDM_LEAVE       = 1,    // Do not dispose. The graphic is to be left in place.
00122     GDM_BACKTOBACK  = 2,    // Restore to background color. The area used by the graphic must be restored to the background color.
00123     GDM_PREVIOUS    = 3     // Restore to previous. The decoder is required to restore the area overwritten by the graphic with what was there prior to rendering the graphic.
00124 };


Variable Documentation

const code_int hsize = 5003
 

Definition at line 116 of file gifutil.h.

const unsigned long masks[]
 

Initial value:

 {
                                 0x0000, 0x0001, 0x0003, 0x0007, 0x000F,
                                 0x001F, 0x003F, 0x007F, 0x00FF, 0x01FF,
                                 0x03FF, 0x07FF, 0x0FFF, 0x1FFF, 0x3FFF,
                                 0x7FFF, 0xFFFF
                              }

Definition at line 98 of file gifutil.h.

const int maxbits = 12
 

Definition at line 113 of file gifutil.h.

const code_int maxmaxcode = (code_int)1 << 12
 

Definition at line 114 of file gifutil.h.


Generated on Sat Nov 10 03:49:32 2007 for Camelot by  doxygen 1.4.4