/lvgl-3.4.0/src/draw/sw/ |
D | lv_draw_sw_dither.c | 59 t.ch.red = LV_CLAMP(0, tmp.ch.red + factor, 255); in lv_dither_ordered_hor() 83 t.ch.red = LV_CLAMP(0, tmp.ch.red + factor, 255); in lv_dither_ordered_ver() 117 #define FS_COMPONENTS(A, OP, B, C) A.ch.red = LV_CLAMP(0, A.ch.red OP B.r OP C.r, 255); A.ch.green … in lv_dither_err_diff_hor() 118 … q) { lv_color32_t u; u.full = lv_color_to32(q); e.r = (int8_t)(t.ch.red - u.ch.red); e.g = (int8_… in lv_dither_err_diff_hor() 180 A.ch.red = LV_CLAMP(0, A.ch.red OP ((B.r * b OP C.r * c OP D.r * d) >> 4), 255); \ in lv_dither_err_diff_ver()
|
D | lv_draw_sw_blend.c | 664 tmp = bg.ch.red + fg.ch.red; in color_blend_true_color_additive() 666 fg.ch.red = LV_MIN(tmp, 7); in color_blend_true_color_additive() 668 fg.ch.red = LV_MIN(tmp, 31); in color_blend_true_color_additive() 670 fg.ch.red = LV_MIN(tmp, 255); in color_blend_true_color_additive() 712 tmp = bg.ch.red - fg.ch.red; in color_blend_true_color_subtractive() 713 fg.ch.red = LV_MAX(tmp, 0); in color_blend_true_color_subtractive() 738 fg.ch.red = (fg.ch.red * bg.ch.red) >> 8; in color_blend_true_color_multiply() 742 fg.ch.red = (fg.ch.red * bg.ch.red) >> 5; in color_blend_true_color_multiply() 746 fg.ch.red = (fg.ch.red * bg.ch.red) >> 3; in color_blend_true_color_multiply()
|
D | lv_draw_sw_letter.c | 405 uint8_t txt_rgb[3] = {color.ch.red, color.ch.green, color.ch.blue}; in draw_letter_subpx() 407 uint8_t txt_rgb[3] = {color.ch.red, (color.ch.green_h << 3) + color.ch.green_l, color.ch.blue}; in draw_letter_subpx() 448 … uint8_t bg_rgb[3] = {dest_buf_tmp->ch.red, dest_buf_tmp->ch.green, dest_buf_tmp->ch.blue}; in draw_letter_subpx() 450 uint8_t bg_rgb[3] = {dest_buf_tmp->ch.red, in draw_letter_subpx() 458 …res_color.ch.red = (uint32_t)((uint32_t)txt_rgb[2] * font_rgb[2] + (bg_rgb[2] * (255 - font_rgb[2]… in draw_letter_subpx() 460 …res_color.ch.red = (uint32_t)((uint16_t)txt_rgb[0] * font_rgb[0] + (bg_rgb[0] * (255 - font_rgb[0]… in draw_letter_subpx()
|
D | lv_draw_sw_gradient.c | 342 lv_grad_color_t r = GRAD_CM(LV_UDIV255(two.ch.red * mix + one.ch.red * imix), in lv_gradient_calculate()
|
/lvgl-3.4.0/src/extra/libs/png/ |
D | lv_png.c | 210 c = lv_color_make(img_argb[i].ch.red, img_argb[i].ch.green, img_argb[i].ch.blue); in convert_color_depth() 211 img_c[i].ch.red = c.ch.blue; in convert_color_depth() 212 img_c[i].ch.blue = c.ch.red; in convert_color_depth() 219 c = lv_color_make(img_argb[i].ch.blue, img_argb[i].ch.green, img_argb[i].ch.red); in convert_color_depth() 229 c = lv_color_make(img_argb[i].ch.red, img_argb[i].ch.green, img_argb[i].ch.blue); in convert_color_depth() 238 b = img_argb[i].ch.red | img_argb[i].ch.green | img_argb[i].ch.blue; in convert_color_depth()
|
/lvgl-3.4.0/src/misc/ |
D | lv_color.h | 108 # define LV_COLOR_SET_R1(c, v) (c).ch.red = (uint8_t)((v) & 0x1) 113 # define LV_COLOR_GET_R1(c) (c).ch.red 121 # define LV_COLOR_SET_R8(c, v) (c).ch.red = (uint8_t)((v) & 0x7U) 126 # define LV_COLOR_GET_R8(c) (c).ch.red 134 # define LV_COLOR_SET_R16(c, v) (c).ch.red = (uint8_t)((v) & 0x1FU) 143 # define LV_COLOR_GET_R16(c) (c).ch.red 160 # define LV_COLOR_SET_R32(c, v) (c).ch.red = (uint8_t)((v) & 0xFF) 165 # define LV_COLOR_GET_R32(c) (c).ch.red 199 uint8_t red : 1; member 207 uint8_t red : 3; member [all …]
|
D | lv_color.c | 271 return lv_color_rgb_to_hsv(color32.ch.red, color32.ch.green, color32.ch.blue); in lv_color_to_hsv()
|
/lvgl-3.4.0/zephyr/ |
D | lvgl_display_24bit.c | 41 mix_color.ch.red = *buf_xy; in lvgl_set_px_cb_24bit() 49 *buf_xy = converted_color.ch.red; in lvgl_set_px_cb_24bit()
|
/lvgl-3.4.0/docs/overview/ |
D | color.md | 19 lv_color_t c = lv_color_make(red, green, blue); 118 - `ch.red` red channel 121 - `full*` red + green + blue as one number 131 c.red = 0x38;
|
D | style.md | 14 …a default gray button and `style_btn_red` can add only a `background-color=red` to overwrite the b… 50 - `LV_STATE_FOCUSED`: red 55 3. When the object is focused the same thing happens as in pressed state and red color will be used… 56 4. When the object is focused and pressed both gray and red would work, but the pressed state has h… 64 - If you want to set a property for all states (e.g. red background color) just set it for the defa… 72 For example, create a general gray button style and create a new one for red buttons where only the… 74 This is much like in CSS when used classes are listed like `<div class=".btn .btn-red">`. 76 …r ones set earlier. So in the gray/red button example above, the normal button style should be add… 80 - the red button style defines the background color as red only in the default state 82 …sed (it's in default state) it will be red because a perfect match is found in the most recently a… [all …]
|
D | scroll.md | 27 … own dedicated part, called `LV_PART_SCROLLBAR`. For example a scrollbar can turn to red like this:
|
/lvgl-3.4.0/src/draw/sdl/ |
D | lv_draw_sdl_utils.c | 82 out->r = in->ch.red; in lv_color_to_sdl_color() 89 out->r = color32_t->ch.red; in lv_color_to_sdl_color()
|
D | lv_draw_sdl_label.c | 137 SDL_SetTextureColorMod(texture, color.ch.red, color.ch.green, color.ch.blue); in lv_draw_sdl_draw_letter()
|
D | lv_draw_sdl_img.c | 365 SDL_SetTextureColorMod(texture, recolor.ch.red, recolor.ch.green, recolor.ch.blue); in apply_recolor_opa()
|
/lvgl-3.4.0/src/extra/libs/bmp/ |
D | lv_bmp.c | 213 c->ch.red = b2; in decoder_read_line() 225 c->ch.red = t[2]; in decoder_read_line()
|
/lvgl-3.4.0/src/widgets/ |
D | lv_canvas.c | 326 rsum += c.ch.red; in lv_canvas_blur_hor() 342 c.ch.red = rsum / r; in lv_canvas_blur_hor() 362 rsum -= c.ch.red; in lv_canvas_blur_hor() 376 rsum += c.ch.red; in lv_canvas_blur_hor() 455 rsum += c.ch.red; in lv_canvas_blur_ver() 470 c.ch.red = rsum / r; in lv_canvas_blur_ver() 490 rsum -= c.ch.red; in lv_canvas_blur_ver() 508 rsum += c.ch.red; in lv_canvas_blur_ver()
|
/lvgl-3.4.0/demos/benchmark/ |
D | README.md | 46 …es section" all the results are shown. The < 10 FPS results are shown with red, the >= 10 but < 20…
|
/lvgl-3.4.0/src/draw/ |
D | lv_img_decoder.c | 411 … 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() 421 …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-3.4.0/src/draw/nxp_vglite/ |
D | lv_gpu_nxp_vglite.c | 211 colMix.ch.red = (uint8_t)(((uint16_t)col32.ch.red * opa) >> 8); /*Pre-multiply color*/ in lv_gpu_nxp_vglite_fill()
|
/lvgl-3.4.0/docs/widgets/core/ |
D | canvas.md | 33 …lized with `lv_canvas_set_palette(canvas, 3, LV_COLOR_RED)`. It sets pixels with *index=3* to red.
|
D | btnmatrix.md | 42 - `LV_BTNMATRIX_CTRL_RECOLOR` Enable recoloring of button texts with `#`. E.g. `"It's #ff0000 red#"`
|
D | label.md | 50 In the text, you can use commands to recolor parts of the text. For example: `"Write a #ff0000 red#…
|
/lvgl-3.4.0/docs/intro/ |
D | index.md | 154 - Be sure your display works without LVGL. E.g. paint it to red on start up. 170 … driver. Try the following code without using LVGL. You should see a square with red-blue gradient.
|
/lvgl-3.4.0/src/extra/widgets/colorwheel/ |
D | lv_colorwheel.c | 128 return lv_colorwheel_set_hsv(obj, lv_color_rgb_to_hsv(c32.ch.red, c32.ch.green, c32.ch.blue)); in lv_colorwheel_set_rgb()
|
/lvgl-3.4.0/docs/get-started/ |
D | quick-overview.md | 223 … button appearance, and `style_btn_red` can overwrite the background color to make the button red:
|