于 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:xiaw...@linux.vnet.ibm.com
tel:86-010-82450803


Reply via email to