[U-Boot-Users] [PATCH] cmd_bmp: Add support for displaying gzip compressed bmps

Wolfgang Denk wd at denx.de
Wed Jan 9 14:55:35 CET 2008


In message <1196440199-5759-1-git-send-email-hskinnemoen at atmel.com> you wrote:
> From: Hans-Christian Egtvedt <hcegtvedt at atmel.com>
> 
> The existing code can show information about a gzip compressed BMP
> image, but can't actually display it.
> 
> Therefore, move the decompression code out of bmp_info() and use it in
> bmp_display() as well in order to display a compressed BMP image.
> 
> Also, clean things up a bit and fix a memory leak while we're at it.
> 
> [hskinnemoen at atmel.com: a bit of refactoring]
> Signed-off-by: Haavard Skinnemoen <hskinnemoen at atmel.com>
> ---
> One thing I can't help wondering about: What is the difference between
> "LCD" and "video"? It seems a bit strange that there are separate
> functions for displaying a BMP onto basically the same thing, i.e. a
> framebuffer.
> 
>  common/cmd_bmp.c |  134 ++++++++++++++++++++++++++++++++++--------------------
>  1 files changed, 85 insertions(+), 49 deletions(-)

Applied, thank.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"In matrimony, to hesitate is sometimes to be saved."        - Butler




More information about the U-Boot mailing list