Lines Matching defs:saturation
70 float saturation; /* normalized to interval [0,1] */
88 result->saturation = 1.0f - (float) g / (float) b;
95 result->saturation = 1.0f - (float) b / (float) r;
102 result->saturation = 1.0f - (float) g / (float) r;
112 result->saturation = 1.0f - (float) r / (float) b;
119 result->saturation = 1.0f - (float) b / (float) g;
126 result->saturation = 1.0f - (float) r / (float) g;
133 result->saturation = 0;
148 float delta_x = color1->saturation * cosf (angle1)
149 - color2->saturation * cosf (angle2);
150 float delta_y = color1->saturation * sinf (angle1)
151 - color2->saturation * sinf (angle2);
157 /* Formula that considers hue differences with more weight than saturation
168 (color1->saturation < color2->saturation
169 ? color1->saturation
170 : color2->saturation);
171 float delta_saturation = color1->saturation - color2->saturation;
203 if (i_hsv.saturation > given_hsv.saturation * 0.5f)
219 (double)given_hsv.hue, (double)given_hsv.saturation, (double)given_hsv.brightness,
220 (double)best_hsv.hue, (double)best_hsv.saturation, (double)best_hsv.brightness,
296 if (hsv.saturation < 0.065f)
354 if (hsv.saturation < 0.065f)
402 if (hsv.saturation < 0.065f)
528 if (hsv.saturation < 0.065f)
840 if (hsv.saturation < 0.065f)