Searched refs:LV_CANVAS_BUF_SIZE (Results 1 – 5 of 5) sorted by relevance
/lvgl-latest/examples/widgets/canvas/ |
D | lv_example_canvas_6.c | 13 …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/ |
D | lv_canvas.h | 172 #define LV_CANVAS_BUF_SIZE(w, h, bpp, stride) (((((w * bpp + 7) >> 3) + stride - 1) & ~(stride - 1)… macro
|
D | lv_canvas.c | 409 return (uint32_t)LV_CANVAS_BUF_SIZE(w, h, bpp, stride); in lv_canvas_buf_size()
|
/lvgl-latest/docs/details/widgets/ |
D | canvas.rst | 41 ``static uint8_t buffer[LV_CANVAS_BUF_SIZE(width, height, bits_per_pixel, stride_in_bytes)]``.
|
/lvgl-latest/tests/src/test_cases/ |
D | test_bindings.c | 173 static uint8_t canvas_buf[LV_CANVAS_BUF_SIZE(400, 100, 16, LV_DRAW_BUF_STRIDE_ALIGN)]; in create_ui()
|