Lines Matching refs:LCT_GREY_ALPHA
2614 return info->colortype == LCT_GREY || info->colortype == LCT_GREY_ALPHA; in lodepng_is_greyscale_type()
3020 else if(mode->colortype == LCT_GREY_ALPHA) in rgba8ToPixel()
3076 else if(mode->colortype == LCT_GREY_ALPHA) in rgba16ToPixel()
3174 else if(mode->colortype == LCT_GREY_ALPHA) in getPixelColorRGBA8()
3302 else if(mode->colortype == LCT_GREY_ALPHA) in getPixelColorsRGBA8()
3371 else if(mode->colortype == LCT_GREY_ALPHA) in getPixelColorRGBA16()
3769 if(mode_out->colortype != LCT_RGBA && mode_out->colortype != LCT_GREY_ALPHA) return 0; in lodepng_auto_choose_color()
3798 mode_out->colortype = profile.colored ? LCT_RGBA : LCT_GREY_ALPHA; in lodepng_auto_choose_color()
3844 mode_out->colortype = profile.colored ? LCT_RGBA : LCT_GREY_ALPHA; in lodepng_auto_choose_color()
4324 else if(info->color.colortype == LCT_GREY || info->color.colortype == LCT_GREY_ALPHA) in readChunk_bKGD()
5098 if(info->color.colortype == LCT_GREY || info->color.colortype == LCT_GREY_ALPHA) in addChunk_bKGD()