qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel]  [PATCH v5] showing a splash picture when start, seabios image for test
@ 2011-07-04 17:08 xiaxia347work
  2011-07-04 18:31 ` Paul Brook
  0 siblings, 1 reply; 4+ messages in thread
From: xiaxia347work @ 2011-07-04 17:08 UTC (permalink / raw)
  To: aliguori, paul; +Cc: qemu-devel, Wayne Xia

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

   The patch let qemu pass a compressed data to seabios.  This image
 support the compressed jpg/bmp file by LZMA algorithm.

    The attachment is the seabios image that help test the patch.  

usage:
    apply the patch for qemu.
    alternate the bios.bin.
    start x86 qemu with a specified splash-time and file name.

limitation in seabios:
     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).

2011-07-05

[-- Attachment #2: bios.bin --]
[-- Type: application/octet-stream, Size: 131072 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH v5] showing a splash picture when start, seabios image for test
  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
  2011-07-05  2:00   ` Wayne Xia
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Brook @ 2011-07-04 18:31 UTC (permalink / raw)
  To: xiaxia347work; +Cc: aliguori, qemu-devel, Wayne Xia

>      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.

Paul

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH v5] showing a splash picture when start, seabios image for test
  2011-07-04 18:31 ` Paul Brook
@ 2011-07-05  1:59   ` Wayne Xia
  2011-07-05  2:00   ` Wayne Xia
  1 sibling, 0 replies; 4+ messages in thread
From: Wayne Xia @ 2011-07-05  1:59 UTC (permalink / raw)
  To: Paul Brook; +Cc: Anthony Liguori, qemu-devel

于 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH v5] showing a splash picture when start, seabios image for test
  2011-07-04 18:31 ` Paul Brook
  2011-07-05  1:59   ` Wayne Xia
@ 2011-07-05  2:00   ` Wayne Xia
  1 sibling, 0 replies; 4+ messages in thread
From: Wayne Xia @ 2011-07-05  2:00 UTC (permalink / raw)
  To: Paul Brook; +Cc: Anthony Liguori, qemu-devel

于 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.
>
> Paul
   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.

-- 
Best Regards

Wayne Xia
mail:xiawenc@linux.vnet.ibm.com
tel:86-010-82450803

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-05  2:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-07-05  2:00   ` Wayne Xia

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).