Home | History | Annotate | Download | only in lodepng

Lines Matching refs:key_g

2527   info->key_r = info->key_g = info->key_b = 0;
2562 if(a->key_g != b->key_g) return 0;
3135 if(mode->key_defined && *r == mode->key_r && *g == mode->key_g && *b == mode->key_b) *a = 0;
3144 && 256U * in[i * 6 + 2] + in[i * 6 + 3] == mode->key_g
3260 && buffer[1]== mode->key_g && buffer[2] == mode->key_b ? 0 : 255;
3272 && 256U * in[i * 6 + 2] + in[i * 6 + 3] == mode->key_g
3367 && 256U * in[i * 6 + 2] + in[i * 6 + 3] == mode->key_g
3473 unsigned short key_g;
3531 std::cout << "key_g: " << (int)p->key_g << std::endl;
3593 if(a == 0 && numpixels > 16 && !(profile->key && (r != profile->key_r || g != profile->key_g || b != profile->key_b)))
3599 profile->key_g = g;
3613 && r == profile->key_r && g == profile->key_g && b == profile->key_b)
3673 if(a == 0 && !(profile->key && (r != profile->key_r || g != profile->key_g || b != profile->key_b)))
3679 profile->key_g = g;
3693 && r == profile->key_r && g == profile->key_g && b == profile->key_b)
3739 profile->key_g *= 257;
3751 mode_out->key_g = g & mask;
3786 if(profile.key) setColorKeyFrom16bit(mode_out, profile.key_r, profile.key_g, profile.key_b, mode_out->bitdepth);
3803 if(profile.key) setColorKeyFrom16bit(mode_out, profile.key_r, profile.key_g, profile.key_b, mode_out->bitdepth);
3849 if(profile.key) setColorKeyFrom16bit(mode_out, profile.key_r, profile.key_g, profile.key_b, mode_out->bitdepth);
4294 color->key_r = color->key_g = color->key_b = 256 * data[0] + data[1];
4303 color->key_g = 256 * data[2] + data[3];
4972 ucvector_push_back(&tRNS, (unsigned char)(info->key_g / 256));
4973 ucvector_push_back(&tRNS, (unsigned char)(info->key_g % 256));