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