eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_imgdec_bmp.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define D4D_BITMAP_SIGNATURE
 
#define D4D_BITMAPHEADER_SIZE
 
#define D4D_BITMAPINFOHEADER_SIZE
 
#define D4D_TMP_PBITMAPHEADER
 
#define D4D_TMP_PBITMAPINFOHEADER
 

Typedefs

typedef struct D4D_RGBA_S D4D_RGBA
 
typedef struct D4D_BGRA_S D4D_BGRA
 
typedef union D4D_LONG_S D4D_LONG
 

Enumerations

enum  D4D_BITMAPCOMPRESSION { D4D_BC_RGB, D4D_BC_RLE8, D4D_BC_RLE4, D4D_BC_BITFIELDS, D4D_BC_JPEG, D4D_BC_PNG }
 

Functions

void D4D_ImgDecBmpDraw (D4D_COOR x, D4D_COOR y, D4D_CHAR *pFileName, D4D_BOOL greyScale, D4D_COOR radius)
 
D4D_COOR D4D_ImgDecBmpGetWidth (D4D_CHAR *pFileName)
 
D4D_COOR D4D_ImgDecBmpGetHeight (D4D_CHAR *pFileName)
 
D4D_SIZE D4D_ImgDecBmpGetSize (D4D_CHAR *pFileName)
 
int D4D_ImgDecBmpGetHeader (D4D_CHAR *pFileName, void *pBuff, int max_size)
 
D4D_BOOL D4D_PrintScreenToBMP (D4D_CHAR *pFileName)
 The function convert screen into BMP file. More...
 

Detailed Description

D4D driver external bmp files decoder header file.

Author
Petr Gargulak
Version
0.0.8.0
Date
Oct-2-2013

Definition in file d4d_imgdec_bmp.h.

Macro Definition Documentation

#define D4D_BITMAP_SIGNATURE

Definition at line 134 of file d4d_imgdec_bmp.h.

#define D4D_BITMAPHEADER_SIZE

Definition at line 139 of file d4d_imgdec_bmp.h.

#define D4D_BITMAPINFOHEADER_SIZE

Definition at line 141 of file d4d_imgdec_bmp.h.

#define D4D_TMP_PBITMAPHEADER

Definition at line 143 of file d4d_imgdec_bmp.h.

#define D4D_TMP_PBITMAPINFOHEADER

Definition at line 145 of file d4d_imgdec_bmp.h.

Typedef Documentation

typedef struct D4D_BGRA_S D4D_BGRA
typedef union D4D_LONG_S D4D_LONG
typedef struct D4D_RGBA_S D4D_RGBA

Enumeration Type Documentation

Enumerator
D4D_BC_RGB 
D4D_BC_RLE8 
D4D_BC_RLE4 
D4D_BC_BITFIELDS 
D4D_BC_JPEG 
D4D_BC_PNG 

Definition at line 88 of file d4d_imgdec_bmp.h.

Function Documentation

void D4D_ImgDecBmpDraw ( D4D_COOR  x,
D4D_COOR  y,
D4D_CHAR pFileName,
D4D_BOOL  greyScale,
D4D_COOR  radius 
)

Draw BMP image file

Definition at line 67 of file d4d_imgdec_bmp.c.

Here is the call graph for this function:

int D4D_ImgDecBmpGetHeader ( D4D_CHAR pFileName,
void *  pBuff,
int  max_size 
)

Get header - BMP image file

Definition at line 783 of file d4d_imgdec_bmp.c.

Here is the caller graph for this function:

D4D_COOR D4D_ImgDecBmpGetHeight ( D4D_CHAR pFileName)

Get height - BMP image file

Definition at line 741 of file d4d_imgdec_bmp.c.

Here is the call graph for this function:

D4D_SIZE D4D_ImgDecBmpGetSize ( D4D_CHAR pFileName)

Get size - BMP image file

Definition at line 754 of file d4d_imgdec_bmp.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_COOR D4D_ImgDecBmpGetWidth ( D4D_CHAR pFileName)

Get width - BMP image file

Definition at line 729 of file d4d_imgdec_bmp.c.

Here is the call graph for this function:

D4D_BOOL D4D_PrintScreenToBMP ( D4D_CHAR pFileName)

The function convert screen into BMP file.

Parameters
pFileName- pointer file name string
Returns
D4D_TRUE - The BMP file has been saved, D4D_FALSE - error in creating BMP file
Note
The eGUI external buffer size MUST be >= 64

Definition at line 862 of file d4d_imgdec_bmp.c.

Here is the call graph for this function: