bm_info_header_t Struct Reference


Detailed Description

Bitmap file information header. Starts after the file header and is 40 bytes long, in little endian and packed.

Definition at line 71 of file bmp_lib.c.


Data Fields

unsigned short biBitCount
 Number of bits per pixel, which is the color depth of the image. Typical values are 1, 4, 8, 16, 24 and 32.
unsigned int biClrImportant
unsigned int biClrUsed
unsigned int biCompression
 Define the compression method being used 0 (BI_RGB): No compression 1 (BI_RLE8): 2 (BI_RLE4): 3 (BI_BITFIELDS):.
int biHeight
 Height of the bitmap in pixels If this value is positiv -> "bottom-up"-bitmap (picture data starts with the bottom line and ends with the top line) If this value is negativ ->"top-down"-Bitmap (picture data starts with the top line and ends with the bottom line).
unsigned short biPlanes
 Number of color planes being used. Not often used.
unsigned int biSize
 Size of the information header.
unsigned int biSizeImage
 Image size. This is the size of the raw bitmap data.
int biWidth
 Width of the bitmap in pixels.
int biXPelsPerMeter
 Horizontale resolution.
int biYPelsPerMeter
 Vertical resolution.

Field Documentation

unsigned short bm_info_header_t::biBitCount

Number of bits per pixel, which is the color depth of the image. Typical values are 1, 4, 8, 16, 24 and 32.

Definition at line 88 of file bmp_lib.c.

Referenced by display_bm(), display_virtual_bm(), fill_frame_buffer_bm(), and fill_virtual_frame_buffer_bm().

unsigned int bm_info_header_t::biClrImportant

Definition at line 104 of file bmp_lib.c.

unsigned int bm_info_header_t::biClrUsed

Definition at line 103 of file bmp_lib.c.

unsigned int bm_info_header_t::biCompression

Define the compression method being used 0 (BI_RGB): No compression 1 (BI_RLE8): 2 (BI_RLE4): 3 (BI_BITFIELDS):.

Definition at line 95 of file bmp_lib.c.

Referenced by display_bm(), and display_virtual_bm().

int bm_info_header_t::biHeight

Height of the bitmap in pixels If this value is positiv -> "bottom-up"-bitmap (picture data starts with the bottom line and ends with the top line) If this value is negativ ->"top-down"-Bitmap (picture data starts with the top line and ends with the bottom line).

Definition at line 82 of file bmp_lib.c.

Referenced by display_bm(), display_virtual_bm(), fill_frame_buffer_bm(), and fill_virtual_frame_buffer_bm().

unsigned short bm_info_header_t::biPlanes

Number of color planes being used. Not often used.

Definition at line 84 of file bmp_lib.c.

unsigned int bm_info_header_t::biSize

Size of the information header.

Definition at line 73 of file bmp_lib.c.

unsigned int bm_info_header_t::biSizeImage

Image size. This is the size of the raw bitmap data.

Definition at line 98 of file bmp_lib.c.

int bm_info_header_t::biWidth

Width of the bitmap in pixels.

Definition at line 75 of file bmp_lib.c.

Referenced by display_bm(), display_virtual_bm(), fill_frame_buffer_bm(), and fill_virtual_frame_buffer_bm().

int bm_info_header_t::biXPelsPerMeter

Horizontale resolution.

Definition at line 100 of file bmp_lib.c.

int bm_info_header_t::biYPelsPerMeter

Vertical resolution.

Definition at line 102 of file bmp_lib.c.


Generated on Wed May 7 16:03:17 2008 for AVR32114 Using the AVR32 LCD Controller by  doxygen 1.5.3-20071008