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

📄 wbmp.hep

📁 WBMP格式图片解码器
💻 HEP
字号:
#ifndef _WBMP_HEP_
#define _WBMP_HEP_

#undef GLOBAL

#if defined(WBMP_DECODER_C)
   #define GLOBAL
#else
   #define GLOBAL extern
#endif /* defined(WBMP_DECODER_C) */

GLOBAL u8 wbmp0_0Decode(u8 *pp_WBMPData,
                        u32 *pp_LengthOfConvData,
                        u8 *pp_WinBMPData,
                        u32 *pp_Width,
                        u32 *pp_Height);

GLOBAL u8 wbmp0_1PictSize( u8 *pp_WBMPData,
                        u32 *pp_LengthOfConvData,
                        u32 *pp_Width,
                        u32 *pp_Height);

#undef GLOBAL

#ifdef _WBMP_C_
#define GLOBAL	
#else
#define GLOBAL extern
#endif

/********************************************************************************/
/*							Content of Included File Start                      */
/********************************************************************************/
GLOBAL void ParseWBMP(
	Int16	xpos,                    /*X pixel position in out buffer to put the result image upper left pixel >=0*/
	Int16	ypos,                    /*Y pixel position in out buffer to put the result image upper left pixel >=0*/
	const UInt8	*buf,              /*wbmp file source data*/
	COLORBITS_t	img_color_bit, /*demand color bit of result image*/
	UInt8	*outBuffer,
	UInt16	destWidth,             /*the width of outBuffer*/
	UInt16	destHeight             /*the height of outBuffer*/
	);

GLOBAL Bool1 GetWBMPInfo(
	UInt16	*img_width, 
	UInt16	*img_height,
	const UInt8	*buf
	);
/********************************************************************************/
/*							Content of Included File End                        */
/********************************************************************************/
#undef GLOBAL


#endif /* WBMP_HEP */

⌨️ 快捷键说明

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