878ddf1f |
1 | /*++\r |
2 | \r |
3 | Copyright (c) 2006, Intel Corporation \r |
4 | All rights reserved. This program and the accompanying materials \r |
5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r |
7 | http://opensource.org/licenses/bsd-license.php \r |
8 | \r |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r |
11 | \r |
12 | Module Name:\r |
13 | \r |
14 | Bmp.h\r |
15 | \r |
16 | Abstract:\r |
17 | \r |
18 | --*/\r |
19 | \r |
20 | #ifndef _BMP_GUID_H_\r |
21 | #define _BMP_GUID_H_\r |
22 | \r |
23 | \r |
24 | //\r |
25 | // Definitions for BMP files\r |
26 | //\r |
27 | #pragma pack(1)\r |
28 | \r |
29 | typedef struct {\r |
30 | UINT8 Blue;\r |
31 | UINT8 Green;\r |
32 | UINT8 Red;\r |
33 | UINT8 Reserved;\r |
34 | } BMP_COLOR_MAP;\r |
35 | \r |
36 | typedef struct {\r |
37 | CHAR8 CharB;\r |
38 | CHAR8 CharM;\r |
39 | UINT32 Size;\r |
40 | UINT16 Reserved[2];\r |
41 | UINT32 ImageOffset;\r |
42 | UINT32 HeaderSize;\r |
43 | UINT32 PixelWidth;\r |
44 | UINT32 PixelHeight;\r |
45 | UINT16 Planes; // Must be 1\r |
46 | UINT16 BitPerPixel; // 1, 4, 8, or 24\r |
47 | UINT32 CompressionType;\r |
48 | UINT32 ImageSize; // Compressed image size in bytes\r |
49 | UINT32 XPixelsPerMeter;\r |
50 | UINT32 YPixelsPerMeter;\r |
51 | UINT32 NumberOfColors;\r |
52 | UINT32 ImportantColors;\r |
53 | } BMP_IMAGE_HEADER;\r |
54 | \r |
55 | #pragma pack()\r |
56 | \r |
57 | #define EFI_DEFAULT_BMP_LOGO_GUID \\r |
58 | {0x7BB28B99,0x61BB,0x11d5,{0x9A,0x5D,0x00,0x90,0x27,0x3F,0xC1,0x4D}}\r |
59 | \r |
60 | extern EFI_GUID gEfiDefaultBmpLogoGuid;\r |
61 | \r |
62 | #endif\r |