Searched refs:LCT_PALETTE (Results 1 – 3 of 3) sorted by relevance
192 if (inputstate.info_png.color.colortype == LCT_PALETTE) { in TryOptimize()248 if (color.colortype == LCT_PALETTE) { in TryOptimize()
2624 return info->colortype == LCT_PALETTE; in lodepng_is_palette_type()3013 else if(mode->colortype == LCT_PALETTE) in rgba8ToPixel()3149 else if(mode->colortype == LCT_PALETTE) in getPixelColorRGBA8()3277 else if(mode->colortype == LCT_PALETTE) in getPixelColorsRGBA8()3409 if(mode_out->colortype == LCT_PALETTE) in lodepng_convert()3452 if(mode_out->colortype == LCT_PALETTE) in lodepng_convert()3835 mode_out->colortype = LCT_PALETTE; in lodepng_auto_choose_color()3857 if(mode_out->colortype == LCT_PALETTE && mode_in->palettesize == mode_out->palettesize) in lodepng_auto_choose_color()4281 if(color->colortype == LCT_PALETTE) in readChunk_tRNS()4316 if(info->color.colortype == LCT_PALETTE) in readChunk_bKGD()[all …]
91 LCT_PALETTE = 3, /*palette: 1,2,4,8 bit*/ enumerator