Home
last modified time | relevance | path

Searched refs:full (Results 1 – 25 of 55) sorted by relevance

123

/lvgl-latest/src/misc/
Dlv_color.h191 uint8_t full; /*must be declared first to set all bits of byte via initializer list*/ member
205 uint8_t full; member
221 uint16_t full; member
231 uint32_t full; member
301 return color.full; in lv_color_to1()
329 if(color.full == 0) in lv_color_to8()
334 return color.full; in lv_color_to8()
340 return ret.full; in lv_color_to8()
346 return ret.full; in lv_color_to8()
353 if(color.full == 0) in lv_color_to16()
[all …]
Dlv_color.c46 uint32_t c32 = (uint32_t)color.full + ((uint32_t)color.full << 16); in lv_color_fill()
270 color32.full = lv_color_to32(color); in lv_color_to_hsv()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_transform.c186 cbuf[x].full = src_tmp[0]; in rgb_no_aa()
194 cbuf[x].full = *((uint32_t *)src_tmp); in rgb_no_aa()
197 if(cf == LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED && cbuf[x].full == ck.full) { in rgb_no_aa()
225 cbuf[x].full = src_tmp[0]; in argb_no_aa()
227 cbuf[x].full = src_tmp[0] + (src_tmp[1] << 8); in argb_no_aa()
229 cbuf[x].full = *((uint32_t *)src_tmp); in argb_no_aa()
373 if(((lv_color_t *)px_base)->full == ck.full || in argb_and_rgb_aa()
374 ((lv_color_t *)px_ver)->full == ck.full || in argb_and_rgb_aa()
375 ((lv_color_t *)px_hor)->full == ck.full) { in argb_and_rgb_aa()
398 c_base.full = px_base[0]; in argb_and_rgb_aa()
[all …]
Dlv_draw_sw_blend.c279 if(last_dest_color.full != dest_buf[x].full) { in fill_normal()
292 uint32_t c32 = color.full + ((uint32_t)color.full << 16); in fill_normal()
351 last_dest_color.full = dest_buf[0].full; in fill_normal()
352 last_res_color.full = dest_buf[0].full; in fill_normal()
360 if(*mask != last_mask || last_dest_color.full != dest_buf[x].full) { in fill_normal()
364 last_dest_color.full = dest_buf[x].full; in fill_normal()
384 bg_color.full = buf[0]; in set_px_argb()
387 buf[0] = res_color.full; in set_px_argb()
389 bg_color.full = buf[0] + (buf[1] << 8); in set_px_argb()
392 buf[0] = res_color.full & 0xff; in set_px_argb()
[all …]
Dlv_draw_sw_dither.c25 grad->map[i] = lv_color_hex(grad->hmap[i].full); in lv_dither_none()
61 grad->map[j] = lv_color_hex(t.full); in lv_dither_ordered_hor()
86 grad->map[j] = lv_color_hex(t.full); in lv_dither_ordered_ver()
116 #define FS_QUANT_ERROR(e, t, q) { lv_color32_t u; u.full = lv_color_to32(q); e.r = (int8_t)(t.ch.re… in lv_dither_err_diff_hor()
119 grad->map[0] = lv_color_hex(grad->hmap[0].full); in lv_dither_err_diff_hor()
127 q = lv_color_hex(t.full); in lv_dither_err_diff_hor()
151 grad->map[grad->size - 1] = lv_color_hex(grad->hmap[grad->size - 1].full); in lv_dither_err_diff_hor()
185 grad->map[0] = lv_color_hex(grad->hmap[y].full); in lv_dither_err_diff_ver()
189 lv_color_t tmp = lv_color_hex(grad->hmap[y].full); in lv_dither_err_diff_ver()
193 grad->map[0] = lv_color_hex(t.full); in lv_dither_err_diff_ver()
[all …]
Dlv_draw_sw_img.c236 uint8_t chk_v = chk.full; in convert_cb()
239 uint16_t chk_v = chk.full; in convert_cb()
242 uint32_t chk_v = chk.full; in convert_cb()
261 cbuf[x].full = *src_tmp8; in convert_cb()
263 cbuf[x].full = *src_tmp8 + ((*(src_tmp8 + 1)) << 8); in convert_cb()
/lvgl-latest/tests/unity/
Dunity_support.h34 …define TEST_ASSERT_EQUAL_COLOR(c1, c2) TEST_ASSERT_EQUAL_UINT32(c1.full, c2.full)
35 …SSERT_EQUAL_COLOR_MESSAGE(c1, c2, msg) TEST_ASSERT_EQUAL_UINT32_MESSAGE(c1.full, c2.full, msg)
/lvgl-latest/tests/src/test_cases/
Dtest_style.c80 …EST_ASSERT_EQUAL_HEX(lv_color_hex(0xff0000).full, lv_obj_get_style_text_color(grandchild, LV_PART_… in test_inherit_meta()
106 …EST_ASSERT_EQUAL_HEX(lv_color_hex(0xff0000).full, lv_obj_get_style_text_color(grandchild, LV_PART_… in test_inherit_meta_with_lower_precedence_style()
/lvgl-latest/examples/widgets/canvas/
Dlv_example_canvas_2.c28 c0.full = 0; in lv_example_canvas_2()
29 c1.full = 1; in lv_example_canvas_2()
Dlv_example_canvas_2.py34 c0.full = 0
35 c1.full = 1
/lvgl-latest/docs/overview/
Dcolor.md82 // Mix two colors with a given ratio 0: full c2, 255: full c1, 128: half c1 and half c2
96 - `LV_OPA_COVER` Value: 255, means the color completely covers (full opacity)
117 - `full*` red + green + blue as one number
123 …er. The converter functions return with a number, so you have to use the `full` field to map a con…
132 c1.full = lv_color_to1(c); /*Return 1 for light colors, 0 for dark colors*/
135 c8.full = lv_color_to8(c); /*Give a 8 bit number with the converted color*/
138 c16.full = lv_color_to16(c); /*Give a 16 bit number with the converted color*/
141 c32.full = lv_color_to32(c); /*Give a 32 bit number with the converted color*/
/lvgl-latest/src/draw/
Dlv_img_buf.c64 p_color.full = (buf_u8[px] & (1 << (7 - bit))) >> (7 - bit); in lv_img_buf_get_px_color()
75 p_color.full = (buf_u8[px] & (3 << (6 - bit))) >> (6 - bit); in lv_img_buf_get_px_color()
86 p_color.full = (buf_u8[px] & (0xF << (4 - bit))) >> (4 - bit); in lv_img_buf_get_px_color()
91 p_color.full = buf_u8[px]; in lv_img_buf_get_px_color()
231 buf_u8[px] = buf_u8[px] | ((c.full & 0x1) << (7 - bit)); in lv_img_buf_set_px_color()
244 buf_u8[px] = buf_u8[px] | ((c.full & 0x3) << (6 - bit)); in lv_img_buf_set_px_color()
256 buf_u8[px] = buf_u8[px] | ((c.full & 0xF) << (4 - bit)); in lv_img_buf_set_px_color()
261 buf_u8[px] = c.full; in lv_img_buf_set_px_color()
274 c32.full = lv_color_to32(c); in lv_img_buf_set_palette()
Dlv_img_decoder.c576 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE] = bg_color.full; in lv_img_decoder_built_in_line_alpha()
579 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE] = bg_color.full & 0xFF; in lv_img_decoder_built_in_line_alpha()
580 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE + 1] = (bg_color.full >> 8) & 0xFF; in lv_img_decoder_built_in_line_alpha()
582 *((uint32_t *)&buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE]) = bg_color.full; in lv_img_decoder_built_in_line_alpha()
710 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE] = color.full; in lv_img_decoder_built_in_line_indexed()
713 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE] = color.full & 0xFF; in lv_img_decoder_built_in_line_indexed()
714 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE + 1] = (color.full >> 8) & 0xFF; in lv_img_decoder_built_in_line_indexed()
716 *((uint32_t *)&buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE]) = color.full; in lv_img_decoder_built_in_line_indexed()
Dlv_img_cache.c85 if(color.full == cache[i].dec_dsc.color.full && in _lv_img_cache_open()
/lvgl-latest/src/draw/arm2d/
Dlv_gpu_arm2d.c320 (color_int)draw_dsc->recolor.full, \
357 (color_int)draw_dsc->recolor.full, \
563 result = arm_2d_fill_colour(target_tile, region, color.full); in lv_draw_arm2d_fill_colour()
573 color.full in lv_draw_arm2d_fill_colour()
587 color.full in lv_draw_arm2d_fill_colour()
599 color.full in lv_draw_arm2d_fill_colour()
786 color.full); in arm_2d_fill_normal()
793 color.full, in arm_2d_fill_normal()
806 color.full); in arm_2d_fill_normal()
815 color.full, in arm_2d_fill_normal()
[all …]
/lvgl-latest/scripts/
Dinstall-prerequisites.sh9 sudo apt install gcc python3 libpng-dev ruby-full gcovr cmake
/lvgl-latest/src/extra/libs/gif/
Dgifdec.c149 gif->canvas[i*3 + 0] = c.full & 0xff; in gif_open()
150 gif->canvas[i*3 + 1] = (c.full >> 8) & 0xff; in gif_open()
154 gif->canvas[i*2 + 0] = c.full; in gif_open()
508 buffer[(i+k)*3 + 0] = c.full & 0xff; in render_frame_rect()
509 buffer[(i+k)*3 + 1] = (c.full >> 8) & 0xff; in render_frame_rect()
513 buffer[(i+k)*2 + 0] = c.full; in render_frame_rect()
548 gif->canvas[(i+k)*3 + 0] = c.full & 0xff; in dispose()
549 gif->canvas[(i+k)*3 + 1] = (c.full >> 8) & 0xff; in dispose()
553 gif->canvas[(i+k)*2 + 0] = c.full; in dispose()
/lvgl-latest/src/draw/sdl/
Dlv_draw_sdl_rect.h91 … const lv_area_t * coords, const lv_area_t * clip, bool full);
Dlv_draw_sdl_rect.c102 const lv_area_t * coords, const lv_area_t * clipped, bool full);
105 const lv_area_t * coords, const lv_area_t * clipped, bool full);
283 … const lv_area_t * coords, const lv_area_t * clip, bool full) in lv_draw_sdl_rect_bg_frag_draw_corners() argument
309 if(full) { in lv_draw_sdl_rect_bg_frag_draw_corners()
328 if(full) { in lv_draw_sdl_rect_bg_frag_draw_corners()
347 if(full) { in lv_draw_sdl_rect_bg_frag_draw_corners()
833 const lv_area_t * coords, const lv_area_t * clipped, bool full) in frag_render_borders() argument
846 if(full) { in frag_render_borders()
863 if(full) { in frag_render_borders()
885 if(full) { in frag_render_borders()
[all …]
/lvgl-latest/src/extra/libs/png/
Dlv_png.c251 img[i * 3 + 1] = c.full >> 8; in convert_color_depth()
252 img[i * 3 + 0] = c.full & 0xFF; in convert_color_depth()
261 img[i * 2 + 0] = c.full; in convert_color_depth()
/lvgl-latest/src/extra/libs/qrcode/
Dlv_qrcode.c82 c.full = 1; in lv_qrcode_update()
144 c.full = a ? 0 : 1; in lv_qrcode_update()
/lvgl-latest/src/draw/nxp/vglite/
Dlv_draw_vglite_rect.c132 … col32[i].full = lv_color_to32(dsc->bg_grad.stops[i].color); /*Convert color to RGBA8888*/ in lv_gpu_nxp_vglite_draw_bg()
164 lv_color32_t bg_col32 = {.full = lv_color_to32(dsc->bg_color)}; /*Convert color to RGBA8888*/ in lv_gpu_nxp_vglite_draw_bg()
247 col32.full = lv_color_to32(dsc->border_color); /*Convert color to RGBA8888*/ in lv_gpu_nxp_vglite_draw_border_generic()
252 col32.full = lv_color_to32(dsc->outline_color); /*Convert color to RGBA8888*/ in lv_gpu_nxp_vglite_draw_border_generic()
/lvgl-latest/src/hal/
Dlv_hal_disp.c701 bg_color.full = buf_px[0]; in set_px_true_color_alpha()
704 buf_px[0] = res_color.full; in set_px_true_color_alpha()
706 bg_color.full = buf_px[0] + (buf_px[1] << 8); in set_px_true_color_alpha()
709 buf_px[0] = res_color.full & 0xff; in set_px_true_color_alpha()
710 buf_px[1] = res_color.full >> 8; in set_px_true_color_alpha()
/lvgl-latest/docs/porting/
Ddisplay.md52 … link. The latter will generally be too slow to maintain high frame rates with full screen redraws.
89 …_hor_res` horizontal resolution of the full / physical display in pixels. Only set this when _not_…
90 …al_ver_res` vertical resolution of the full / physical display in pixels. Only set this when _not_…
91 … `offset_x` horizontal offset from the full / physical display in pixels. Only set this when _not_…
92 - `offset_y` vertical offset from the full / physical display in pixels. Only set this when _not_ u…
/lvgl-latest/src/widgets/
Dlv_canvas.c494 lv_memset((uint8_t *)dsc->data + 8, color.full ? 0xff : 0x00, row_byte_cnt * dsc->header.h); in lv_canvas_fill_bg()
539 draw_dsc->bg_color.full == ctransp.full) { in lv_canvas_draw_rect()
662 draw_dsc->color.full == ctransp.full) { in lv_canvas_draw_line()
703 draw_dsc->bg_color.full == ctransp.full) { in lv_canvas_draw_polygon()

123