--- /dev/null
+/** @file\r
+ This file defines BMP file header data structures.\r
+\r
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef _BMP_H_\r
+#define _BMP_H_\r
+\r
+#pragma pack(1)\r
+\r
+typedef struct {\r
+ UINT8 Blue;\r
+ UINT8 Green;\r
+ UINT8 Red;\r
+ UINT8 Reserved;\r
+} BMP_COLOR_MAP;\r
+\r
+typedef struct {\r
+ CHAR8 CharB;\r
+ CHAR8 CharM;\r
+ UINT32 Size;\r
+ UINT16 Reserved[2];\r
+ UINT32 ImageOffset;\r
+ UINT32 HeaderSize;\r
+ UINT32 PixelWidth;\r
+ UINT32 PixelHeight;\r
+ UINT16 Planes; ///< Must be 1\r
+ UINT16 BitPerPixel; ///< 1, 4, 8, or 24\r
+ UINT32 CompressionType;\r
+ UINT32 ImageSize; ///< Compressed image size in bytes\r
+ UINT32 XPixelsPerMeter;\r
+ UINT32 YPixelsPerMeter;\r
+ UINT32 NumberOfColors;\r
+ UINT32 ImportantColors;\r
+} BMP_IMAGE_HEADER;\r
+\r
+#pragma pack()\r
+\r
+#endif\r