diff options
author | Simon Glass | 2021-11-19 13:23:54 -0700 |
---|---|---|
committer | Anatolij Gustschin | 2021-12-26 23:02:19 +0100 |
commit | 51f92c143019de3ad719d8ee7bcab8c1d9d87d1c (patch) | |
tree | d34fe4815cb6a8325671ca9d02bf4e28ec61690f /lib/Kconfig | |
parent | 19c828c525a08807e5ba98d98655271606a7e4eb (diff) |
video: Move BMP pixel-writing into a function
At present the code that writes to a pixel is quite convoluted. It uses a
colour map which is in the uclass and the same code is repeated in
different places within video_bmp_display().
As a first step, create a function which can write a pixel from the
bitmap, no matter what the display depth. Use any provided palette
directly, rather than using the uclass version.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/Kconfig')
0 files changed, 0 insertions, 0 deletions