Home
last modified time | relevance | path

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

/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp2527 info->key_r = info->key_g = info->key_b = 0; in lodepng_color_mode_init()
2561 if(a->key_r != b->key_r) return 0; in lodepng_color_mode_equal()
3111 if(mode->key_defined && *r == mode->key_r) *a = 0; in getPixelColorRGBA8()
3117 if(mode->key_defined && 256U * in[i * 2 + 0] + in[i * 2 + 1] == mode->key_r) *a = 0; in getPixelColorRGBA8()
3126 if(mode->key_defined && value == mode->key_r) *a = 0; in getPixelColorRGBA8()
3135 if(mode->key_defined && *r == mode->key_r && *g == mode->key_g && *b == mode->key_b) *a = 0; in getPixelColorRGBA8()
3143 if(mode->key_defined && 256U * in[i * 6 + 0] + in[i * 6 + 1] == mode->key_r in getPixelColorRGBA8()
3227 if(has_alpha) buffer[3] = mode->key_defined && in[i] == mode->key_r ? 0 : 255; in getPixelColorsRGBA8()
3235 …ha) buffer[3] = mode->key_defined && 256U * in[i * 2 + 0] + in[i * 2 + 1] == mode->key_r ? 0 : 255; in getPixelColorsRGBA8()
3246 if(has_alpha) buffer[3] = mode->key_defined && value == mode->key_r ? 0 : 255; in getPixelColorsRGBA8()
[all …]
Dlodepng.h346 unsigned key_r; /*red/greyscale component of color key*/ member