Lines Matching refs:blend_area
26 static void fill_set_px(lv_color_t * dest_buf, const lv_area_t * blend_area, lv_coord_t dest_stride,
100 lv_area_t blend_area; in lv_draw_sw_blend() local
101 if(!_lv_area_intersect(&blend_area, dsc->blend_area, draw_ctx->clip_area)) return; in lv_draw_sw_blend()
119 lv_area_t blend_area; in lv_draw_sw_blend_basic() local
120 if(!_lv_area_intersect(&blend_area, dsc->blend_area, draw_ctx->clip_area)) return; in lv_draw_sw_blend_basic()
126 …dest_buf += dest_stride * (blend_area.y1 - draw_ctx->buf_area->y1) + (blend_area.x1 - draw_ctx->bu… in lv_draw_sw_blend_basic()
131 … dest_buf8 += dest_stride * (blend_area.y1 - draw_ctx->buf_area->y1) * LV_IMG_PX_SIZE_ALPHA_BYTE; in lv_draw_sw_blend_basic()
132 dest_buf8 += (blend_area.x1 - draw_ctx->buf_area->x1) * LV_IMG_PX_SIZE_ALPHA_BYTE; in lv_draw_sw_blend_basic()
140 src_stride = lv_area_get_width(dsc->blend_area); 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()
159 … mask += mask_stride * (blend_area.y1 - dsc->mask_area->y1) + (blend_area.x1 - dsc->mask_area->x1); in lv_draw_sw_blend_basic()
166 lv_area_move(&blend_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_sw_blend_basic()
170 … fill_set_px(dest_buf, &blend_area, dest_stride, dsc->color, dsc->opa, mask, mask_stride); in lv_draw_sw_blend_basic()
173 … map_set_px(dest_buf, &blend_area, dest_stride, src_buf, src_stride, dsc->opa, mask, mask_stride); in lv_draw_sw_blend_basic()
179 fill_argb(dest_buf, &blend_area, dest_stride, dsc->color, dsc->opa, mask, mask_stride); in lv_draw_sw_blend_basic()
182 …map_argb(dest_buf, &blend_area, dest_stride, src_buf, src_stride, dsc->opa, mask, mask_stride, dsc… in lv_draw_sw_blend_basic()
188 … fill_normal(dest_buf, &blend_area, dest_stride, dsc->color, dsc->opa, mask, mask_stride); in lv_draw_sw_blend_basic()
191 … map_normal(dest_buf, &blend_area, dest_stride, src_buf, src_stride, dsc->opa, mask, mask_stride); in lv_draw_sw_blend_basic()
197 …fill_blended(dest_buf, &blend_area, dest_stride, dsc->color, dsc->opa, mask, mask_stride, dsc->ble… in lv_draw_sw_blend_basic()
200 …map_blended(dest_buf, &blend_area, dest_stride, src_buf, src_stride, dsc->opa, mask, mask_stride, … in lv_draw_sw_blend_basic()
210 static void fill_set_px(lv_color_t * dest_buf, const lv_area_t * blend_area, lv_coord_t dest_stride, in fill_set_px() argument
219 for(y = blend_area->y1; y <= blend_area->y2; y++) { in fill_set_px()
220 for(x = blend_area->x1; x <= blend_area->x2; x++) { in fill_set_px()
226 int32_t w = lv_area_get_width(blend_area); in fill_set_px()
227 int32_t h = lv_area_get_height(blend_area); in fill_set_px()
233 …iver->set_px_cb(disp->driver, (void *)dest_buf, dest_stride, blend_area->x1 + x, blend_area->y1 + … in fill_set_px()