/lvgl-latest/src/draw/nxp/vglite/ |
D | lv_vglite_utils.c | 85 lv_col32_premul.ch.red = (uint8_t)(((uint16_t)lv_col32.ch.red * opa) >> 8); in lv_vglite_premult_and_swizzle() 97 …*vg_col32 = ((uint32_t)lv_col32_premul.ch.red << 24) | ((uint32_t)lv_col32_premul.ch.green << 16) | in lv_vglite_premult_and_swizzle() 102 … ((uint32_t)lv_col32_premul.ch.green << 8) | (uint32_t)lv_col32_premul.ch.red; in lv_vglite_premult_and_swizzle() 105 …*vg_col32 = ((uint32_t)lv_col32_premul.ch.alpha << 24) | ((uint32_t)lv_col32_premul.ch.red << 16) | in lv_vglite_premult_and_swizzle()
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_dither.c | 57 t.ch.red = LV_CLAMP(0, tmp.ch.red + factor, 255); in lv_dither_ordered_hor() 82 t.ch.red = LV_CLAMP(0, tmp.ch.red + factor, 255); in lv_dither_ordered_ver() 115 #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() 116 … 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() 178 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 | 400 buf[2] = res_color.ch.red; in set_px_argb() 443 buf[2] = last_res_color.ch.red; in set_px_argb_blend() 960 tmp = bg.ch.red + fg.ch.red; in color_blend_true_color_additive() 962 fg.ch.red = LV_MIN(tmp, 7); in color_blend_true_color_additive() 964 fg.ch.red = LV_MIN(tmp, 31); in color_blend_true_color_additive() 966 fg.ch.red = LV_MIN(tmp, 255); in color_blend_true_color_additive() 1008 tmp = bg.ch.red - fg.ch.red; in color_blend_true_color_subtractive() 1009 fg.ch.red = LV_MAX(tmp, 0); in color_blend_true_color_subtractive() 1034 fg.ch.red = (fg.ch.red * bg.ch.red) >> 8; in color_blend_true_color_multiply() 1038 fg.ch.red = (fg.ch.red * bg.ch.red) >> 5; in color_blend_true_color_multiply() [all …]
|
D | lv_draw_sw_letter.c | 439 uint8_t txt_rgb[3] = {color.ch.red, color.ch.green, color.ch.blue}; in draw_letter_subpx() 441 uint8_t txt_rgb[3] = {color.ch.red, (color.ch.green_h << 3) + color.ch.green_l, color.ch.blue}; in draw_letter_subpx() 482 … uint8_t bg_rgb[3] = {dest_buf_tmp->ch.red, dest_buf_tmp->ch.green, dest_buf_tmp->ch.blue}; in draw_letter_subpx() 484 uint8_t bg_rgb[3] = {dest_buf_tmp->ch.red, in draw_letter_subpx() 491 …res_color.ch.red = (uint32_t)((uint16_t)txt_rgb[0] * font_rgb[2] + (bg_rgb[0] * (255 - font_rgb[2]… in draw_letter_subpx() 494 …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 | 333 lv_grad_color_t r = GRAD_CM(LV_UDIV255(two.ch.red * mix + one.ch.red * imix), in lv_gradient_calculate()
|
/lvgl-latest/src/misc/ |
D | lv_color.h | 104 # define LV_COLOR_SET_R1(c, v) (c).ch.red = (uint8_t)((v) & 0x1) 109 # define LV_COLOR_GET_R1(c) (c).ch.red 117 # define LV_COLOR_SET_R8(c, v) (c).ch.red = (uint8_t)((v) & 0x7U) 122 # define LV_COLOR_GET_R8(c) (c).ch.red 130 # define LV_COLOR_SET_R16(c, v) (c).ch.red = (uint8_t)((v) & 0x1FU) 139 # define LV_COLOR_GET_R16(c) (c).ch.red 156 # define LV_COLOR_SET_R32(c, v) (c).ch.red = (uint8_t)((v) & 0xFF) 161 # define LV_COLOR_GET_R32(c) (c).ch.red 195 uint8_t red : 1; member 203 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-latest/src/extra/libs/png/ |
D | lv_png.c | 240 c = lv_color_make(img_argb[i].ch.red, img_argb[i].ch.green, img_argb[i].ch.blue); in convert_color_depth() 241 img_c[i].ch.red = c.ch.blue; in convert_color_depth() 242 img_c[i].ch.blue = c.ch.red; in convert_color_depth() 249 c = lv_color_make(img_argb[i].ch.blue, img_argb[i].ch.green, img_argb[i].ch.red); in convert_color_depth() 259 c = lv_color_make(img_argb[i].ch.red, img_argb[i].ch.green, img_argb[i].ch.blue); in convert_color_depth() 268 b = img_argb[i].ch.red | img_argb[i].ch.green | img_argb[i].ch.blue; in convert_color_depth()
|
/lvgl-latest/docs/overview/ |
D | color.md | 15 lv_color_t c = lv_color_make(red, green, blue); 114 - `ch.red` red channel 117 - `full*` red + green + blue as one number 127 c.red = 0x38;
|
D | style.md | 10 …a default gray button and `style_btn_red` can add only a `background-color=red` to overwrite the b… 46 - `LV_STATE_FOCUSED`: red 51 3. When the object is focused the same thing happens as in pressed state and red color will be used… 52 4. When the object is focused and pressed both gray and red would work, but the pressed state has h… 60 - If you want to set a property for all states (e.g. red background color) just set it for the defa… 68 For example, create a general gray button style and create a new one for red buttons where only the… 70 This is much like in CSS when used classes are listed like `<div class=".btn .btn-red">`. 72 …r ones set earlier. So in the gray/red button example above, the normal button style should be add… 76 - the red button style defines the background color as red only in the default state 78 …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 | 23 … own dedicated part, called `LV_PART_SCROLLBAR`. For example a scrollbar can turn to red like this:
|
/lvgl-latest/src/draw/nxp/pxp/ |
D | lv_draw_pxp_blend.c | 537 LV_COLOR_SET_R(colorKeyLow, colorKey.ch.red != 0 ? colorKey.ch.red - 1 : 0); in lv_pxp_blit_cf() 542 LV_COLOR_SET_R(colorKeyHigh, colorKey.ch.red != 0x1f ? colorKey.ch.red + 1 : 0x1f); in lv_pxp_blit_cf() 546 LV_COLOR_SET_R(colorKeyHigh, colorKey.ch.red != 0xff ? colorKey.ch.red + 1 : 0xff); in lv_pxp_blit_cf()
|
/lvgl-latest/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 | 162 SDL_SetTextureColorMod(texture, color.ch.red, color.ch.green, color.ch.blue); in lv_draw_sdl_draw_letter()
|
D | lv_draw_sdl_img.c | 390 SDL_SetTextureColorMod(texture, recolor.ch.red, recolor.ch.green, recolor.ch.blue); in apply_recolor_opa()
|
/lvgl-latest/src/widgets/ |
D | lv_canvas.c | 287 rsum += c.ch.red; in lv_canvas_blur_hor() 303 c.ch.red = rsum / r; in lv_canvas_blur_hor() 323 rsum -= c.ch.red; in lv_canvas_blur_hor() 337 rsum += c.ch.red; in lv_canvas_blur_hor() 416 rsum += c.ch.red; in lv_canvas_blur_ver() 431 c.ch.red = rsum / r; in lv_canvas_blur_ver() 451 rsum -= c.ch.red; in lv_canvas_blur_ver() 469 rsum += c.ch.red; in lv_canvas_blur_ver()
|
/lvgl-latest/src/extra/libs/bmp/ |
D | lv_bmp.c | 219 c->ch.red = b2; in decoder_read_line() 231 c->ch.red = t[2]; in decoder_read_line()
|
/lvgl-latest/src/draw/renesas/ |
D | lv_gpu_d2_ra6m3.c | 190 uint8_t alpha, red, green, blue; local 193 red = color.ch.red << 3 | color.ch.red >> 2; 198 | (red) << 16UL
|
/lvgl-latest/src/draw/ |
D | lv_img_decoder.c | 438 … 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() 448 …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-latest/demos/benchmark/ |
D | README.md | 131 …es section" all the results are shown. The < 10 FPS results are shown with red, the >= 10 but < 20…
|
/lvgl-latest/docs/widgets/core/ |
D | canvas.md | 29 …lized with `lv_canvas_set_palette(canvas, 3, LV_COLOR_RED)`. It sets pixels with *index=3* to red.
|
D | btnmatrix.md | 38 - `LV_BTNMATRIX_CTRL_RECOLOR` Enable recoloring of button texts with `#`. E.g. `"It's #ff0000 red#"`
|
D | label.md | 46 In the text, you can use commands to recolor parts of the text. For example: `"Write a #ff0000 red#…
|
/lvgl-latest/docs/intro/ |
D | index.md | 147 - Be sure your display works without LVGL. E.g. paint it to red on start up. 163 … driver. Try the following code without using LVGL. You should see a square with red-blue gradient.
|
/lvgl-latest/src/hal/ |
D | lv_hal_disp.c | 717 buf_px[2] = res_color.ch.red; in set_px_true_color_alpha()
|