lv_draw_sw_utils.h
Functions
-
void lv_draw_sw_rgb565_swap(void *buf, uint32_t buf_size_px)
Swap the upper and lower byte of an RGB565 buffer. Might be required if a 8bit parallel port or an SPI port send the bytes in the wrong order. The bytes will be swapped in place.
- 参数:
buf -- pointer to buffer
buf_size_px -- number of pixels in the buffer
- void lv_draw_sw_i1_invert(void *buf