Home
last modified time | relevance | path

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

/lvgl-latest/src/misc/
Dlv_color.c159 uint8_t region, remainder, p, q, t; in lv_color_hsv_to_rgb() local
166 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()