]> git.sur5r.net Git - u-boot/commit
lcd: support displaying 24bpp BMPs on >= 24bpp LCDs
authorHannes Petermaier <oe5hpm@oevsv.at>
Tue, 15 Jul 2014 14:28:46 +0000 (16:28 +0200)
committerAnatolij Gustschin <agust@denx.de>
Mon, 11 Aug 2014 16:07:09 +0000 (18:07 +0200)
commita305fb155ea3d9c3c3859bd04737e3e260344e4c
treedb48cda4bcbc02361a932e567c7232c173caf1f7
parent072f210a0d394ba9083323b8bbce6822f1cc2ecb
lcd: support displaying 24bpp BMPs on >= 24bpp LCDs

most todays LCDs support 32bpp e.g. the framebuffer memory is 32bpp
organized.

To support 24bpp BMPs we need to take only 3 byte from the bpp and set
one byte from the FB to 0.

Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
common/lcd.c