EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

EdkCompatibilityPkg/Foundation/Guid/Bmp/Bmp.h

Go to the documentation of this file.
00001 /*++
00002 
00003 Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
00004 This program and the accompanying materials                          
00005 are licensed and made available under the terms and conditions of the BSD License         
00006 which accompanies this distribution.  The full text of the license may be found at        
00007 http://opensource.org/licenses/bsd-license.php                                            
00008                                                                                           
00009 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
00010 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             
00011 
00012 Module Name:
00013 
00014   Bmp.h
00015     
00016 Abstract:
00017 
00018 --*/
00019 
00020 #ifndef _BMP_GUID_H_
00021 #define _BMP_GUID_H_
00022 
00023 
00024 //
00025 // Definitions for BMP files
00026 //
00027 #pragma pack(1)
00028 
00029 typedef struct {
00030   UINT8   Blue;
00031   UINT8   Green;
00032   UINT8   Red;
00033   UINT8   Reserved;
00034 } BMP_COLOR_MAP;
00035 
00036 typedef struct {
00037   CHAR8         CharB;
00038   CHAR8         CharM;
00039   UINT32        Size;
00040   UINT16        Reserved[2];
00041   UINT32        ImageOffset;
00042   UINT32        HeaderSize;
00043   UINT32        PixelWidth;
00044   UINT32        PixelHeight;
00045   UINT16        Planes;       // Must be 1
00046   UINT16        BitPerPixel;  // 1, 4, 8, or 24
00047   UINT32        CompressionType;
00048   UINT32        ImageSize;    // Compressed image size in bytes
00049   UINT32        XPixelsPerMeter;
00050   UINT32        YPixelsPerMeter;
00051   UINT32        NumberOfColors;
00052   UINT32        ImportantColors;
00053 } BMP_IMAGE_HEADER;
00054 
00055 #pragma pack()
00056 
00057 #define EFI_DEFAULT_BMP_LOGO_GUID \
00058   {0x7BB28B99,0x61BB,0x11d5,{0x9A,0x5D,0x00,0x90,0x27,0x3F,0xC1,0x4D}}
00059 
00060 extern EFI_GUID gEfiDefaultBmpLogoGuid;
00061 
00062 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines