Searched refs:paletteSize (Results 1 – 2 of 2) sorted by relevance
893 int paletteSize = w * h + bpp * num_colors; in analyze_image() local899 paletteSize, 2 * w * h, bpp * w * h)); in analyze_image()916 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()922 } 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()