Home
last modified time | relevance | path

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

/external/ImageMagick/coders/
Dsixel.c149 static int hue_to_rgb(int n1, int n2, int hue) in hue_to_rgb() function
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()
/external/skqp/src/opts/
DSkRasterPipeline_opts.h1416 auto hue_to_rgb = [&](F t) { in STAGE()
1426 r = if_then_else(s == 0, l, hue_to_rgb(h + (1/3.0f))); in STAGE()
1427 g = if_then_else(s == 0, l, hue_to_rgb(h )); in STAGE()
1428 b = if_then_else(s == 0, l, hue_to_rgb(h - (1/3.0f))); in STAGE()
/external/skia/src/opts/
DSkRasterPipeline_opts.h1701 auto hue_to_rgb = [&](F hue) { in STAGE()
1706 r = hue_to_rgb(h + 0.0f/3.0f); in STAGE()
1707 g = hue_to_rgb(h + 2.0f/3.0f); in STAGE()
1708 b = hue_to_rgb(h + 1.0f/3.0f); in STAGE()
/external/skia/src/core/
DSkVM.cpp1318 auto hue_to_rgb = [&,l=l](auto hue) { in to_rgba() local
1324 hue_to_rgb(h + 0/3.0f), in to_rgba()
1325 hue_to_rgb(h + 2/3.0f), in to_rgba()
1326 hue_to_rgb(h + 1/3.0f), in to_rgba()