Searched refs:buf_nbr_pixels (Results 1 – 1 of 1) sorted by relevance
127 uint16_t buf_nbr_pixels; in lvgl_allocate_rendering_buffers() local133 buf_nbr_pixels = (CONFIG_LV_Z_VDB_SIZE * hor_res * ver_res) / 100; in lvgl_allocate_rendering_buffers()135 if (buf_nbr_pixels < hor_res) { in lvgl_allocate_rendering_buffers()136 buf_nbr_pixels = hor_res; in lvgl_allocate_rendering_buffers()141 buf_size = 4 * buf_nbr_pixels; in lvgl_allocate_rendering_buffers()144 buf_size = 3 * buf_nbr_pixels; in lvgl_allocate_rendering_buffers()147 buf_size = 2 * buf_nbr_pixels; in lvgl_allocate_rendering_buffers()151 buf_size = buf_nbr_pixels / 8 + 8; in lvgl_allocate_rendering_buffers()152 buf_size += (buf_nbr_pixels % 8) == 0 ? 0 : 1; in lvgl_allocate_rendering_buffers()