outptgif.h File Reference

(r1785/r1348)

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

Go to the source code of this file.

Classes

class  OutputGIF
 Contains functions to write a DIB to a GIF in segments, optionally with compression, optionally converting from one depth to another. To use: Open a CCLexFile for write. Call StartFile to write out the header. Call WriteBlock to write out each block of the bitmap, starting from low memory. When you're done, call TidyUp. Similar to OutputDIB but strangely enough writes the data as a GIF instead of a BMP or via the AccusoftFilters. More...

Defines

#define GIFBITS   12
#define MAX_LWZ_BITS   12
#define HSIZE   5003
#define MAXCODE(n_bits)   (((code_int) 1 << (n_bits)) - 1)
#define HashTabOf(i)   htab[i]
#define CodeTabOf(i)   codetab[i]
#define tab_prefixof(i)   CodeTabOf(i)
#define tab_suffixof(i)   ((char_type*)(htab))[i]
#define de_stack   ((char_type*)&tab_suffixof((code_int)1<<GIFBITS))


Define Documentation

#define CodeTabOf  )     codetab[i]
 

Definition at line 117 of file outptgif.h.

#define de_stack   ((char_type*)&tab_suffixof((code_int)1<<GIFBITS))
 

Definition at line 121 of file outptgif.h.

#define GIFBITS   12
 

Definition at line 110 of file outptgif.h.

#define HashTabOf  )     htab[i]
 

Definition at line 116 of file outptgif.h.

#define HSIZE   5003
 

Definition at line 112 of file outptgif.h.

#define MAX_LWZ_BITS   12
 

Definition at line 111 of file outptgif.h.

#define MAXCODE n_bits   )     (((code_int) 1 << (n_bits)) - 1)
 

Definition at line 114 of file outptgif.h.

#define tab_prefixof  )     CodeTabOf(i)
 

Definition at line 119 of file outptgif.h.

#define tab_suffixof  )     ((char_type*)(htab))[i]
 

Definition at line 120 of file outptgif.h.


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