123456789101112131415161718192021222324252627282930313233 |
- // image.h :
- //
- #if !defined(AGD_IMAGE_H__25CFBDD3_F43A_4E40_B20D_6605E1211D4E__INCLUDED_)
- #define AGD_IMAGE_H__25CFBDD3_F43A_4E40_B20D_6605E1211D4E__INCLUDED_
- #include <stdint.h>
- #include <stdbool.h>
- #ifdef __cplusplus
- extern "C" {
- #endif // __cplusplus
- /////////////////////////////////////////////////////////////////////////////
- // image.h - Declarations:
- typedef void *HIMGFILE;
- /////////////////////////////////////////////////////////////////////////////
- HIMGFILE GfaTfuImageFileOpen(const char *pszFilename, uint32_t nStartAddr, bool bReadOnly);
- void GfaTfuImageFileClose(HIMGFILE hIf);
- size_t GfaTfuImageFileGetSize(HIMGFILE hIf);
- void* GfaTfuImageFileGetData(HIMGFILE hIf);
- bool GfaTfuImageFileGetInfo(HIMGFILE hIf, LPGFA_IMG_INFO pii);
- LPCGFA_APP_IMG_HEADER GfaTfuImageFileLookupImgInfo(HIMGFILE hIf, LPGFA_IMG_INFO pii);
- bool GfaTfuImageFileMatchMaterialNum(HIMGFILE hIf, const char *pszImgMaterialNum);
- /////////////////////////////////////////////////////////////////////////////
- #ifdef __cplusplus
- }
- #endif // __cplusplus
- #endif // !defined(AGD_IMAGE_H__25CFBDD3_F43A_4E40_B20D_6605E1211D4E__INCLUDED_)
|