Lines Matching refs:tmax
1039 float tmax=MagickMax(MagickMax(r,g),b);
1041 if (tmax!=0.0f) {
1042 float delta=tmax-tmin;
1043 HueSaturationBrightness.y=delta/tmax;
1044 HueSaturationBrightness.z=QuantumScale*tmax;
1047 HueSaturationBrightness.x = ((r == tmax)?0.0f:((g == tmax)?2.0f:4.0f));
1048 HueSaturationBrightness.x += ((r == tmax)?(g-b):((g == tmax)?(b-r):(r-g)))/delta;
1967 tmax,
1973 tmax=MagickMax(QuantumScale*red,MagickMax(QuantumScale*green, QuantumScale*blue));
1976 c=tmax-tmin;
1978 *lightness=(tmax+tmin)/2.0;
1986 if (tmax == (QuantumScale*red))
1993 if (tmax == (QuantumScale*green))