Home
last modified time | relevance | path

Searched refs:LV_CANVAS_BUF_SIZE (Results 1 – 5 of 5) sorted by relevance

/lvgl-latest/examples/widgets/canvas/
Dlv_example_canvas_6.c13 …static uint8_t cbuf[LV_CANVAS_BUF_SIZE(CANVAS_WIDTH, CANVAS_HEIGHT, 32, LV_DRAW_BUF_STRIDE_ALIGN)]; in lv_example_canvas_6()
/lvgl-latest/src/widgets/canvas/
Dlv_canvas.h172 #define LV_CANVAS_BUF_SIZE(w, h, bpp, stride) (((((w * bpp + 7) >> 3) + stride - 1) & ~(stride - 1)… macro
Dlv_canvas.c409 return (uint32_t)LV_CANVAS_BUF_SIZE(w, h, bpp, stride); in lv_canvas_buf_size()
/lvgl-latest/docs/details/widgets/
Dcanvas.rst41 ``static uint8_t buffer[LV_CANVAS_BUF_SIZE(width, height, bits_per_pixel, stride_in_bytes)]``.
/lvgl-latest/tests/src/test_cases/
Dtest_bindings.c173 static uint8_t canvas_buf[LV_CANVAS_BUF_SIZE(400, 100, 16, LV_DRAW_BUF_STRIDE_ALIGN)]; in create_ui()