Project
Loading...
Searching...
No Matches
bitmapfile.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
14
16 uint16_t bfType;
17 uint32_t bfSize;
18 uint32_t bfReserved;
19 uint32_t bfOffBits;
20} __attribute__((packed));
21
23 uint32_t biSize;
24 uint32_t biWidth;
25 uint32_t biHeight;
26 uint16_t biPlanes;
27 uint16_t biBitCount;
28 uint32_t biCompression;
29 uint32_t biSizeImage;
32 uint32_t biClrUsed;
34} __attribute__((packed));
35
36enum BI_Compression { BI_RGB = 0x0000,
37 BI_RLE8 = 0x0001,
38 BI_RLE4 = 0x0002,
39 BI_BITFIELDS = 0x0003,
40 BI_JPEG = 0x0004,
41 BI_PNG = 0x0005,
42 BI_CMYK = 0x000B,
43 BI_CMYKRLE8 = 0x000C,
44 BI_CMYKRLE4 = 0x000D };
enum BI_Compression __attribute__
BI_Compression
Definition bitmapfile.h:36
@ BI_CMYK
Definition bitmapfile.h:42
@ BI_BITFIELDS
Definition bitmapfile.h:39
@ BI_CMYKRLE8
Definition bitmapfile.h:43
@ BI_JPEG
Definition bitmapfile.h:40
@ BI_RLE4
Definition bitmapfile.h:38
@ BI_RLE8
Definition bitmapfile.h:37
@ BI_CMYKRLE4
Definition bitmapfile.h:44
@ BI_PNG
Definition bitmapfile.h:41
@ BI_RGB
Definition bitmapfile.h:36
uint32_t bfReserved
Definition bitmapfile.h:18
uint32_t bfSize
Definition bitmapfile.h:17
uint32_t bfOffBits
Definition bitmapfile.h:19
uint16_t bfType
Definition bitmapfile.h:16
uint32_t biWidth
Definition bitmapfile.h:24
uint32_t biSize
Definition bitmapfile.h:23
uint32_t biSizeImage
Definition bitmapfile.h:29
uint32_t biCompression
Definition bitmapfile.h:28
uint16_t biBitCount
Definition bitmapfile.h:27
uint16_t biPlanes
Definition bitmapfile.h:26
uint32_t biHeight
Definition bitmapfile.h:25
uint32_t biXPelsPerMeter
Definition bitmapfile.h:30
uint32_t biYPelsPerMeter
Definition bitmapfile.h:31
uint32_t biClrUsed
Definition bitmapfile.h:32
uint32_t biClrImportant
Definition bitmapfile.h:33