59 fprintf(stderr,
"Palette[%u] = %08x (%u --> %d)\n",
paletteSize,color,
74 for( i=ncols; i--; ) {
85 for( i=0; i<ncols; i++ ) {
100 for( i=0; i<nlines; i++ ) {
KisMagneticGraph::vertex_descriptor target(typename KisMagneticGraph::edge_descriptor e, KisMagneticGraph g)
void init_palette_hash(void)
int palettify_row(rgba *row, unsigned ncols)
static void unpalettify_row(rgba *row, unsigned ncols)
int lookup_or_intern(rgba color)
static int masterhash[HASH_SIZE]
rgba palette[MAX_PALETTE]
static int bucketlinks[MAX_PALETTE]
int palettify_rows(rgba *rows[], unsigned ncols, unsigned nlines)