Home
last modified time | relevance | path

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

/lvgl-2.7.6/src/lv_misc/
Dlv_color.h112 # define LV_COLOR_SET_G1(c, v) (c).ch.green = (uint8_t)((v) & 0x1);
117 # define LV_COLOR_GET_G1(c) (c).ch.green
122 # define LV_COLOR_SET_G8(c, v) (c).ch.green = (uint8_t)(v) & 0x7U;
127 # define LV_COLOR_GET_G8(c) (c).ch.green
132 # define LV_COLOR_SET_G16(c, v) (c).ch.green = (uint8_t)(v) & 0x3FU;
138 # define LV_COLOR_GET_G16(c) (c).ch.green
144 # define LV_COLOR_SET_G32(c, v) (c).ch.green = (uint32_t)((v) & 0xFF);
149 # define LV_COLOR_GET_G32(c) (c).ch.green
218 uint8_t green : 1; member
227 uint8_t green : 3; member
[all …]
Dlv_color.c269 return lv_color_rgb_to_hsv(color32.ch.red, color32.ch.green, color32.ch.blue); in lv_color_to_hsv()
/lvgl-2.7.6/tests/
Dlv_test_assert.c171 c_ref.ch.red, c_ref.ch.green, c_ref.ch.blue, in lv_test_assert_color_eq()
172 c_act.ch.red, c_act.ch.green, c_act.ch.blue); in lv_test_assert_color_eq()
175 c_ref.ch.red, c_ref.ch.green, c_ref.ch.blue); in lv_test_assert_color_eq()
/lvgl-2.7.6/src/lv_draw/
Dlv_draw_blend.c954 fg.ch.green = LV_MATH_MIN(tmp, 7); in color_blend_true_color_additive()
957 tmp = bg.ch.green + fg.ch.green; in color_blend_true_color_additive()
958 fg.ch.green = LV_MATH_MIN(tmp, 63); in color_blend_true_color_additive()
967 fg.ch.green = LV_MATH_MIN(tmp, 255); in color_blend_true_color_additive()
995 tmp = bg.ch.green - fg.ch.green; in color_blend_true_color_subtractive()
996 fg.ch.green = LV_MATH_MAX(tmp, 0); in color_blend_true_color_subtractive()
Dlv_draw_label.c692 uint8_t txt_rgb[3] = {color.ch.red, color.ch.green, color.ch.blue}; in draw_letter_subpx()
726 … uint8_t bg_rgb[3] = {vdb_buf_tmp->ch.red, vdb_buf_tmp->ch.green, vdb_buf_tmp->ch.blue}; in draw_letter_subpx()
743 …res_color.ch.green = (uint32_t)((uint32_t)txt_rgb[1] * font_rgb[1] + (bg_rgb[1] * (255 - font_rgb[… in draw_letter_subpx()
745 …uint8_t green = (uint32_t)((uint32_t)txt_rgb[1] * font_rgb[1] + (bg_rgb[1] * (255 - font_rgb[1])))… in draw_letter_subpx() local
746 res_color.ch.green_h = green >> 3; in draw_letter_subpx()
747 res_color.ch.green_l = green & 0x7; in draw_letter_subpx()
Dlv_img_decoder.c423 … user_data->palette[i] = lv_color_make(cur_color.ch.red, cur_color.ch.green, cur_color.ch.blue); in lv_img_decoder_built_in_open()
438 …user_data->palette[i] = lv_color_make(palette_p[i].ch.red, palette_p[i].ch.green, palette_p[i].ch.… in lv_img_decoder_built_in_open()
/lvgl-2.7.6/src/lv_widgets/
Dlv_canvas.c455 gsum += c.ch.green; in lv_canvas_blur_hor()
473 c.ch.green = gsum / r; in lv_canvas_blur_hor()
491 gsum -= c.ch.green; in lv_canvas_blur_hor()
505 gsum += c.ch.green; in lv_canvas_blur_hor()
591 gsum += c.ch.green; in lv_canvas_blur_ver()
608 c.ch.green = gsum / r; in lv_canvas_blur_ver()
626 gsum -= c.ch.green; in lv_canvas_blur_ver()
644 gsum += c.ch.green; in lv_canvas_blur_ver()
Dlv_cpicker.c266 lv_color_rgb_to_hsv(c32.ch.red, c32.ch.green, c32.ch.blue)); in lv_cpicker_set_color()
/lvgl-2.7.6/scripts/
DDoxyfile1172 # 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300