From: Wolfgang Denk Date: Wed, 09 Jan 2008 14:55:35 +0100 Subject: [U-Boot-Users] [PATCH] cmd_bmp: Add support for displaying gzip compressed bmps In-Reply-To: Your message of "Fri, 30 Nov 2007 17:29:59 +0100." <1196440199-5759-1-git-send-email-hskinnemoen@atmel.com> Message-ID: <20080109135535.24B696F0010@nyx.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1196440199-5759-1-git-send-email-hskinnemoen@atmel.com> you wrote: > From: Hans-Christian Egtvedt > > 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 > --- > 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