video: bmp: Add support for 24bpp BMP files on 16bpp displays
authorStefan Roese <sr@denx.de>
Wed, 30 Jan 2019 07:54:12 +0000 (08:54 +0100)
committerAnatolij Gustschin <agust@denx.de>
Fri, 15 Feb 2019 15:51:12 +0000 (16:51 +0100)
commite25710305da0f087a374ad41d5fa1f244469f6f2
treeefcd796a4fdbf9419118deb03e1fb6375b8ed7a1
parent0220f8c223f088cc722b81fc1db23734de87a13d
video: bmp: Add support for 24bpp BMP files on 16bpp displays

This patch adds support to load 24bpp BMP files on 16bpp displays. This
will be used by the theadorable board. The "old" bmp command did support
this operartion mode and to not break compatibility with the move to
DM_VIDEO, we need to add this support to the "new" bmp code.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Anatolij Gustschin <agust@denx.de>
drivers/video/video_bmp.c