Home
last modified time | relevance | path

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

/external/ImageMagick/coders/
Dsixel.c177 const int RGBMAX = 255; in hls_to_rgb() local
181 R = G = B = (lum * RGBMAX) / HLSMAX; in hls_to_rgb()
190 R = (hue_to_rgb(Magic1, Magic2, hue + (HLSMAX / 3)) * RGBMAX + (HLSMAX / 2)) / HLSMAX; in hls_to_rgb()
191 G = (hue_to_rgb(Magic1, Magic2, hue) * RGBMAX + (HLSMAX / 2)) / HLSMAX; in hls_to_rgb()
192 B = (hue_to_rgb(Magic1, Magic2, hue - (HLSMAX / 3)) * RGBMAX + (HLSMAX/2)) / HLSMAX; in hls_to_rgb()