Searched refs:paletteSize (Results 1 – 2 of 2) sorted by relevance
335 int paletteSize = w * h + bpp * num_colors; in analyze_image() local341 printf("Size w/ palette = %d, gray+alpha = %d, rgb(a) = %d\n", paletteSize, 2 * w * h, in analyze_image()362 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()368 } else if (isPalette && (paletteSize < bpp * w * h)) { in analyze_image()
1036 int paletteSize = w * h + 3 * numOpaqueColors + 4 * numAlphaColors; in analyze_image() local1044 paletteSize, 2 * w * h, bpp * w * h); in analyze_image()1062 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()1068 } else if (isPalette && (paletteSize < bpp * w * h)) { in analyze_image()