Home
last modified time | relevance | path

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

/lvgl-2.7.6/src/lv_misc/
Dlv_color.h143 # define LV_COLOR_SET_R32(c, v) (c).ch.red = (uint32_t)((v) & 0xFF); macro
200 # define LV_COLOR_SET_R(c, v) LV_COLOR_SET_R32(c,v)
398 LV_COLOR_SET_R32(ret, LV_COLOR_GET_R(color) * 36); /*(2^8 - 1)/(2^3 - 1) = 255/7 = 36*/ in lv_color_to32()
434 LV_COLOR_SET_R32(ret, (LV_COLOR_GET_R(color) * 263 + 7) >> 5); in lv_color_to32()