Searched refs:LV_COLOR_SET_R32 (Results 1 – 1 of 1) sorted by relevance
143 # define LV_COLOR_SET_R32(c, v) (c).ch.red = (uint32_t)((v) & 0xFF); macro200 # 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()