Lines Matching refs:LCT_GREY
2614 return info->colortype == LCT_GREY || info->colortype == LCT_GREY_ALPHA; in lodepng_is_greyscale_type()
2986 if(mode->colortype == LCT_GREY) in rgba8ToPixel()
3061 if(mode->colortype == LCT_GREY) in rgba16ToPixel()
3106 if(mode->colortype == LCT_GREY) in getPixelColorRGBA8()
3220 if(mode->colortype == LCT_GREY) in getPixelColorsRGBA8()
3355 if(mode->colortype == LCT_GREY) in getPixelColorRGBA16()
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()
3818 mode_out->colortype = 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()
4288 else if(color->colortype == LCT_GREY) in readChunk_tRNS()
4324 else if(info->color.colortype == LCT_GREY || info->color.colortype == LCT_GREY_ALPHA) in readChunk_bKGD()
4958 else if(info->colortype == LCT_GREY) in addChunk_tRNS()
5098 if(info->color.colortype == LCT_GREY || info->color.colortype == LCT_GREY_ALPHA) in addChunk_bKGD()
5754 …if((info.color.colortype == LCT_GREY || info.color.colortype == LCT_RGB) && info.color.key_defined) in lodepng_encode()