3 __kernel void gegl_hue_chroma
(__global const float4
*in
,
9 int gid
= get_global_id
(0);
10 float4 in_v
= in
[gid];
13 if (fabs (in_v.y) > EPSILON)
15 out_v.y = in_v.y + chroma;
16 out_v.z = in_v.z + hue;
24 out_v.x = in_v.x + lightness;
25 out_v.y = clamp (out_v.y, 0.f, 300.f);