Searched refs:size_bytes (Results 1 – 3 of 3) sorted by relevance
/lvgl-latest/src/drivers/nuttx/ |
D | lv_nuttx_image_cache.c | 52 static void * malloc_cb(size_t size_bytes, lv_color_format_t color_format); 165 static void * malloc_cb(size_t size_bytes, lv_color_format_t color_format) in malloc_cb() argument 173 size_bytes += LV_DRAW_BUF_ALIGN - 1; in malloc_cb() 176 if(lv_cache_is_enabled(img_cache_p) && size_bytes > cache_max_size) { in malloc_cb() 178 (uint32_t)size_bytes, in malloc_cb() 186 mem = mm_malloc(ctx->heap, size_bytes); in malloc_cb() 188 …he_is_enabled(img_cache_p)) || (lv_cache_get_size(img_cache_p, NULL) + size_bytes < cache_max_size… in malloc_cb() 189 mem = ctx->malloc_cb(size_bytes, color_format); in malloc_cb() 193 (uint32_t)size_bytes); in malloc_cb()
|
/lvgl-latest/libs/nema_gfx/include/ |
D | nema_cmdlist.h | 77 nema_cmdlist_t nema_cl_create_sized(int size_bytes);
|
/lvgl-latest/src/draw/ |
D | lv_draw_buf.c | 33 static void * draw_buf_malloc(const lv_draw_buf_handlers_t * handler, size_t size_bytes, 648 static void * buf_malloc(size_t size_bytes, lv_color_format_t color_format) in buf_malloc() argument 653 size_bytes += LV_DRAW_BUF_ALIGN - 1; in buf_malloc() 654 return lv_malloc(size_bytes); in buf_malloc() 682 static void * draw_buf_malloc(const lv_draw_buf_handlers_t * handlers, size_t size_bytes, in draw_buf_malloc() argument 685 if(handlers->buf_malloc_cb) return handlers->buf_malloc_cb(size_bytes, color_format); in draw_buf_malloc()
|