Lines Matching refs:LCT_PALETTE

2642 … case LCT_PALETTE:    if(!(bd == 1 || bd == 2 || bd == 4 || bd == 8            )) return 37; break;  in checkColorValidity()
2655 case LCT_PALETTE: return 1; in getNumColorChannels()
2778 return info->colortype == LCT_PALETTE; in lodepng_is_palette_type()
3192 } else if(mode->colortype == LCT_PALETTE) { in rgba8ToPixel()
3292 } else if(mode->colortype == LCT_PALETTE) { in getPixelColorRGBA8()
3385 } else if(mode->colortype == LCT_PALETTE) { in getPixelColorsRGBA8()
3459 } else if(mode->colortype == LCT_PALETTE) { in getPixelColorsRGB8()
3535 if(mode_in->colortype == LCT_PALETTE && !mode_in->palette) { in lodepng_convert()
3545 if(mode_out->colortype == LCT_PALETTE) { in lodepng_convert()
3558 if(mode_in->colortype == LCT_PALETTE && mode_in->bitdepth == mode_out->bitdepth) { in lodepng_convert()
3594 if(mode_out->colortype == LCT_PALETTE) { in lodepng_convert()
3622 } else if(mode_in->colortype == LCT_PALETTE) { in lodepng_convert_rgb()
3638 } else if(mode_out->colortype == LCT_PALETTE) { in lodepng_convert_rgb()
3945 mode_out->colortype = LCT_PALETTE; in auto_choose_color()
3948 if(mode_in->colortype == LCT_PALETTE && mode_in->palettesize >= mode_out->palettesize in auto_choose_color()
4374 if(color->colortype == LCT_PALETTE) { in readChunk_tRNS()
4403 if(info->color.colortype == LCT_PALETTE) { in readChunk_bKGD()
4914 …if(!state->error && state->info_png.color.colortype == LCT_PALETTE && !state->info_png.color.palet… in decodeGeneric()
5141 if(info->colortype == LCT_PALETTE) { in addChunk_tRNS()
5294 } else if(info->color.colortype == LCT_PALETTE) { in addChunk_bKGD()
5480 (color->colortype == LCT_PALETTE || color->bitdepth < 8)) strategy = LFS_ZERO; in filter()
5834 if((info_png->color.colortype == LCT_PALETTE || state->encoder.force_palette) in lodepng_encode()
5966 if(info.color.colortype == LCT_PALETTE) { in lodepng_encode()