qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v5] showing a splash picture when start, seabios


From: Wayne Xia
Subject: Re: [Qemu-devel] [PATCH v5] showing a splash picture when start, seabios image for test
Date: Tue, 05 Jul 2011 09:59:25 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11

于 2011-7-5 2:31, Paul Brook 写道:
      jpeg decoder have its limitation, it only accept jpg file with
width=16*M, height=16*N.
      bmp decoder only accept 24bpp file, with a resolution that a video
mode could support. Recommended is 640x480(mostly used).

Doing image decoding in the bios seems particularly pointless.  Why don't you
just pass the bios raw image data?

If you really want to directly support fancier formats IMO it makes much more
sense to do that in qemu itself.  There we can use the same libraries as
everyone else (libjpeg, libpng, etc) rather than badly reimpleenting them
inside the bios.

I think the BMP file with 24bpp is almost the raw image data that need just a little format adjusting in bios according to the video mode it found. Jpeg and LZMA decoder are the old small functions that sea-bios support, so I think user could use that format as an option.

Paul


--
Best Regards

Wayne Xia
mail:address@hidden
tel:86-010-82450803




reply via email to

[Prev in Thread] Current Thread [Next in Thread]