Blender V5.0
openexr_api.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2005 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include <cstdio>
12
13struct ImFileColorSpace;
14
15void imb_initopenexr();
16void imb_exitopenexr();
17
22bool imb_is_a_openexr(const unsigned char *mem, size_t size);
23
24bool imb_save_openexr(struct ImBuf *ibuf, const char *filepath, int flags);
25
26struct ImBuf *imb_load_openexr(const unsigned char *mem,
27 size_t size,
28 int flags,
29 ImFileColorSpace &r_colorspace);
30
32 int flags,
33 size_t max_thumb_size,
34 ImFileColorSpace &r_colorspace,
35 size_t *r_width,
36 size_t *r_height);
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition btDbvt.cpp:52
struct ImBuf * imb_load_filepath_thumbnail_openexr(const char *filepath, int flags, size_t max_thumb_size, ImFileColorSpace &r_colorspace, size_t *r_width, size_t *r_height)
struct ImBuf * imb_load_openexr(const unsigned char *mem, size_t size, int flags, ImFileColorSpace &r_colorspace)
void imb_initopenexr()
bool imb_is_a_openexr(const unsigned char *mem, size_t size)
void imb_exitopenexr()
bool imb_save_openexr(struct ImBuf *ibuf, const char *filepath, int flags)
char filepath[IMB_FILEPATH_SIZE]