]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Library/BootLogoLib/BootLogoLib.c
MdeModulePkg/BootLogoLib&PlatformLogo: Use HII data types in parameters
authorRuiyu Ni <ruiyu.ni@intel.com>
Fri, 23 Sep 2016 07:54:01 +0000 (15:54 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 28 Sep 2016 08:22:20 +0000 (16:22 +0800)
commite0ac9c8a9bd67ab934bca86504706b5400cde558
treeeefca3e3644b19f2a4ee265c419635bd1f2699d3
parent2abec4bf184656d130ed537b33b49a30f5331c43
MdeModulePkg/BootLogoLib&PlatformLogo: Use HII data types in parameters

1. Change PlatformLogo protocol to return EFI_IMAGE_INPUT instead of
   RAW image data. PlatformLogo implementation can use HiiImageEx to
   decode the image if it's JPEG or PNG format.
2. Change BootLogoLib to consume the new PlatformLogo protocol.
3. Change BootLogoEnableLogo() to only use images returned from
   PlatformLogo protocol.

Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
MdeModulePkg/Include/Library/BootLogoLib.h
MdeModulePkg/Include/Protocol/PlatformLogo.h
MdeModulePkg/Library/BootLogoLib/BootLogoLib.c
MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
MdeModulePkg/MdeModulePkg.dec