46 #ifndef __D4D_IMGDEC_BMP_H
47 #define __D4D_IMGDEC_BMP_H
133 #if D4D_ENDIAN == D4D_ENDIAN_LITTLE
134 #define D4D_BITMAP_SIGNATURE 0x4d42
136 #define D4D_BITMAP_SIGNATURE 0x424d
139 #define D4D_BITMAPHEADER_SIZE sizeof(D4D_BITMAPHEADER)
141 #define D4D_BITMAPINFOHEADER_SIZE sizeof(D4D_BITMAPINFOHEADER)
143 #define D4D_TMP_PBITMAPHEADER ((D4D_BITMAPHEADER*)d4d_extsrcBuffer)
145 #define D4D_TMP_PBITMAPINFOHEADER ((D4D_BITMAPINFOHEADER*)d4d_extsrcBuffer)
157 #if (D4D_BMP_EXTSRC_SUPPORT_BMP == D4D_TRUE) && (D4D_EXTSRC_FILE_ENABLE == D4D_TRUE)
167 #define D4D_ImgDecBmpDraw NULL
168 #define D4D_ImgDecBmpGetWidth NULL
169 #define D4D_ImgDecBmpGetHeight NULL
170 #define D4D_ImgDecBmpGetSize NULL
171 #define D4D_ImgDecBmpGetHeader NULL
172 #define D4D_PrintScreenToBMP(x) (D4D_FALSE)
struct D4D_LONG_S::@2 Bytes
signed long sLWord
Type definition of sLWord (signed 32-bit).
D4D_COOR D4D_ImgDecBmpGetWidth(D4D_CHAR *pFileName)
void D4D_ImgDecBmpDraw(D4D_COOR x, D4D_COOR y, D4D_CHAR *pFileName, D4D_BOOL greyScale, D4D_COOR radius)
Byte D4D_COOR
Type definition of eGUI coordination variables.
unsigned char Byte
Type definition of Byte (unsigned 8-bit).
D4D_COOR D4D_ImgDecBmpGetHeight(D4D_CHAR *pFileName)
D4D_SIZE D4D_ImgDecBmpGetSize(D4D_CHAR *pFileName)
unsigned long LWord
Type definition of LWord (unsigned 32-bit).
int D4D_ImgDecBmpGetHeader(D4D_CHAR *pFileName, void *pBuff, int max_size)
struct D4D_LONG_S::@1 Words
struct D4D_RGBA_S D4D_RGBA
union D4D_LONG_S D4D_LONG
LWord D4D_BOOL
Type definition of eGUI boolean.
char D4D_CHAR
Type definition of eGUI ASCII character.
Type definition of eGUI size structure.
struct D4D_BGRA_S D4D_BGRA
D4D_BOOL D4D_PrintScreenToBMP(D4D_CHAR *pFileName)
The function convert screen into BMP file.
unsigned short Word
Type definition of Word (unsigned 16-bit).