Home
last modified time | relevance | path

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

/lvgl-latest/src/draw/
Dlv_draw_buf.c675 uint32_t width_byte; in width_to_stride() local
676 width_byte = w * lv_color_format_get_bpp(color_format); in width_to_stride()
677 width_byte = (width_byte + 7) >> 3; /*Round up*/ in width_to_stride()
679 return LV_ROUND_UP(width_byte, LV_DRAW_BUF_STRIDE_ALIGN); in width_to_stride()