MdeModulePkg/HiiDatabase: Add HiiImageEx implementation.
According to UEFI spec, NewImageEx()/SetImageEx()/DrawImageEx() implicitly call the non-Ex version interface of HiiImage protocol. GetImageEx()/DrawImageIdEx() are the enhanced version of GetImage()/DrawImageId(), which can support decoding JPEG/PNG through the help of HiiImageDecoder 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>
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
[Sources]
|
||||
HiiDatabaseEntry.c
|
||||
Image.c
|
||||
ImageEx.c
|
||||
HiiDatabase.h
|
||||
ConfigRouting.c
|
||||
String.c
|
||||
@@ -63,7 +64,9 @@
|
||||
[Protocols]
|
||||
gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiHiiStringProtocolGuid ## PRODUCES
|
||||
gEfiHiiImageProtocolGuid |gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol ## SOMETIMES_PRODUCES
|
||||
gEfiHiiImageProtocolGuid |gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol ## SOMETIMES_PRODUCES
|
||||
gEfiHiiImageExProtocolGuid |gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol ## SOMETIMES_PRODUCES
|
||||
gEfiHiiImageDecoderProtocolGuid |gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol ## SOMETIMES_CONSUMES
|
||||
gEfiHiiConfigRoutingProtocolGuid ## PRODUCES
|
||||
gEfiHiiDatabaseProtocolGuid ## PRODUCES
|
||||
gEfiHiiFontProtocolGuid ## PRODUCES
|
||||
@@ -85,6 +88,8 @@
|
||||
## CONSUMES ## Event
|
||||
## PRODUCES ## Event
|
||||
gEfiHiiKeyBoardLayoutGuid
|
||||
gEfiHiiImageDecoderNameJpegGuid |gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol ## SOMETIMES_CONSUMES
|
||||
gEfiHiiImageDecoderNamePngGuid |gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol ## SOMETIMES_CONSUMES
|
||||
|
||||
[Depex]
|
||||
TRUE
|
||||
|
Reference in New Issue
Block a user