Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/intern/openexr/openexr_api.h
| Show All 24 Lines | |||||
| #define __OPENEXR_API_H__ | #define __OPENEXR_API_H__ | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| #include "BLI_compiler_compat.h" | |||||
| #include "IMB_imbuf_enums.h" | |||||
| void imb_initopenexr(void); | void imb_initopenexr(void); | ||||
| void imb_exitopenexr(void); | void imb_exitopenexr(void); | ||||
| int imb_is_a_openexr(const unsigned char *mem); | int imb_is_a_openexr(const unsigned char *mem); | ||||
| int imb_save_openexr(struct ImBuf *ibuf, const char *name, int flags); | int imb_save_openexr(struct ImBuf *ibuf, const char *name, eImBufFlags flags); | ||||
| struct ImBuf *imb_load_openexr(const unsigned char *mem, size_t size, int flags, char *colorspace); | struct ImBuf *imb_load_openexr(const unsigned char *mem, | ||||
| size_t size, | |||||
| eImBufFlags flags, | |||||
| char *colorspace); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif /* __OPENEXR_API_H */ | #endif /* __OPENEXR_API_H */ | ||||