From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdnw8-0006il-Ut for qemu-devel@nongnu.org; Mon, 04 Jul 2011 14:32:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qdnw7-00069i-UB for qemu-devel@nongnu.org; Mon, 04 Jul 2011 14:32:00 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:37998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdnw7-00069P-9H for qemu-devel@nongnu.org; Mon, 04 Jul 2011 14:31:59 -0400 From: Paul Brook Date: Mon, 4 Jul 2011 19:31:53 +0100 References: <54eb24e8.221f4.130f61f3c7f.Coremail.xiaxia347work@163.com> In-Reply-To: <54eb24e8.221f4.130f61f3c7f.Coremail.xiaxia347work@163.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201107041931.53499.paul@codesourcery.com> 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: 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