Searched refs:LCT_PALETTE (Results 1 – 2 of 2) sorted by relevance
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()[all …]
104 LCT_PALETTE = 3, /*palette: 1,2,4,8 bit*/ enumerator