Home
last modified time | relevance | path

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

/lvgl-3.6.0/src/extra/libs/png/
Dlodepng.c2672 info->key_r = info->key_g = info->key_b = 0; in lodepng_color_mode_init()
2726 if(a->key_r != b->key_r) return 0; in lodepng_color_mode_equal()
3264 if(mode->key_defined && *r == mode->key_r) *a = 0; in getPixelColorRGBA8()
3268 if(mode->key_defined && 256U * in[i * 2 + 0] + in[i * 2 + 1] == mode->key_r) *a = 0; in getPixelColorRGBA8()
3275 if(mode->key_defined && value == mode->key_r) *a = 0; in getPixelColorRGBA8()
3281 if(mode->key_defined && *r == mode->key_r && *g == mode->key_g && *b == mode->key_b) *a = 0; in getPixelColorRGBA8()
3287 if(mode->key_defined && 256U * in[i * 6 + 0] + in[i * 6 + 1] == mode->key_r in getPixelColorRGBA8()
3345 if(buffer[0] == mode->key_r) buffer[3] = 0; in getPixelColorsRGBA8()
3351 … buffer[3] = mode->key_defined && 256U * in[i * 2 + 0] + in[i * 2 + 1] == mode->key_r ? 0 : 255; in getPixelColorsRGBA8()
3359 buffer[3] = mode->key_defined && value == mode->key_r ? 0 : 255; in getPixelColorsRGBA8()
[all …]
Dlodepng.h375 unsigned key_r; /*red/grayscale component of color key*/ member
708 …unsigned short key_r; /*key values, always as 16-bit, in 8-bit case the byte is duplicated, e.g. 6… member