Searched refs:remainder (Results 1 – 1 of 1) sorted by relevance
159 uint8_t region, remainder, p, q, t; in lv_color_hsv_to_rgb() local166 remainder = (h - (region * 43)) * 6; in lv_color_hsv_to_rgb()169 q = (v * (255 - ((s * remainder) >> 8))) >> 8; in lv_color_hsv_to_rgb()170 t = (v * (255 - ((s * (255 - remainder)) >> 8))) >> 8; in lv_color_hsv_to_rgb()