1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-21 10:32:07 +02:00
Files
u-boot-megous/drivers/video
Sylwester Nawrocki 38e18d6392 video: Fix line padding calculation for 16 and 24 BPP bitmaps
Each row in the pixel array in the bitmap file is padded
if necessary so the row size is always a multiple of 4 bytes.
In current code the complement of row size to a multiple of
4 bytes is further unnecessarily multiplied by the pixel size.
This results in incorrect displaying of bitmaps having row size
that is not a multiple of 4 bytes. Fix this by removing
the unnecessary multiplication.

Tested with 24BPP bitmap and XRGB32 display.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
2021-04-10 17:09:59 +02:00
..
2019-10-13 23:34:43 +02:00
2021-04-10 16:50:07 +02:00
2018-09-28 18:26:32 +02:00