
In message 1196440199-5759-1-git-send-email-hskinnemoen@atmel.com you wrote:
From: Hans-Christian Egtvedt hcegtvedt@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@atmel.com: a bit of refactoring] Signed-off-by: Haavard Skinnemoen hskinnemoen@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