]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Conf/build_rule.template
BaseTools: support generating image package from BMP/JPEG/PNG files
authorYonghong Zhu <yonghong.zhu@intel.com>
Wed, 21 Sep 2016 02:39:11 +0000 (10:39 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 27 Sep 2016 01:43:28 +0000 (09:43 +0800)
commit333ba578fef4dff8921051410c5b56f63e7eeadb
tree004d6532069ebe11d388ae3453a287976b671d12
parent4f0ae88cde9caf65cbb9f534ce2b28d14add1e0d
BaseTools: support generating image package from BMP/JPEG/PNG files

BaseTools add support to generating image package from BMP/JPEG/PNG
files.
1) New file type *.idf Image definition file to describe HII image
resource. It is the ASCII text file, and includes one or more "#image
IMAGE_ID [TRANSPARENT] ImageFileName".
2) New IMAGE_TOKEN macro is used to refer to IMAGE_ID.
3) New AutoGen header file $(MODULE_NAME)ImgDefs.h to include the
generated ImageId definition.
4) New $(MODULE_NAME)Idf.hpk or $(MODULE_NAME)Images are generated
as the output binary HII image package.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Conf/build_rule.template
BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools/Source/Python/AutoGen/GenC.py
BaseTools/Source/Python/AutoGen/IdfClassObject.py [new file with mode: 0644]
BaseTools/Source/Python/AutoGen/StrGather.py
BaseTools/Source/Python/Common/DataType.py