Lines Matching refs:LCT_RGB
2998 else if(mode->colortype == LCT_RGB) in rgba8ToPixel()
3067 else if(mode->colortype == LCT_RGB) in rgba16ToPixel()
3130 else if(mode->colortype == LCT_RGB) in getPixelColorRGBA8()
3250 else if(mode->colortype == LCT_RGB) in getPixelColorsRGBA8()
3361 else if(mode->colortype == LCT_RGB) in getPixelColorRGBA16()
3436 else if(mode_out->bitdepth == 8 && mode_out->colortype == LCT_RGB) in lodepng_convert()
3785 mode_out->colortype = (mode_out->colortype == LCT_RGBA ? LCT_RGB : LCT_GREY); in lodepng_auto_choose_color()
3802 mode_out->colortype = profile.colored ? LCT_RGB : LCT_GREY; in lodepng_auto_choose_color()
3848 …mode_out->colortype = profile.colored ? LCT_RGB : LCT_GREY /*LCT_GREY normally won't occur, alread… in lodepng_auto_choose_color()
4296 else if(color->colortype == LCT_RGB) in readChunk_tRNS()
4333 else if(info->color.colortype == LCT_RGB || info->color.colortype == LCT_RGBA) in readChunk_bKGD()
4763 if(!(state->info_raw.colortype == LCT_RGB || state->info_raw.colortype == LCT_RGBA) in lodepng_decode()
4801 return lodepng_decode_memory(out, w, h, in, insize, LCT_RGB, 8); in lodepng_decode24()
4824 return lodepng_decode_file(out, w, h, filename, LCT_RGB, 8); in lodepng_decode24_file()
4966 else if(info->colortype == LCT_RGB) in addChunk_tRNS()
5103 else if(info->color.colortype == LCT_RGB || info->color.colortype == LCT_RGBA) in addChunk_bKGD()
5745 …if(state->encoder.force_palette && (info.color.colortype == LCT_RGB || info.color.colortype == LCT… in lodepng_encode()
5754 …if((info.color.colortype == LCT_GREY || info.color.colortype == LCT_RGB) && info.color.key_defined) in lodepng_encode()
5878 return lodepng_encode_memory(out, outsize, image, w, h, LCT_RGB, 8); in lodepng_encode24()
5900 return lodepng_encode_file(filename, image, w, h, LCT_RGB, 8); in lodepng_encode24_file()