Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c2671 info->key_defined = 0; in lodepng_color_mode_init()
2724 if(a->key_defined != b->key_defined) return 0; in lodepng_color_mode_equal()
2725 if(a->key_defined) { in lodepng_color_mode_equal()
2790 return info->key_defined in lodepng_can_have_alpha()
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()
3342 if(mode->key_defined) { in getPixelColorsRGBA8()
[all …]
Dlodepng.h374 unsigned key_defined; /*is a transparent color key given? 0 = false, 1 = true*/ member