Blender  V3.3
openexr_api.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2005 Blender Foundation. All rights reserved. */
3 
8 #pragma once
9 
10 #include <stdio.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 void imb_initopenexr(void);
17 void imb_exitopenexr(void);
18 
23 bool imb_is_a_openexr(const unsigned char *mem, size_t size);
24 
25 bool imb_save_openexr(struct ImBuf *ibuf, const char *name, int flags);
26 
27 struct ImBuf *imb_load_openexr(const unsigned char *mem, size_t size, int flags, char *colorspace);
28 
29 struct ImBuf *imb_load_filepath_thumbnail_openexr(const char *filepath,
30  int flags,
31  size_t max_thumb_size,
32  char colorspace[],
33  size_t *r_width,
34  size_t *r_height);
35 
36 #ifdef __cplusplus
37 }
38 #endif
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition: btDbvt.cpp:52
bool imb_is_a_openexr(const unsigned char *mem, size_t size)
void imb_initopenexr(void)
struct ImBuf * imb_load_filepath_thumbnail_openexr(const char *filepath, int flags, size_t max_thumb_size, char colorspace[], size_t *r_width, size_t *r_height)
struct ImBuf * imb_load_openexr(const unsigned char *mem, size_t size, int flags, char *colorspace)
bool imb_save_openexr(struct ImBuf *ibuf, const char *name, int flags)
void imb_exitopenexr(void)