Lines Matching refs:key_defined

2671   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()
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()
3368 if(mode->key_defined) { in getPixelColorsRGBA8()
3379 buffer[3] = mode->key_defined in getPixelColorsRGBA8()
3505 if(mode->key_defined && 256U * in[i * 2 + 0] + in[i * 2 + 1] == mode->key_r) *a = 0; in getPixelColorRGBA16()
3511 if(mode->key_defined in getPixelColorRGBA16()
3918 mode_out->key_defined = 0; in auto_choose_color()
3963 mode_out->key_defined = 1; in auto_choose_color()
4383 color->key_defined = 1; in readChunk_tRNS()
4389 color->key_defined = 1; in readChunk_tRNS()
5154 if(info->key_defined) { in addChunk_tRNS()
5160 if(info->key_defined) { in addChunk_tRNS()