Searched refs:numOpaqueColors (Results 1 – 1 of 1) sorted by relevance
886 int numOpaqueColors = 0, numAlphaColors = 0; in analyze_image() local979 for (idx = 0; idx < numOpaqueColors; idx++) { in analyze_image()987 if (numOpaqueColors < 256) { in analyze_image()988 opaqueColors[numOpaqueColors] = col; in analyze_image()990 numOpaqueColors++; in analyze_image()1019 if (numOpaqueColors + numAlphaColors > 256) { in analyze_image()1036 int paletteSize = w * h + 3 * numOpaqueColors + 4 * numAlphaColors; in analyze_image()1086 memcpy(colors + numAlphaColors, opaqueColors, 4 * numOpaqueColors); in analyze_image()1101 int numColors = numOpaqueColors + numAlphaColors; in analyze_image()