Lines Matching refs:LCT_RGBA
2644 … case LCT_RGBA: if(!( bd == 8 || bd == 16)) return 37; break; in checkColorValidity()
2657 case LCT_RGBA: return 4; in getNumColorChannels()
2673 info->colortype = LCT_RGBA; in lodepng_color_mode_init()
3206 } else if(mode->colortype == LCT_RGBA) { in rgba8ToPixel()
3244 } else if(mode->colortype == LCT_RGBA) { in rgba16ToPixel()
3312 } else if(mode->colortype == LCT_RGBA) { in getPixelColorRGBA8()
3412 } else if(mode->colortype == LCT_RGBA) { in getPixelColorsRGBA8()
3484 } else if(mode->colortype == LCT_RGBA) { in getPixelColorsRGB8()
3519 } else if(mode->colortype == LCT_RGBA) { in getPixelColorRGBA16()
3580 } else if(mode_out->bitdepth == 8 && mode_out->colortype == LCT_RGBA) { in lodepng_convert()
3618 } else if(mode_in->colortype == LCT_RGB || mode_in->colortype == LCT_RGBA) { in lodepng_convert_rgb()
3634 } else if(mode_out->colortype == LCT_RGB || mode_out->colortype == LCT_RGBA) { in lodepng_convert_rgb()
3891 mode.colortype = LCT_RGBA; in lodepng_color_stats_add()
3956 mode_out->colortype = alpha ? (gray_ok ? LCT_GREY_ALPHA : LCT_RGBA) in auto_choose_color()
4419 } else if(info->color.colortype == LCT_RGB || info->color.colortype == LCT_RGBA) { in readChunk_bKGD()
4974 if(!(state->info_raw.colortype == LCT_RGB || state->info_raw.colortype == LCT_RGBA) in lodepng_decode()
5009 return lodepng_decode_memory(out, w, h, in, insize, LCT_RGBA, 8); in lodepng_decode32()
5032 return lodepng_decode_file(out, w, h, filename, LCT_RGBA, 8); in lodepng_decode32_file()
5286 } else if(info->color.colortype == LCT_RGB || info->color.colortype == LCT_RGBA) { in addChunk_bKGD()
5970 …->encoder.force_palette && (info.color.colortype == LCT_RGB || info.color.colortype == LCT_RGBA)) { in lodepng_encode()
6094 return lodepng_encode_memory(out, outsize, image, w, h, LCT_RGBA, 8); in lodepng_encode32()
6113 return lodepng_encode_file(filename, image, w, h, LCT_RGBA, 8); in lodepng_encode32_file()