From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QduvL-0001Iq-Mq for qemu-devel@nongnu.org; Mon, 04 Jul 2011 21:59:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QduvK-00043s-Du for qemu-devel@nongnu.org; Mon, 04 Jul 2011 21:59:39 -0400 Received: from e28smtp09.in.ibm.com ([122.248.162.9]:45249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QduvJ-00043b-B5 for qemu-devel@nongnu.org; Mon, 04 Jul 2011 21:59:38 -0400 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58]) by e28smtp09.in.ibm.com (8.14.4/8.13.1) with ESMTP id p651gc29026192 for ; Tue, 5 Jul 2011 07:12:38 +0530 Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p651xXlB4685864 for ; Tue, 5 Jul 2011 07:29:33 +0530 Received: from d28av01.in.ibm.com (loopback [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p651xWah018259 for ; Tue, 5 Jul 2011 07:29:32 +0530 Message-ID: <4E126FFD.4030507@linux.vnet.ibm.com> Date: Tue, 05 Jul 2011 09:59:25 +0800 From: Wayne Xia MIME-Version: 1.0 References: <54eb24e8.221f4.130f61f3c7f.Coremail.xiaxia347work@163.com> <201107041931.53499.paul@codesourcery.com> In-Reply-To: <201107041931.53499.paul@codesourcery.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v5] showing a splash picture when start, seabios image for test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: Anthony Liguori , qemu-devel@nongnu.org =E4=BA=8E 2011-7-5 2:31, Paul Brook =E5=86=99=E9=81=93: >> jpeg decoder have its limitation, it only accept jpg file with >> width=3D16*M, height=3D16*N. >> bmp decoder only accept 24bpp file, with a resolution that a vid= eo >> 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 muc= h more > sense to do that in qemu itself. There we can use the same libraries a= s > everyone else (libjpeg, libpng, etc) rather than badly reimpleenting th= em > inside the bios. > I think the BMP file with 24bpp is almost the raw image data that=20 need just a little format adjusting in bios according to the video mode=20 it found. Jpeg and LZMA decoder are the old small functions that sea-bios=20 support, so I think user could use that format as an option. > Paul --=20 Best Regards Wayne Xia mail:xiawenc@linux.vnet.ibm.com tel:86-010-82450803