Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

clip::apt1_0::palettize Class Reference

#include <picture.h>

List of all members.

Public Member Functions

 palettize (unsigned char ***components, int nr, int nc, int quality, bool &cando)
 ~palettize ()
int frompalette (unsigned char ***components, int nr, int nc)
void writepalette (FILE *cfp, cfileio &fio)
 palettize (FILE *cfp, cfileio &fio)

Private Member Functions

void initpools ()
int tosorted (int index, bool frontnotback)
void createcoocur (unsigned char ***components, int nr, int nc, entry *hist[256][256])
void deletecooccur ()
void initweights ()
int move_next_to_sorted_pool ()

Private Attributes

entry palette [4097]
double weightsarray [4096]
int totalentries
int paddedentries
int startindex
int palettebits
int palettemask
entry unsorted
entry unsorted_end
entry sorted
entry sorted_end
int ** cooccur
int * crosscounts


Constructor & Destructor Documentation

clip::apt1_0::palettize::palettize unsigned char ***  components,
int  nr,
int  nc,
int  quality,
bool &  cando
[inline]
 

clip::apt1_0::palettize::~palettize  )  [inline]
 

clip::apt1_0::palettize::palettize FILE *  cfp,
cfileio fio
[inline]
 


Member Function Documentation

void clip::apt1_0::palettize::createcoocur unsigned char ***  components,
int  nr,
int  nc,
entry hist[256][256]
[inline, private]
 

void clip::apt1_0::palettize::deletecooccur  )  [inline, private]
 

int clip::apt1_0::palettize::frompalette unsigned char ***  components,
int  nr,
int  nc
[inline]
 

void clip::apt1_0::palettize::initpools  )  [inline, private]
 

void clip::apt1_0::palettize::initweights  )  [inline, private]
 

int clip::apt1_0::palettize::move_next_to_sorted_pool  )  [inline, private]
 

int clip::apt1_0::palettize::tosorted int  index,
bool  frontnotback
[inline, private]
 

void clip::apt1_0::palettize::writepalette FILE *  cfp,
cfileio fio
[inline]
 


Member Data Documentation

int** clip::apt1_0::palettize::cooccur [private]
 

int* clip::apt1_0::palettize::crosscounts [private]
 

int clip::apt1_0::palettize::paddedentries [private]
 

entry clip::apt1_0::palettize::palette[4097] [private]
 

int clip::apt1_0::palettize::palettebits [private]
 

int clip::apt1_0::palettize::palettemask [private]
 

entry clip::apt1_0::palettize::sorted [private]
 

entry clip::apt1_0::palettize::sorted_end [private]
 

int clip::apt1_0::palettize::startindex [private]
 

int clip::apt1_0::palettize::totalentries [private]
 

entry clip::apt1_0::palettize::unsorted [private]
 

entry clip::apt1_0::palettize::unsorted_end [private]
 

double clip::apt1_0::palettize::weightsarray[4096] [private]
 


The documentation for this class was generated from the following file:
Generated on Sat Mar 5 17:34:35 2005 for clip by doxygen 1.3.8