⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bmp.h

📁 2440超级bios(ads1.2 rvds2.2)通用
💻 H
字号:
#ifndef __BMP_H__
#define __BMP_H__

__packed typedef struct 
{
	U16 bfType;				// 2 byte		0x00
	U32 bfSize;				// 4 byte		0x02
	U16 bfReserved1;		// 2 byte		0x06
	U16 bfReserved2;		// 2 byte		0x08
	U32 bfOffBits;			// 4 byte		0x0E
} BMPFILEHEADER;

__packed typedef struct
{
	U32 biSize;				// 4 byte		0x12
	U32 biWidth;			// 4 byte		0x16
	U32 biHeight;			// 4 byte		0x1A
	U16 biPlanes;			// 2 byte
	U16 biBitcount;			// 2 byte
	U32 biCompession;		// 4 byte
	U32 biSizeImage;		// 4 byte
	U32 biXPelsPerMeter;	// 4 byte
	U32 biYPelsPerMeter;	// 4 byte
	U32 biClrUsed;			// 4 byte
	U32 biClrImportant;		// 4 byte
} BMPINFOHEADER;

__packed typedef struct
{
	U08 rgbBlue;
	U08 rgbGreen;
	U08 rgbRed;
	//U08 rgbReserved;
} RGBTABLE;

typedef struct
{
	U32 bmpLineByte;		//
	U32 bmpRGBBytes;		//
} BMPFORMAT;
extern void decode_bmp(U32 x,U32 y,U08 flag,U08 *pStr);

#endif	//__BMP_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -