Home
last modified time | relevance | path

Searched refs:LCT_GREY (Results 1 – 2 of 2) sorted by relevance

/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp2614 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()
[all …]
Dlodepng.h89 LCT_GREY = 0, /*greyscale: 1,2,4,8,16 bit*/ enumerator