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