* the saturation.
* This will be useful in the apply_lut function.
*/
- hue->hue_sin = rint(sin(hue->hue) * (1 << 16) * hue->saturation);
- hue->hue_cos = rint(cos(hue->hue) * (1 << 16) * hue->saturation);
+ hue->hue_sin = lrint(sin(hue->hue) * (1 << 16) * hue->saturation);
+ hue->hue_cos = lrint(cos(hue->hue) * (1 << 16) * hue->saturation);
}
static inline void create_luma_lut(HueContext *h)