From: Wayne Xia <xiawenc@linux.vnet.ibm.com>
To: Paul Brook <paul@codesourcery.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>, qemu-devel@nongnu.org
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 [thread overview]
Message-ID: <4E126FFD.4030507@linux.vnet.ibm.com> (raw)
In-Reply-To: <201107041931.53499.paul@codesourcery.com>
于 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:xiawenc@linux.vnet.ibm.com
tel:86-010-82450803
next prev parent reply other threads:[~2011-07-05 1:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-04 17:08 [Qemu-devel] [PATCH v5] showing a splash picture when start, seabios image for test xiaxia347work
2011-07-04 18:31 ` Paul Brook
2011-07-05 1:59 ` Wayne Xia [this message]
2011-07-05 2:00 ` Wayne Xia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E126FFD.4030507@linux.vnet.ibm.com \
--to=xiawenc@linux.vnet.ibm.com \
--cc=aliguori@us.ibm.com \
--cc=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).