Lines Matching refs:src_buf
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()
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()
178 if(dsc->src_buf == NULL) { 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()
187 if(dsc->src_buf == NULL) { 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()
196 if(dsc->src_buf == NULL) { 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()
606 const lv_color_t * src_buf, lv_coord_t src_stride, lv_opa_t opa, in map_set_px() argument
621 …x_cb(disp->driver, (void *)dest_buf, dest_stride, dest_area->x1 + x, dest_area->y1 + y, src_buf[x], in map_set_px()
624 src_buf += src_stride; in map_set_px()
631 …x_cb(disp->driver, (void *)dest_buf, dest_stride, dest_area->x1 + x, dest_area->y1 + y, src_buf[x], in map_set_px()
636 src_buf += src_stride; in map_set_px()
642 lv_coord_t dest_stride, const lv_color_t * src_buf, in map_normal() argument
657 lv_memcpy(dest_buf, src_buf, w * sizeof(lv_color_t)); in map_normal()
659 src_buf += src_stride; in map_normal()
665 dest_buf[x] = lv_color_mix(src_buf[x], dest_buf[x], opa); in map_normal()
668 src_buf += src_stride; in map_normal()
693 dest_buf[x] = src_buf[x]; in map_normal()
694 dest_buf[x + 1] = src_buf[x + 1]; in map_normal()
695 dest_buf[x + 2] = src_buf[x + 2]; in map_normal()
696 dest_buf[x + 3] = src_buf[x + 3]; in map_normal()
715 src_buf += src_stride; in map_normal()
725 dest_buf[x] = lv_color_mix(src_buf[x], dest_buf[x], opa_tmp); in map_normal()
729 src_buf += src_stride; in map_normal()
738 lv_coord_t dest_stride, const lv_color_t * src_buf, in map_argb() argument
771 lv_memcpy(dest_buf, src_buf, w * sizeof(lv_color_t)); in map_argb()
773 src_buf += src_stride; in map_argb()
781 set_px_argb(dest_buf8, src_buf[x], LV_OPA_COVER); in map_argb()
787 set_px_argb_blend(dest_buf8, src_buf[x], LV_OPA_COVER, blend_fp); in map_argb()
794 src_buf += src_stride; in map_argb()
804 set_px_argb(dest_buf8, src_buf[x], opa); in map_argb()
810 set_px_argb_blend(dest_buf8, src_buf[x], opa, blend_fp); in map_argb()
817 src_buf += src_stride; in map_argb()
829 set_px_argb(dest_buf8, src_buf[x], mask[x]); in map_argb()
835 set_px_argb_blend(dest_buf8, src_buf[x], mask[x], blend_fp); in map_argb()
841 src_buf += src_stride; in map_argb()
853 set_px_argb(dest_buf8, src_buf[x], opa_tmp); in map_argb()
862 set_px_argb_blend(dest_buf8, src_buf[x], opa_tmp, blend_fp); in map_argb()
869 src_buf += src_stride; in map_argb()
879 const lv_color_t * src_buf, lv_coord_t src_stride, lv_opa_t opa, in map_blended() argument
910 last_src_color = src_buf[0]; in map_blended()
914 … if(last_src_color.full != src_buf[x].full || last_dest_color.full != dest_buf[x].full) { in map_blended()
916 last_src_color = src_buf[x]; in map_blended()
922 src_buf += src_stride; in map_blended()
928 last_src_color = src_buf[0]; in map_blended()
935 …if(last_src_color.full != src_buf[x].full || last_dest_color.full != dest_buf[x].full || last_opa … in map_blended()
937 last_src_color = src_buf[x]; in map_blended()
944 src_buf += src_stride; in map_blended()