|
Blender V4.3
|
#include <stdio.h>Go to the source code of this file.
Functions | |
| void | imb_initopenexr (void) |
| void | imb_exitopenexr (void) |
| bool | imb_is_a_openexr (const unsigned char *mem, size_t size) |
| bool | imb_save_openexr (struct ImBuf *ibuf, const char *filepath, int flags) |
| struct ImBuf * | imb_load_openexr (const unsigned char *mem, size_t size, int flags, char *colorspace) |
| 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) |
| void imb_exitopenexr | ( | void | ) |
Definition at line 2389 of file openexr_api.cpp.
| void imb_initopenexr | ( | void | ) |
Definition at line 2381 of file openexr_api.cpp.
References BLI_system_thread_count().
| bool imb_is_a_openexr | ( | const unsigned char * | mem, |
| size_t | size ) |
Test presence of OpenEXR file.
| mem | pointer to loaded OpenEXR bit-stream. |
Definition at line 379 of file openexr_api.cpp.
Referenced by imb_load_openexr().
| 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 ) |
Definition at line 2271 of file openexr_api.cpp.
References BLI_file_size(), COLOR_ROLE_DEFAULT_FLOAT, colorspace_set_default_role(), ImBufFloatBuffer::data, file, ImBuf::float_buffer, IB_rectfloat, IM_MAX_SPACE, IMB_allocFromBuffer(), IMB_allocImBuf(), IMB_flipy(), int, and w().
| struct ImBuf * imb_load_openexr | ( | const unsigned char * | mem, |
| size_t | size, | ||
| int | flags, | ||
| char * | colorspace ) |
Definition at line 625 of file openexr_api.cpp.
References ImBufFloatBuffer::data, ImBuf::encoded_size, ImbFormatOptions::flag, ImBuf::float_buffer, ImBuf::foptions, IB_mem, imb_addencodedbufferImBuf(), imb_save_openexr_float(), imb_save_openexr_half(), and OPENEXR_HALF.