video: theadorable: Use RGB565 for BMP blitting
authorSimon Glass <sjg@chromium.org>
Fri, 19 Nov 2021 20:23:59 +0000 (13:23 -0700)
committerAnatolij Gustschin <agust@denx.de>
Sun, 26 Dec 2021 22:23:52 +0000 (23:23 +0100)
commit4ea15482101bd2ef6d2086b1a8afb255de2e65e5
treef9635b0e9e7a91c53c8b1d643fe764cad8f3b1bf
parentc1cad06f69a8f3207bdb20ad038db930c0f5c139
video: theadorable: Use RGB565 for BMP blitting

At present this uses RGB555 format for blitting to a display. Sandbox uses
565 and that seems to be more normal for BMP as well. Update the code
accordingly and add a test.

Note that this likely breaks the theadorable board so we may need to
discuss supporting both formats.

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
drivers/video/video_bmp.c
test/dm/video.c
tools/logos/denx-24bpp.bmp.gz [new file with mode: 0644]