Hi, Mars

We will review this patch and get back to you if we have feedback.

Thanks
Feng

From: Mars Lin [mailto:mars_...@phoenix.com]
Sent: Wednesday, March 12, 2014 11:05
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] 回覆: JPEG image block parsing error in HiiDataBase.

Hi Feng,
Any update for this proposed change to MdeModulePkg?

Thanks,
-Mars
寄件者: Mars Lin [mailto:mars_...@phoenix.com]
寄件日期: 2014年2月19日 下午 02:27
收件者: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
主旨: [edk2] JPEG image block parsing error in HiiDataBase.

Dear MdeModulePkg maintainers,
Please consider attached patch file for fixing wrong JPEG image block traverse 
error.

Summary

A true-color bitmap is encoded with JPEG image compression.
Prototype
#define EFI_HII_IIBT_IMAGE_JPEG 0x18
typedef struct _EFI_HII_IIBT_JPEG_BLOCK {
EFI_HII_IMAGE_BLOCK Header;
UINT32 Size;
UINT8 Data[ … ];
} EFI_HII_IIBT_JPEG;

Members
Header Standard image header, where Header.BlockType = EFI_HII_IIBT_IMAGE_JPEG.
Size   Specifies the size of the JPEG encoded data. (Not include size of Header)
Data   JPEG encoded data with ‘JFIF’ signature at offset 6 in the data block. 
The JPEG encoded data, specifies type of encoding and final size of true-color 
image.

[Path] MdeModulePkg\Universal\HiiDatabaseDxe\Image.c
[Function] GetImageIdOrAddress

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Smith Cheng 
<smith_ch...@phoenix.com<mailto:smith_ch...@phoenix.com>>

Regards,
-Mars
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to