|
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 |