__BMP_Header Struct ReferencePlatform Middleware > GLIB

BMP Module header structure. Must be packed to exact 54 bytes.

Definition at line 83 of file bmp.h .

#include < bmp.h >

Data Fields

uint16_t bitsPerPixel
uint16_t colorPlanes
uint32_t colorsRequired
uint32_t colorsUsed
uint32_t compressionType
uint32_t dataOffset
uint32_t fileSize
uint32_t headerSize
uint32_t height
uint32_t hPixelsPerMeter
uint32_t imageDataSize
uint16_t magic
uint16_t reserved1
uint16_t reserved2
uint32_t vPixelsPerMeter
uint32_t width

Field Documentation

uint16_t __BMP_Header::bitsPerPixel

Color depth

Definition at line 107 of file bmp.h .

Referenced by BMP_getBitsPerPixel() , BMP_readRawData() , BMP_readRgbData() , and BMP_reset() .

uint16_t __BMP_Header::colorPlanes

Color planes

Definition at line 105 of file bmp.h .

uint32_t __BMP_Header::colorsRequired

Number of color indices that are required for displaying the bitmap

Definition at line 119 of file bmp.h .

uint32_t __BMP_Header::colorsUsed

Number of color indices in the color table that are actually used by the bitmap

Definition at line 117 of file bmp.h .

uint32_t __BMP_Header::compressionType

Compression type

Definition at line 109 of file bmp.h .

Referenced by BMP_getCompressionType() , BMP_readRawData() , BMP_readRgbData() , and BMP_reset() .

uint32_t __BMP_Header::dataOffset

Data offset relative to the start of the bmp data

Definition at line 97 of file bmp.h .

Referenced by BMP_getDataOffset() , and BMP_reset() .

uint32_t __BMP_Header::fileSize

Size of the bmp file in bytes

Definition at line 91 of file bmp.h .

Referenced by BMP_getFileSize() , and BMP_reset() .

uint32_t __BMP_Header::headerSize

Header size in bytes

Definition at line 99 of file bmp.h .

Referenced by BMP_reset() .

uint32_t __BMP_Header::height

Height of bmp

Definition at line 103 of file bmp.h .

Referenced by BMP_getHeight() , BMP_readRawData() , BMP_readRawData24bit() , BMP_readRawData8bit() , BMP_readRgbData() , and BMP_reset() .

uint32_t __BMP_Header::hPixelsPerMeter

Horizontal resolution (pixels per meter)

Definition at line 113 of file bmp.h .

uint32_t __BMP_Header::imageDataSize

Size of raw BMP data

Definition at line 111 of file bmp.h .

Referenced by BMP_getImageDataSize() , BMP_readRawData() , BMP_readRawData24bit() , BMP_readRawData8bit() , BMP_readRgbData() , and BMP_reset() .

uint16_t __BMP_Header::magic

Magic identifier: "BM" (for bmp files)

Definition at line 89 of file bmp.h .

Referenced by BMP_reset() .

uint16_t __BMP_Header::reserved1

Reserved 1

Definition at line 93 of file bmp.h .

uint16_t __BMP_Header::reserved2

Reserved 2

Definition at line 95 of file bmp.h .

uint32_t __BMP_Header::vPixelsPerMeter

Vertical resolution (pixels per meter)

Definition at line 115 of file bmp.h .

uint32_t __BMP_Header::width

Width of bmp

Definition at line 101 of file bmp.h .

Referenced by BMP_getWidth() , BMP_readRawData() , BMP_readRawData24bit() , BMP_readRawData8bit() , and BMP_readRgbData() .


The documentation for this struct was generated from the following file:
  • C:/repos/embsw_super_h1/platform/middleware/glib/glib/ bmp.h