wbmp.hep
来自「WBMP格式图片解码器」· HEP 代码 · 共 56 行
HEP
56 行
#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 + =
减小字号Ctrl + -
显示快捷键?