Lines Matching defs:saturation
67 float saturation; /* normalized to interval [0,1] */
85 result->saturation = 1.0f - (float) g / (float) b;
92 result->saturation = 1.0f - (float) b / (float) r;
99 result->saturation = 1.0f - (float) g / (float) r;
109 result->saturation = 1.0f - (float) r / (float) b;
116 result->saturation = 1.0f - (float) b / (float) g;
123 result->saturation = 1.0f - (float) r / (float) g;
130 result->saturation = 0;
145 float delta_x = color1->saturation * cosf (angle1)
146 - color2->saturation * cosf (angle2);
147 float delta_y = color1->saturation * sinf (angle1)
148 - color2->saturation * sinf (angle2);
154 /* Formula that considers hue differences with more weight than saturation
165 (color1->saturation < color2->saturation
166 ? color1->saturation
167 : color2->saturation);
168 float delta_saturation = color1->saturation - color2->saturation;
200 if (i_hsv.saturation > given_hsv.saturation * 0.5f)
216 (double)given_hsv.hue, (double)given_hsv.saturation, (double)given_hsv.brightness,
217 (double)best_hsv.hue, (double)best_hsv.saturation, (double)best_hsv.brightness,
293 if (hsv.saturation < 0.065f)
351 if (hsv.saturation < 0.065f)
399 if (hsv.saturation < 0.065f)
525 if (hsv.saturation < 0.065f)
837 if (hsv.saturation < 0.065f)