Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/intern/oiio/openimageio_api.h
| Show All 18 Lines | |||||
| /** \file | /** \file | ||||
| * \ingroup openimageio | * \ingroup openimageio | ||||
| */ | */ | ||||
| #ifndef __OPENIMAGEIO_API_H__ | #ifndef __OPENIMAGEIO_API_H__ | ||||
| #define __OPENIMAGEIO_API_H__ | #define __OPENIMAGEIO_API_H__ | ||||
| #include "BLI_compiler_compat.h" | |||||
| #include "IMB_imbuf_enums.h" | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| struct ImBuf; | struct ImBuf; | ||||
| int imb_is_a_photoshop(const char *name); | int imb_is_a_photoshop(const char *name); | ||||
| int imb_save_photoshop(struct ImBuf *ibuf, const char *name, int flags); | int imb_save_photoshop(struct ImBuf *ibuf, const char *name, eImBufFlags flags); | ||||
| struct ImBuf *imb_load_photoshop(const char *name, int flags, char *colorspace); | struct ImBuf *imb_load_photoshop(const char *name, eImBufFlags flags, char *colorspace); | ||||
| int OIIO_getVersionHex(void); | int OIIO_getVersionHex(void); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif /* __OPENIMAGEIO_API_H__ */ | #endif /* __OPENIMAGEIO_API_H__ */ | ||||