]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Guid/Bmp.h
Rename Frame*Lib to *LibFramework to improve the speed that a module could be found...
[mirror_edk2.git] / MdeModulePkg / Include / Guid / Bmp.h
CommitLineData
88f20127 1/*++\r
2\r
3Copyright (c) 2006 - 2007, Intel Corporation\r
4All rights reserved. This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11\r
12Module Name:\r
13\r
14 Bmp.h\r
15\r
16Abstract:\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
29typedef 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
36typedef 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
60extern EFI_GUID gEfiDefaultBmpLogoGuid;\r
61\r
62#endif\r