mirror of
https://github.com/apache/nuttx.git
synced 2026-05-16 05:27:45 +08:00
52d516ab46
In order to achieve better scalability, change the stride from pixel mode to byte mode.For example, in the case of RGB888 mode with 466 pixels in width and a 4-byte aligned buffer,it is only necessary to extend the buffer of one line from 1398 bytes to 1400 bytes, instead of extending it to 1404 bytes. Signed-off-by: rongyichang <rongyichang@xiaomi.com>