Home
last modified time | relevance | path

Searched refs:cbuf (Results 1 – 12 of 12) sorted by relevance

/lvgl-3.6.0/src/draw/sw/
Dlv_draw_sw_transform.c52 int32_t x_end, lv_color_t * cbuf, uint8_t * abuf);
56 int32_t x_end, lv_color_t * cbuf, uint8_t * abuf, lv_img_cf_t cf);
61 int32_t x_end, lv_color_t * cbuf, uint8_t * abuf);
66 int32_t x_end, lv_color_t * cbuf, uint8_t * abuf, lv_img_cf_t cf);
82 … const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf) in lv_draw_sw_transform() argument
131 …a(src_buf, src_w, src_h, src_stride, xs_ups, ys_ups, xs_step_256, ys_step_256, dest_w, cbuf, abuf); in lv_draw_sw_transform()
135 …c_buf, src_w, src_h, src_stride, xs_ups, ys_ups, xs_step_256, ys_step_256, dest_w, cbuf, abuf, cf); in lv_draw_sw_transform()
140 …a(src_buf, src_w, src_h, src_stride, xs_ups, ys_ups, xs_step_256, ys_step_256, dest_w, cbuf, abuf); in lv_draw_sw_transform()
148 …c_buf, src_w, src_h, src_stride, xs_ups, ys_ups, xs_step_256, ys_step_256, dest_w, cbuf, abuf, cf); in lv_draw_sw_transform()
151 cbuf += dest_w; in lv_draw_sw_transform()
[all …]
Dlv_draw_sw_img.c30 …rc_stride, const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf);
205 …src_stride, const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf) in convert_cb() argument
224 lv_color_t * cbuf_tmp = cbuf; in convert_cb()
236 uint8_t * cbuf_uint = (uint8_t *)cbuf; in convert_cb()
239 uint16_t * cbuf_uint = (uint16_t *)cbuf; in convert_cb()
242 uint32_t * cbuf_uint = (uint32_t *)cbuf; in convert_cb()
262 cbuf[x].full = *src_tmp8; in convert_cb()
264 cbuf[x].full = *src_tmp8 + ((*(src_tmp8 + 1)) << 8); in convert_cb()
266 cbuf[x] = *((lv_color_t *) src_tmp8); in convert_cb()
267 cbuf[x].ch.alpha = 0xff; in convert_cb()
[all …]
Dlv_draw_sw.h81 … const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf);
/lvgl-3.6.0/examples/widgets/canvas/
Dlv_example_canvas_1.c28 static lv_color_t cbuf[LV_CANVAS_BUF_SIZE_TRUE_COLOR(CANVAS_WIDTH, CANVAS_HEIGHT)]; in lv_example_canvas_1() local
31 lv_canvas_set_buffer(canvas, cbuf, CANVAS_WIDTH, CANVAS_HEIGHT, LV_IMG_CF_TRUE_COLOR); in lv_example_canvas_1()
42 memcpy(cbuf_tmp, cbuf, sizeof(cbuf_tmp)); in lv_example_canvas_1()
Dlv_example_canvas_1.py23 cbuf = bytearray(_CANVAS_WIDTH * _CANVAS_HEIGHT * 4) variable
26 canvas.set_buffer(cbuf, _CANVAS_WIDTH, _CANVAS_HEIGHT, lv.img.CF.TRUE_COLOR)
37 img.data = cbuf[:]
Dlv_example_canvas_2.c16 static lv_color_t cbuf[LV_CANVAS_BUF_SIZE_INDEXED_1BIT(CANVAS_WIDTH, CANVAS_HEIGHT)]; in lv_example_canvas_2() local
20 lv_canvas_set_buffer(canvas, cbuf, CANVAS_WIDTH, CANVAS_HEIGHT, LV_IMG_CF_INDEXED_1BIT); in lv_example_canvas_2()
Dlv_example_canvas_2.py22 cbuf= bytearray(LV_CANVAS_BUF_SIZE_INDEXED_1BIT(CANVAS_WIDTH, CANVAS_HEIGHT)) variable
26 canvas.set_buffer(cbuf, CANVAS_WIDTH, CANVAS_HEIGHT, lv.img.CF.INDEXED_1BIT)
/lvgl-3.6.0/src/draw/
Dlv_draw_transform.c39 …src_stride, const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf) in lv_draw_transform() argument
47 …->draw_transform(draw_ctx, dest_area, src_buf, src_w, src_h, src_stride, draw_dsc, cf, cbuf, abuf); in lv_draw_transform()
Dlv_draw_transform.h34 …rc_stride, const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf);
Dlv_draw.h115 … const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf);
/lvgl-3.6.0/src/draw/arm2d/
Dlv_gpu_arm2d.c441 lv_color_t * cbuf,
1464 …src_stride, const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf) in convert_cb() argument
1483 lv_color_t * cbuf_tmp = cbuf; in convert_cb()
1495 uint8_t * cbuf_uint = (uint8_t *)cbuf; in convert_cb()
1498 uint16_t * cbuf_uint = (uint16_t *)cbuf; in convert_cb()
1501 uint32_t * cbuf_uint = (uint32_t *)cbuf; in convert_cb()
1521 cbuf[x].full = *src_tmp8; in convert_cb()
1523 cbuf[x].full = *src_tmp8 + ((*(src_tmp8 + 1)) << 8); in convert_cb()
1525 cbuf[x] = *((lv_color_t *) src_tmp8); in convert_cb()
1526 cbuf[x].ch.alpha = 0xff; in convert_cb()
[all …]
/lvgl-3.6.0/src/widgets/
Dlv_canvas.c189 lv_color_t * cbuf = lv_mem_alloc(dest_img->header.w * sizeof(lv_color_t)); in lv_canvas_transform() local
194 &draw_dsc, canvas->dsc.header.cf, cbuf, abuf); in lv_canvas_transform()
198 lv_img_buf_set_px_color(dest_img, x, y, cbuf[x]); in lv_canvas_transform()
207 lv_mem_free(cbuf); in lv_canvas_transform()