Home
last modified time | relevance | path

Searched refs:lightness (Results 1 – 8 of 8) sorted by relevance

/external/ImageMagick/Magick++/lib/
DColor.cpp617 lightness, in hue() local
626 &lightness); in hue()
630 ConvertHSLToRGB(hue,saturation,lightness,&red,&green,&blue); in hue()
641 lightness, in hue() local
645 &lightness); in hue()
650 void Magick::ColorHSL::lightness (const double lightness_) in lightness() function in Magick::ColorHSL
654 lightness, in lightness() local
663 &lightness); in lightness()
665 lightness=lightness_; in lightness()
667 ConvertHSLToRGB(hue,saturation,lightness,&red,&green,&blue); in lightness()
[all …]
/external/ImageMagick/MagickCore/
Dgem.c463 const double lightness,double *red,double *green,double *blue) in ConvertHSLToRGB() argument
478 if (lightness <= 0.5) in ConvertHSLToRGB()
479 c=2.0*lightness*saturation; in ConvertHSLToRGB()
481 c=(2.0-2.0*lightness)*saturation; in ConvertHSLToRGB()
482 min=lightness-0.5*c; in ConvertHSLToRGB()
1100 const double blue,double *hue,double *saturation,double *lightness) in ConvertRGBToHSL() argument
1112 assert(lightness != (double *) NULL); in ConvertRGBToHSL()
1118 *lightness=(max+min)/2.0; in ConvertRGBToHSL()
1137 if (*lightness <= 0.5) in ConvertRGBToHSL()
1138 *saturation=c/(2.0*(*lightness)); in ConvertRGBToHSL()
[all …]
Daccelerate-kernels-private.h1963 float *hue, float *saturation, float *lightness)
1978 *lightness=(tmax+tmin)/2.0;
1999 if (*lightness <= 0.5)
2000 *saturation=c/(2.0*(*lightness));
2002 *saturation=c/(2.0-2.0*(*lightness));
2005 inline void ConvertHSLToRGB(const float hue,const float saturation, const float lightness,
2021 if (lightness <= 0.5)
2022 c=2.0*lightness*saturation;
2024 c=(2.0-2.0*lightness)*saturation;
2025 tmin=lightness-0.5*c;
[all …]
Dfx.c1653 lightness, in FxGetSymbol() local
1657 &lightness); in FxGetSymbol()
1703 lightness, in FxGetSymbol() local
1707 &lightness); in FxGetSymbol()
1708 return(lightness); in FxGetSymbol()
1793 lightness, in FxGetSymbol() local
1797 &lightness); in FxGetSymbol()
Denhance.c3035 lightness, in ModulateHSL() local
3041 ConvertRGBToHSL(*red,*green,*blue,&hue,&saturation,&lightness); in ModulateHSL()
3048 lightness*=0.01*percent_lightness; in ModulateHSL()
3049 ConvertHSLToRGB(hue,saturation,lightness,red,green,blue); in ModulateHSL()
/external/ImageMagick/Magick++/lib/Magick++/
DColor.h298 void lightness(const double lightness_);
299 double lightness(void) const;
/external/ImageMagick/MagickWand/
Dpixel-wand.c1064 double *saturation,double *lightness) in PixelGetHSL() argument
1072 hue,saturation,lightness); in PixelGetHSL()
1967 const double saturation,const double lightness) in PixelSetHSL() argument
1978 ConvertHSLToRGB(hue,saturation,lightness,&red,&green,&blue); in PixelSetHSL()
/external/ImageMagick/PerlMagick/quantum/
Dquantum.xs.in338 {"brightness", RealReference}, {"lightness", RealReference},