Searched refs:paletteSize (Results 1 – 3 of 3) sorted by relevance
348 int paletteSize = w * h + bpp * num_colors; in analyze_image() local354 printf("Size w/ palette = %d, gray+alpha = %d, rgb(a) = %d\n", paletteSize, in analyze_image()376 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()382 } else if (isPalette && (paletteSize < bpp * w * h)) { in analyze_image()
1035 int paletteSize = w * h + 3 * numOpaqueColors + 4 * numAlphaColors; in analyze_image() local1043 paletteSize, 2 * w * h, bpp * w * h); in analyze_image()1061 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()1067 } else if (isPalette && (paletteSize < bpp * w * h)) { in analyze_image()
473 const int paletteSize = (1 << indexBits) * entrySize; in decodePalette4() local475 uint8_t const* pixels = (uint8_t *)data + paletteSize; in decodePalette4()