RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions
bmp.h File Reference

Go to the source code of this file.

Data Structures

struct  _BMPHeader
 

Macros

#define BMP_TYPE   0x4D42
 
#define BITMAPINFOHEADER   40
 

Typedefs

typedef struct _BMPHeader BMPHeader
 

Functions

uint8_t BMP_IsValid (void *file)
 
uint32_t BMP_GetFileSize (void *file)
 
uint8_t BMP_Decode (void *file, uint8_t *buffer, uint32_t width, uint32_t height, uint8_t bpp)
 
void WriteBMPheader (uint32_t *pAddressHeader, uint32_t bmpHSize, uint32_t bmpVSize, uint8_t nbByte_Pixels)
 
void BMP_displayHeader (uint32_t *pAddressHeader)
 
void RGB565toBGR555 (uint8_t *fileSource, uint8_t *fileDestination, uint32_t width, uint32_t height, uint8_t bpp)
 

Detailed Description

Purpose

Utility for BMP

Macro Definition Documentation

◆ BITMAPINFOHEADER

#define BITMAPINFOHEADER   40

headerSize must be set to 40

◆ BMP_TYPE

#define BMP_TYPE   0x4D42

BMP magic number ('BM').

Typedef Documentation

◆ BMPHeader

typedef struct _BMPHeader BMPHeader

BMP (Windows) Header Format