/lvgl-3.7.0/src/draw/nxp/vglite/ |
D | lv_draw_vglite_blend.c | 83 static lv_res_t check_src_alignment(const lv_color_t * src_buf, lv_coord_t src_stride); 133 … const lv_color_t * src_buf, lv_area_t * src_area, lv_coord_t src_stride, 212 … const lv_color_t * src_buf, lv_area_t * src_area, lv_coord_t src_stride, in lv_gpu_nxp_vglite_blit_split() argument 216 lv_vglite_set_src_buf(src_buf, src_area, src_stride); in lv_gpu_nxp_vglite_blit_split() 220 …lv_res_t rv = lv_vglite_blit_split(dest_buf, dest_area, dest_stride, src_buf, src_area, src_stride… in lv_gpu_nxp_vglite_blit_split() 229 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride, in lv_gpu_nxp_vglite_blit() argument 232 if(check_src_alignment(src_buf, src_stride) != LV_RES_OK) in lv_gpu_nxp_vglite_blit() 236 lv_vglite_set_src_buf(src_buf, src_area, src_stride); in lv_gpu_nxp_vglite_blit() 254 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride, in lv_gpu_nxp_vglite_blit_transform() argument 259 if(check_src_alignment(src_buf, src_stride) != LV_RES_OK) in lv_gpu_nxp_vglite_blit_transform() [all …]
|
D | lv_draw_vglite_blend.h | 102 … const lv_color_t * src_buf, lv_area_t * src_area, lv_coord_t src_stride, 119 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride, 137 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride, 156 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride);
|
D | lv_draw_vglite.c | 74 … void * src_buf, lv_coord_t src_stride, const lv_area_t * src_area); 183 const lv_color_t * src_buf = dsc->src_buf; in lv_draw_vglite_blend() local 185 if(src_buf == NULL) { in lv_draw_vglite_blend() 203 … src_buf, &src_area, src_stride, dsc->opa) == LV_RES_OK); in lv_draw_vglite_blend() 205 …done = (lv_gpu_nxp_vglite_blit(&blend_area, src_buf, &src_area, src_stride, dsc->opa) == LV_RES_OK… in lv_draw_vglite_blend() 228 const lv_color_t * src_buf = (const lv_color_t *)map_p; in lv_draw_vglite_img_decoded() local 229 if(!src_buf) { in lv_draw_vglite_img_decoded() 276 … src_buf, &src_area, src_stride, dsc->opa) == LV_RES_OK); in lv_draw_vglite_img_decoded() 280 … src_buf, &src_area, src_stride, dsc) == LV_RES_OK); in lv_draw_vglite_img_decoded() 282 …done = (lv_gpu_nxp_vglite_blit(&blend_area, src_buf, &src_area, src_stride, dsc->opa) == LV_RES_OK… in lv_draw_vglite_img_decoded() [all …]
|
/lvgl-3.7.0/src/draw/sw/ |
D | lv_draw_sw_blend.c | 45 const lv_color_t * src_buf, lv_coord_t src_stride, lv_opa_t opa, 49 … lv_coord_t dest_stride, const lv_color_t * src_buf, 55 lv_coord_t dest_stride, const lv_color_t * src_buf, 63 const lv_color_t * src_buf, lv_coord_t src_stride, lv_opa_t opa, 86 if(*mask_tmp_x == LV_OPA_COVER) dest_buf[x] = src_buf[x]; \ 87 else dest_buf[x] = lv_color_mix(src_buf[x], dest_buf[x], *mask_tmp_x); \ 137 const lv_color_t * src_buf = dsc->src_buf; in lv_draw_sw_blend_basic() local 139 if(src_buf) { in lv_draw_sw_blend_basic() 141 …src_buf += src_stride * (blend_area.y1 - dsc->blend_area->y1) + (blend_area.x1 - dsc->blend_area->… in lv_draw_sw_blend_basic() 169 if(dsc->src_buf == NULL) { in lv_draw_sw_blend_basic() [all …]
|
D | lv_draw_sw_img.c | 29 static void convert_cb(const lv_area_t * dest_area, const void * src_buf, lv_coord_t src_w, lv_coor… 46 const lv_area_t * coords, const uint8_t * src_buf, in lv_draw_sw_img_decoded() argument 66 blend_dsc.src_buf = (const lv_color_t *)src_buf; in lv_draw_sw_img_decoded() 75 blend_dsc.mask_buf = (lv_opa_t *)src_buf; in lv_draw_sw_img_decoded() 77 blend_dsc.src_buf = NULL; in lv_draw_sw_img_decoded() 88 blend_dsc.src_buf = (const lv_color_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() 129 blend_dsc.src_buf = rgb_buf; in lv_draw_sw_img_decoded() 144 lv_draw_transform(draw_ctx, &transform_area, src_buf, src_w, src_h, src_w, 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() [all …]
|
D | lv_draw_sw.h | 66 … const lv_area_t * coords, const uint8_t * src_buf, 77 void * src_buf, lv_coord_t src_stride, const lv_area_t * src_area); 79 …d lv_draw_sw_transform(lv_draw_ctx_t * draw_ctx, const lv_area_t * dest_area, const void * src_buf,
|
D | lv_draw_sw.c | 83 void * src_buf, lv_coord_t src_stride, const lv_area_t * src_area) in lv_draw_sw_buffer_copy() argument 88 lv_color_t * src_bufc = src_buf; in lv_draw_sw_buffer_copy()
|
D | lv_draw_sw_blend.h | 32 …const lv_color_t * src_buf; /**< Pointer to an image to blend. If set `fill_color` is ignored … member
|
D | lv_draw_sw_transform.c | 80 …d lv_draw_sw_transform(lv_draw_ctx_t * draw_ctx, const lv_area_t * dest_area, const void * src_buf, in lv_draw_sw_transform() argument 131 …argb_no_aa(src_buf, src_w, src_h, src_stride, xs_ups, ys_ups, xs_step_256, ys_step_256, dest_w, cb… in lv_draw_sw_transform() 135 …rgb_no_aa(src_buf, src_w, src_h, src_stride, xs_ups, ys_ups, xs_step_256, ys_step_256, dest_w, cbu… in lv_draw_sw_transform() 140 …rgb565a8_no_aa(src_buf, src_w, src_h, src_stride, xs_ups, ys_ups, xs_step_256, ys_step_256, dest_w… in lv_draw_sw_transform() 148 …argb_and_rgb_aa(src_buf, src_w, src_h, src_stride, xs_ups, ys_ups, xs_step_256, ys_step_256, dest_… in lv_draw_sw_transform()
|
D | lv_draw_sw_letter.c | 448 blend_dsc.src_buf = color_buf; in draw_letter_subpx()
|
D | lv_draw_sw_rect.c | 169 blend_dsc.src_buf = grad->map + clipped_coords.x1 - bg_coords.x1; in draw_bg() 178 blend_dsc.src_buf = grad->map; in draw_bg()
|
/lvgl-3.7.0/src/draw/nxp/pxp/ |
D | lv_draw_pxp.c | 69 … void * src_buf, lv_coord_t src_stride, const lv_area_t * src_area); 157 const lv_color_t * src_buf = dsc->src_buf; in lv_draw_pxp_blend() local 159 if(src_buf == NULL) { in lv_draw_pxp_blend() 170 lv_gpu_nxp_pxp_blit(dest_buf, &blend_area, dest_stride, src_buf, &src_area, src_stride, in lv_draw_pxp_blend() 186 const lv_color_t * src_buf = (const lv_color_t *)map_p; in lv_draw_pxp_img_decoded() local 187 if(!src_buf) { in lv_draw_pxp_img_decoded() 257 … lv_gpu_nxp_pxp_blit_transform(dest_buf, &blend_area, dest_stride, src_buf, &src_area, src_stride, in lv_draw_pxp_img_decoded() 263 … void * src_buf, lv_coord_t src_stride, const lv_area_t * src_area) in lv_draw_pxp_buffer_copy() argument 268 … lv_draw_sw_buffer_copy(draw_ctx, dest_buf, dest_stride, dest_area, src_buf, src_stride, src_area); in lv_draw_pxp_buffer_copy() 272 lv_gpu_nxp_pxp_buffer_copy(dest_buf, dest_area, dest_stride, src_buf, src_area, src_stride); in lv_draw_pxp_buffer_copy()
|
D | lv_draw_pxp_blend.h | 86 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride, 103 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride, 118 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride);
|
D | lv_draw_pxp_blend.c | 92 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride, 109 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride, 126 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride, 210 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride, in lv_gpu_nxp_pxp_blit() argument 271 .bufferAddr = (uint32_t)(src_buf + src_stride * src_area->y1 + src_area->x1), in lv_gpu_nxp_pxp_blit() 295 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride, in lv_gpu_nxp_pxp_blit_transform() argument 303 … lv_pxp_blit_cover(dest_buf, dest_area, dest_stride, src_buf, src_area, src_stride, dsc, cf); in lv_gpu_nxp_pxp_blit_transform() 308 … lv_pxp_blit_opa(dest_buf, dest_area, dest_stride, src_buf, src_area, src_stride, dsc, cf); in lv_gpu_nxp_pxp_blit_transform() 313 lv_pxp_blit_cf(dest_buf, dest_area, dest_stride, src_buf, src_area, src_stride, dsc, cf); in lv_gpu_nxp_pxp_blit_transform() 317 … const lv_color_t * src_buf, const lv_area_t * src_area, lv_coord_t src_stride) in lv_gpu_nxp_pxp_buffer_copy() argument [all …]
|
/lvgl-3.7.0/src/draw/arm2d/ |
D | lv_gpu_arm2d.c | 173 const uint8_t * src_buf_tmp = src_buf; \ 229 const lv_color_t * src_buf = (__dsc)->src_buf; \ 230 if (src_buf) { \ 239 .phwBuffer = (uint16_t *)src_buf, \ 310 lv_memcpy(rgb_tmp_buf, src_buf, src_w * src_h * sizeof(lv_color_t));\ 324 src_buf = (const uint8_t *)rgb_tmp_buf; \ 333 src_buf = src_buf_org; 347 lv_memcpy(rgb_tmp_buf, src_buf, src_w * src_h * sizeof(lv_color_t));\ 361 src_buf = (const uint8_t *)rgb_tmp_buf; \ 371 src_buf = src_buf_org; [all …]
|
/lvgl-3.7.0/src/draw/swm341_dma2d/ |
D | lv_gpu_swm341_dma2d.c | 48 … const lv_color_t * src_buf, lv_coord_t src_stride, lv_opa_t opa); 115 const lv_color_t * src_buf = dsc->src_buf; in lv_draw_swm341_dma2d_blend() local 116 if(src_buf) { in lv_draw_swm341_dma2d_blend() 120 …src_buf += src_stride * (blend_area.y1 - dsc->blend_area->y1) + (blend_area.x1 - dsc->blend_area->… in lv_draw_swm341_dma2d_blend() 122 … lv_draw_swm341_dma2d_blend_map(dest_buf, &blend_area, dest_stride, src_buf, src_stride, dsc->opa); in lv_draw_swm341_dma2d_blend() 171 … const lv_color_t * src_buf, lv_coord_t src_stride, lv_opa_t opa) in lv_draw_swm341_dma2d_blend_map() argument 181 DMA2D->L[DMA2D_LAYER_FG].MAR = (uint32_t)src_buf; in lv_draw_swm341_dma2d_blend_map() 197 memcpy(temp_buf, &src_buf[y * src_stride], dest_w * sizeof(lv_color_t)); in lv_draw_swm341_dma2d_blend_map() 203 DMA2D->L[DMA2D_LAYER_FG].MAR = (uint32_t)src_buf; in lv_draw_swm341_dma2d_blend_map()
|
/lvgl-3.7.0/src/draw/stm32_dma2d/ |
D | lv_gpu_stm32_dma2d.c | 52 … void * src_buf, lv_coord_t src_stride, const lv_area_t * src_area); 54 … const lv_area_t * coords, const uint8_t * src_buf, lv_img_cf_t color_format); 63 …const lv_area_t * draw_area, const void * src_buf, lv_coord_t src_stride, const lv_point_t * src_o… 138 if(dsc->src_buf) { in lv_draw_stm32_dma2d_blend() 168 if(dsc->src_buf == NULL) { // 93.5% in lv_draw_stm32_dma2d_blend() 185 lv_color_t * src_buf = (lv_color_t *)dsc->src_buf; in lv_draw_stm32_dma2d_blend() local 186 src_buf += (src_stride * src_offset.y) + src_offset.x; in lv_draw_stm32_dma2d_blend() 192 (*src_buf).ch.alpha = *mask; in lv_draw_stm32_dma2d_blend() 193 src_buf++; in lv_draw_stm32_dma2d_blend() 197 src_buf += src_buffer_offset; in lv_draw_stm32_dma2d_blend() [all …]
|
D | lv_gpu_stm32_dma2d.h | 61 …const lv_area_t * draw_area, const lv_color_t * src_buf, lv_coord_t src_stride, const lv_point_t *…
|
/lvgl-3.7.0/src/draw/ |
D | lv_draw_transform.c | 37 void lv_draw_transform(lv_draw_ctx_t * draw_ctx, const lv_area_t * dest_area, const void * src_buf,… in lv_draw_transform() argument 47 …draw_ctx->draw_transform(draw_ctx, dest_area, src_buf, src_w, src_h, src_stride, draw_dsc, cf, cbu… in lv_draw_transform()
|
D | lv_draw.h | 110 …raw_transform)(struct _lv_draw_ctx_t * draw_ctx, const lv_area_t * dest_area, const void * src_buf, 140 void * src_buf, lv_coord_t src_stride, const lv_area_t * src_area);
|
D | lv_draw_transform.h | 32 …draw_transform(struct _lv_draw_ctx_t * draw_ctx, const lv_area_t * dest_area, const void * src_buf,
|
/lvgl-3.7.0/src/draw/renesas/ |
D | lv_gpu_d2_ra6m3.c | 483 static void lv_port_gpu_blit_internal(const lv_area_t * dest_area, const lv_color_t * src_buf, argument 513 D2_EXEC(d2_setblitsrc(_d2_handle, (void *) src_buf, pitch, w, h, src_cf_val)); 531 D2_EXEC(d2_settexture(_d2_handle, (void *) src_buf, pitch, w, h, src_cf_val)); 665 const lv_color_t * src_buf = dsc->src_buf; local 666 if(src_buf) { 675 lv_port_ra_gpu_blit(dest_buf, &blend_area, dest_stride, src_buf, &src_area, dsc->opa);
|
/lvgl-3.7.0/docs/porting/ |
D | gpu.md | 70 …area` The area with absolute coordinates to draw on `draw_ctx->buf`. If `src_buf` is set, it's the… 71 - `const lv_color_t * src_buf` Pointer to an image to blend. If set, `color` is ignored. If not set… 72 - `lv_color_t color` Fill color. Used only if `src_buf == NULL` 131 if(dsc->src_buf == NULL && dsc->mask == NULL && dsc->opa >= LV_OPA_MAX &&
|