Lines Matching refs:key_g

2527   info->key_r = info->key_g = info->key_b = 0;  in lodepng_color_mode_init()
2562 if(a->key_g != b->key_g) return 0; in lodepng_color_mode_equal()
3135 if(mode->key_defined && *r == mode->key_r && *g == mode->key_g && *b == mode->key_b) *a = 0; in getPixelColorRGBA8()
3144 && 256U * in[i * 6 + 2] + in[i * 6 + 3] == mode->key_g in getPixelColorRGBA8()
3260 && buffer[1]== mode->key_g && buffer[2] == mode->key_b ? 0 : 255; in getPixelColorsRGBA8()
3272 && 256U * in[i * 6 + 2] + in[i * 6 + 3] == mode->key_g in getPixelColorsRGBA8()
3367 && 256U * in[i * 6 + 2] + in[i * 6 + 3] == mode->key_g in getPixelColorRGBA16()
3473 unsigned short key_g; member
3593 …numpixels > 16 && !(profile->key && (r != profile->key_r || g != profile->key_g || b != profile->k… in get_color_profile()
3599 profile->key_g = g; in get_color_profile()
3613 && r == profile->key_r && g == profile->key_g && b == profile->key_b) in get_color_profile()
3673 …if(a == 0 && !(profile->key && (r != profile->key_r || g != profile->key_g || b != profile->key_b)… in get_color_profile()
3679 profile->key_g = g; in get_color_profile()
3693 && r == profile->key_r && g == profile->key_g && b == profile->key_b) in get_color_profile()
3739 profile->key_g *= 257; in get_color_profile()
3751 mode_out->key_g = g & mask; in setColorKeyFrom16bit()
3786 …if(profile.key) setColorKeyFrom16bit(mode_out, profile.key_r, profile.key_g, profile.key_b, mode_o… in lodepng_auto_choose_color()
3803 …if(profile.key) setColorKeyFrom16bit(mode_out, profile.key_r, profile.key_g, profile.key_b, mode_o… in lodepng_auto_choose_color()
3849 …if(profile.key) setColorKeyFrom16bit(mode_out, profile.key_r, profile.key_g, profile.key_b, mode_o… in lodepng_auto_choose_color()
4294 color->key_r = color->key_g = color->key_b = 256 * data[0] + data[1]; in readChunk_tRNS()
4303 color->key_g = 256 * data[2] + data[3]; in readChunk_tRNS()
4972 ucvector_push_back(&tRNS, (unsigned char)(info->key_g / 256)); in addChunk_tRNS()
4973 ucvector_push_back(&tRNS, (unsigned char)(info->key_g % 256)); in addChunk_tRNS()