Searched refs:LV_ROUND_UP (Results 1 – 4 of 4) sorted by relevance
33 #define LV_ROUND_UP(x, round) ((((x) + ((round) - 1)) / (round)) * (round)) macro
37 LV_ROUND_UP(((w) * LV_COLOR_FORMAT_GET_BPP(cf) + 7) / 8, LV_DRAW_BUF_STRIDE_ALIGN)
668 buf_u8 = (uint8_t *)LV_ROUND_UP((lv_uintptr_t)buf_u8, LV_DRAW_BUF_ALIGN); in buf_align()679 return LV_ROUND_UP(width_byte, LV_DRAW_BUF_STRIDE_ALIGN); in width_to_stride()
355 - **fix(draw_buf): use LV_ROUND_UP to align draw buffer address** `79b64c8 <https://github.com/lvgl…