Searched refs:topcolors (Results 1 - 1 of 1) sorted by relevance

/haiku-fatelf/src/add-ons/translators/gif/
H A DSavePalette.cpp327 ColorItem **topcolors = (ColorItem **)malloc(fSize * sizeof(ColorItem *)); local
328 if (topcolors == NULL) {
335 topcolors[i] = dummy;
340 if (ci->count > topcolors[j]->count) {
342 topcolors[k] = topcolors[k - 1];
344 topcolors[j] = ci;
351 pal[i].red = topcolors[i]->red;
352 pal[i].green = topcolors[i]->green;
353 pal[i].blue = topcolors[
[all...]

Completed in 83 milliseconds