Searched refs:paletteSize (Results 1 – 3 of 3) sorted by relevance
329 int paletteSize = w * h + bpp * num_colors; in analyze_image() local336 paletteSize, 2 * w * h, bpp * w * h); in analyze_image()354 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()360 } else if (isPalette && (paletteSize < bpp * w * h)) { in analyze_image()
1034 int paletteSize = w * h + 3 * numOpaqueColors + 4 * numAlphaColors; in analyze_image() local1042 paletteSize, 2 * w * h, bpp * w * h); in analyze_image()1060 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()1066 } else if (isPalette && (paletteSize < bpp * w * h)) { in analyze_image()
484 const int paletteSize = (1 << indexBits) * entrySize; in decodePalette4() local486 uint8_t const* pixels = (uint8_t *)data + paletteSize; in decodePalette4()