From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QduwU-0001Z9-UC for qemu-devel@nongnu.org; Mon, 04 Jul 2011 22:00:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QduwT-0004DC-Ow for qemu-devel@nongnu.org; Mon, 04 Jul 2011 22:00:50 -0400 Received: from e28smtp01.in.ibm.com ([122.248.162.1]:36489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QduwS-0004D4-Sa for qemu-devel@nongnu.org; Mon, 04 Jul 2011 22:00:49 -0400 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by e28smtp01.in.ibm.com (8.14.4/8.13.1) with ESMTP id p6520jXr006606 for ; Tue, 5 Jul 2011 07:30:45 +0530 Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p6520j8R3371212 for ; Tue, 5 Jul 2011 07:30:45 +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 p6520i7o022040 for ; Tue, 5 Jul 2011 07:30:44 +0530 Message-ID: <4E127045.3090101@linux.vnet.ibm.com> Date: Tue, 05 Jul 2011 10:00:37 +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. > > 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. --=20 Best Regards Wayne Xia mail:xiawenc@linux.vnet.ibm.com tel:86-010-82450803