]> git.baikalelectronics.ru Git - uboot.git/commit
video: bmp: Update RLE8 support to use the write function
authorSimon Glass <sjg@chromium.org>
Fri, 19 Nov 2021 20:23:55 +0000 (13:23 -0700)
committerAnatolij Gustschin <agust@denx.de>
Sun, 26 Dec 2021 22:02:19 +0000 (23:02 +0100)
commit0a5f672f43fe46c2735c8b15eae73309a8595a53
treea6060d5f75c6ea536646d1d18a956caa5df7c8af
parent2076489aeb0d65f9080c130d5a0e60f446927c2f
video: bmp: Update RLE8 support to use the write function

Update this code to use write_pix8() rather than writing the pixels only
for a single supported display depth. This allows us to support any
depth.

Add some more tests too.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/video_bmp.c
test/dm/video.c