Home
last modified time | relevance | path

Searched refs:mask_buf (Results 1 – 18 of 18) sorted by relevance

/lvgl-latest/src/draw/
Dlv_draw_mask.c29 static lv_draw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_line(lv_opa_t * mask_buf, lv_coo…
32 static lv_draw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_radius(lv_opa_t * mask_buf, lv_c…
35 static lv_draw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_angle(lv_opa_t * mask_buf, lv_co…
38 static lv_draw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_fade(lv_opa_t * mask_buf, lv_coo…
41 static lv_draw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_map(lv_opa_t * mask_buf, lv_coor…
44 static lv_draw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_polygon(lv_opa_t * mask_buf, lv_…
48 static lv_draw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ line_mask_flat(lv_opa_t * mask_buf, lv_coord_…
51 static lv_draw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ line_mask_steep(lv_opa_t * mask_buf, lv_coord…
111 lv_draw_mask_res_t LV_ATTRIBUTE_FAST_MEM lv_draw_mask_apply(lv_opa_t * mask_buf, lv_coord_t abs_x, in lv_draw_mask_apply() argument
122 res = dsc->cb(mask_buf, abs_x, abs_y, len, (void *)m->param); in lv_draw_mask_apply()
[all …]
Dlv_draw_mask.h89 typedef lv_draw_mask_res_t (*lv_draw_mask_xcb_t)(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t …
238 lv_draw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_apply(lv_opa_t * mask_buf, lv_coord_t a…
254 lv_draw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_apply_ids(lv_opa_t * mask_buf, lv_coord…
/lvgl-latest/src/draw/sdl/
Dlv_draw_sdl_mask.c49 lv_opa_t * mask_buf = lv_mem_buf_get(w * h); in lv_draw_sdl_mask_dump_opa() local
51 lv_opa_t * line_buf = &mask_buf[y * w]; in lv_draw_sdl_mask_dump_opa()
65 return mask_buf; in lv_draw_sdl_mask_dump_opa()
72 lv_opa_t * mask_buf = lv_draw_sdl_mask_dump_opa(coords, ids, ids_count); in lv_draw_sdl_mask_dump_texture() local
73 SDL_Surface * surface = lv_sdl_create_opa_surface(mask_buf, w, h, w); in lv_draw_sdl_mask_dump_texture()
74 lv_mem_buf_release(mask_buf); in lv_draw_sdl_mask_dump_texture()
Dlv_draw_sdl_rect.c673 lv_opa_t * mask_buf = lv_draw_sdl_mask_dump_opa(&mask_area_blurred, &mask_id, 1); in draw_shadow() local
674 …lv_stack_blur_grayscale(mask_buf, lv_area_get_width(&mask_area_blurred), lv_area_get_height(&mask_… in draw_shadow()
676 texture = lv_sdl_create_opa_texture(ctx->renderer, mask_buf, blur_frag_size, blur_frag_size, in draw_shadow()
678 lv_mem_buf_release(mask_buf); in draw_shadow()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_rect.c147 lv_opa_t * mask_buf = NULL; in draw_bg() local
150 mask_buf = lv_mem_buf_get(clipped_w); in draw_bg()
161 blend_dsc.mask_buf = mask_buf; in draw_bg()
224 lv_memset(mask_buf, opa, clipped_w); in draw_bg()
225 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, clipped_coords.x1, h, clipped_w); in draw_bg()
245 lv_memset(mask_buf, opa, clipped_w); in draw_bg()
246 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, blend_area.x1, top_y, clipped_w); in draw_bg()
285 blend_dsc.mask_buf = NULL; in draw_bg()
296 lv_memset(mask_buf, opa, clipped_w); in draw_bg()
297 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, clipped_coords.x1, h, clipped_w); in draw_bg()
[all …]
Dlv_draw_sw_line.c157 lv_opa_t * mask_buf = lv_mem_buf_get(blend_area_w); in draw_line_hor() local
158 blend_dsc.mask_buf = mask_buf; in draw_line_hor()
162 lv_memset_ff(mask_buf, blend_area_w); in draw_line_hor()
163 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, blend_area.x1, h, blend_area_w); in draw_line_hor()
179 mask_buf[i] = 0x00; in draw_line_hor()
192 lv_mem_buf_release(mask_buf); in draw_line_hor()
238 lv_opa_t * mask_buf = lv_mem_buf_get(draw_area_w); in draw_line_ver() local
239 blend_dsc.mask_buf = mask_buf; in draw_line_ver()
251 lv_memset_ff(mask_buf, draw_area_w); in draw_line_ver()
252 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, blend_area.x1, h, draw_area_w); in draw_line_ver()
[all …]
Dlv_draw_sw_img.c75 blend_dsc.mask_buf = (lv_opa_t *)src_buf; in lv_draw_sw_img_decoded()
89 blend_dsc.mask_buf = (lv_opa_t *)src_buf; in lv_draw_sw_img_decoded()
90 blend_dsc.mask_buf += sizeof(lv_color_t) * src_w * src_h; in lv_draw_sw_img_decoded()
125 lv_opa_t * mask_buf = lv_mem_buf_get(buf_size); in lv_draw_sw_img_decoded() local
126 blend_dsc.mask_buf = mask_buf; in lv_draw_sw_img_decoded()
145 draw_dsc, cf, rgb_buf, mask_buf); in lv_draw_sw_img_decoded()
148 … convert_cb(&transform_area, src_buf, src_w, src_h, src_w, draw_dsc, cf, rgb_buf, mask_buf); in lv_draw_sw_img_decoded()
167 lv_opa_t * mask_buf_tmp = mask_buf; in lv_draw_sw_img_decoded()
193 lv_mem_buf_release(mask_buf); in lv_draw_sw_img_decoded()
Dlv_draw_sw_letter.c262 lv_opa_t * mask_buf = lv_mem_buf_get(mask_buf_size); in draw_letter_normal() local
263 blend_dsc.mask_buf = mask_buf; in draw_letter_normal()
293 mask_buf[mask_p] = bpp_opa_table_p[letter_px]; in draw_letter_normal()
296 mask_buf[mask_p] = 0; in draw_letter_normal()
317 … blend_dsc.mask_res = lv_draw_mask_apply(mask_buf + mask_p_start, fill_area.x1, fill_area.y2, in draw_letter_normal()
320 lv_memset_00(mask_buf + mask_p_start, fill_w); in draw_letter_normal()
350 lv_mem_buf_release(mask_buf); in draw_letter_normal()
417 lv_opa_t * mask_buf = lv_mem_buf_get(mask_buf_size); in draw_letter_subpx() local
449 blend_dsc.mask_buf = mask_buf; in draw_letter_subpx()
510 … if(font_rgb[0] == 0 && font_rgb[1] == 0 && font_rgb[2] == 0) mask_buf[mask_p] = LV_OPA_TRANSP; in draw_letter_subpx()
[all …]
Dlv_draw_sw_blend.h34 … lv_opa_t * mask_buf; /**< NULL if ignored, or an alpha mask to apply on `blend_area`*/ member
Dlv_draw_sw_blend.c112 if(dsc->mask_buf == NULL) mask = NULL; in lv_draw_sw_blend_basic()
113 if(dsc->mask_buf && dsc->mask_res == LV_DRAW_MASK_RES_TRANSP) return; in lv_draw_sw_blend_basic()
115 else mask = dsc->mask_buf; in lv_draw_sw_blend_basic()
/lvgl-latest/src/draw/renesas/
Dlv_gpu_d2_draw_label.c141 lv_opa_t * mask_buf = lv_mem_buf_get(mask_buf_size); in draw_letter_normal() local
142 blend_dsc.mask_buf = mask_buf; in draw_letter_normal()
172 mask_buf[mask_p] = bpp_opa_table_p[letter_px]; in draw_letter_normal()
175 mask_buf[mask_p] = 0; in draw_letter_normal()
196 … blend_dsc.mask_res = lv_draw_mask_apply(mask_buf + mask_p_start, fill_area.x1, fill_area.y2, in draw_letter_normal()
199 lv_memset_00(mask_buf + mask_p_start, fill_w); in draw_letter_normal()
229 lv_mem_buf_release(mask_buf); in draw_letter_normal()
Dlv_gpu_d2_ra6m3.c660 …if(dsc->mask_buf == NULL && dsc->blend_mode == LV_BLEND_MODE_NORMAL && lv_area_get_size(&blend_are…
/lvgl-latest/src/draw/arm2d/
Dlv_gpu_arm2d.c511 if(dsc->mask_buf == NULL) mask = NULL; in lv_draw_arm2d_blend()
512 if(dsc->mask_buf && dsc->mask_res == LV_DRAW_MASK_RES_TRANSP) return; in lv_draw_arm2d_blend()
514 else mask = dsc->mask_buf; in lv_draw_arm2d_blend()
685 if(dsc->mask_buf == NULL) mask = NULL; in lv_draw_arm2d_blend()
686 if(dsc->mask_buf && dsc->mask_res == LV_DRAW_MASK_RES_TRANSP) return; in lv_draw_arm2d_blend()
688 else mask = dsc->mask_buf; in lv_draw_arm2d_blend()
933 blend_dsc.mask_buf = (lv_opa_t *)src_buf; in lv_draw_arm2d_img_decoded()
948 blend_dsc.mask_buf = (lv_opa_t *)src_buf; in lv_draw_arm2d_img_decoded()
949 blend_dsc.mask_buf += sizeof(lv_color_t) * src_w * src_h; in lv_draw_arm2d_img_decoded()
984 lv_opa_t * mask_buf = lv_mem_buf_get(buf_size); in lv_draw_arm2d_img_decoded() local
[all …]
/lvgl-latest/src/draw/stm32_dma2d/
Dlv_gpu_stm32_dma2d.c66 …const lv_area_t * draw_area, const lv_opa_t * mask_buf, lv_coord_t mask_stride, const lv_point_t *…
153 const lv_opa_t * mask = dsc->mask_buf; in lv_draw_stm32_dma2d_blend()
155 if(dsc->mask_buf && dsc->mask_res == LV_DRAW_MASK_RES_TRANSP) return; in lv_draw_stm32_dma2d_blend()
534 …const lv_area_t * draw_area, const lv_opa_t * mask_buf, lv_coord_t mask_stride, const lv_point_t *… in _lv_draw_stm32_dma2d_blend_paint() argument
552 DMA2D->FGMAR = (uint32_t)(mask_buf + (mask_stride * mask_offset->y) + mask_offset->x); in _lv_draw_stm32_dma2d_blend_paint()
/lvgl-latest/src/draw/nxp/pxp/
Dlv_draw_pxp.c148 if(dsc->mask_buf != NULL || dsc->blend_mode != LV_BLEND_MODE_NORMAL || in lv_draw_pxp_blend()
/lvgl-latest/src/draw/swm341_dma2d/
Dlv_gpu_swm341_dma2d.c109 …if(dsc->mask_buf == NULL && dsc->blend_mode == LV_BLEND_MODE_NORMAL && lv_area_get_size(&blend_are… in lv_draw_swm341_dma2d_blend()
/lvgl-latest/docs/porting/
Dgpu.md73 - `lv_opa_t * mask_buf` NULL if ignored, or an alpha mask to apply on `blend_area`
75 - `const lv_area_t * mask_area` The area of `mask_buf` with absolute coordinates
/lvgl-latest/src/draw/nxp/vglite/
Dlv_draw_vglite.c181 if(dsc->mask_buf == NULL && dsc->blend_mode == LV_BLEND_MODE_NORMAL && in lv_draw_vglite_blend()