]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Library/GenericBdsLib/Bmp.h
remove Bmp.h and ShellFile.h From MdeModulePkg to IntelFrameworkPkg
[mirror_edk2.git] / IntelFrameworkModulePkg / Library / GenericBdsLib / Bmp.h
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/Bmp.h b/IntelFrameworkModulePkg/Library/GenericBdsLib/Bmp.h
new file mode 100644 (file)
index 0000000..f1aff9b
--- /dev/null
@@ -0,0 +1,48 @@
+/** @file\r
+  This file defines BMP file header data structures.\r
+\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef _GENERIC_BDS_BMP_H__\r
+#define _GENERIC_BDS_BMP_H__\r
+\r
+#pragma pack(1)\r
+\r
+typedef struct {\r
+  UINT8   Blue;\r
+  UINT8   Green;\r
+  UINT8   Red;\r
+  UINT8   Reserved;\r
+} BMP_COLOR_MAP;\r
+\r
+typedef struct {\r
+  CHAR8         CharB;\r
+  CHAR8         CharM;\r
+  UINT32        Size;\r
+  UINT16        Reserved[2];\r
+  UINT32        ImageOffset;\r
+  UINT32        HeaderSize;\r
+  UINT32        PixelWidth;\r
+  UINT32        PixelHeight;\r
+  UINT16        Planes;          ///> Must be 1\r
+  UINT16        BitPerPixel;     ///> 1, 4, 8, or 24\r
+  UINT32        CompressionType;\r
+  UINT32        ImageSize;       ///> Compressed image size in bytes\r
+  UINT32        XPixelsPerMeter;\r
+  UINT32        YPixelsPerMeter;\r
+  UINT32        NumberOfColors;\r
+  UINT32        ImportantColors;\r
+} BMP_IMAGE_HEADER;\r
+\r
+#pragma pack()\r
+\r
+#endif\r