Lines Matching refs:dest
213 void lv_draw_buf_copy(lv_draw_buf_t * dest, const lv_area_t * dest_area, in lv_draw_buf_copy() argument
222 LV_ASSERT_FORMAT_MSG(dest->header.cf == src->header.cf, "Color format mismatch: %d != %d", in lv_draw_buf_copy()
223 dest->header.cf, src->header.cf); in lv_draw_buf_copy()
225 if(dest_area == NULL) line_width = dest->header.w; in lv_draw_buf_copy()
230 if(LV_COLOR_FORMAT_IS_INDEXED(dest->header.cf)) { in lv_draw_buf_copy()
231 …lv_memcpy(dest->data, src->data, LV_COLOR_INDEXED_PALETTE_SIZE(dest->header.cf) * sizeof(lv_color3… in lv_draw_buf_copy()
246 if(dest_area) dest_bufc = lv_draw_buf_goto_xy(dest, dest_area->x1, dest_area->y1); in lv_draw_buf_copy()
247 else dest_bufc = lv_draw_buf_goto_xy(dest, 0, 0); in lv_draw_buf_copy()
256 end_y = dest->header.h - 1; in lv_draw_buf_copy()
259 uint32_t dest_stride = dest->header.stride; in lv_draw_buf_copy()
261 uint32_t line_bytes = (line_width * lv_color_format_get_bpp(dest->header.cf) + 7) >> 3; in lv_draw_buf_copy()