|
Blender V5.0
|
#include <cstdio>Go to the source code of this file.
Functions | |
| void | imb_initopenexr () |
| void | imb_exitopenexr () |
| 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, ImFileColorSpace &r_colorspace) |
| 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) |
| void imb_exitopenexr | ( | ) |
Definition at line 2377 of file openexr_api.cpp.
| void imb_initopenexr | ( | ) |
Definition at line 2369 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 404 of file openexr_api.cpp.
References size().
Referenced by imb_load_openexr().
| 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 ) |
Definition at line 2248 of file openexr_api.cpp.
References BLI_file_size(), CLOG_ERROR, ImBufFloatBuffer::data, ImBuf::float_buffer, IB_float_data, IMB_allocFromBuffer(), IMB_allocImBuf(), imb_exr_set_known_colorspace(), IMB_flipy(), IMB_freeImBuf(), LOG, and w().
| struct ImBuf * imb_load_openexr | ( | const unsigned char * | mem, |
| size_t | size, | ||
| int | flags, | ||
| ImFileColorSpace & | r_colorspace ) |
Definition at line 2051 of file openexr_api.cpp.
References BLI_YCC_ITU_BT709, CLG_LEVEL_DEBUG, CLOG_CHECK, CLOG_DEBUG, CLOG_ERROR, ImBufFloatBuffer::data, exr_get_ppm(), exr_has_alpha(), exr_has_chroma(), exr_has_luma(), exr_has_rgb(), exr_has_xyz(), exr_is_half_float(), exr_print_filecontents(), exr_rgba_channelname(), ImBuf::exrhandle, flag, ImbFormatOptions::flag, ImBuf::flags, ImBuf::float_buffer, ImBuf::foptions, ImBuf::ftype, i, IB_alphamode_detect, IB_alphamode_premul, IB_metadata, IB_multilayer, IB_test, IB_thumbnail, IMB_alloc_float_pixels(), IMB_allocImBuf(), IMB_byte_from_float(), imb_exr_begin_read_mem(), imb_exr_is_multi(), IMB_exr_read_channels(), imb_exr_set_known_colorspace(), IMB_freeImBuf(), IMB_FTYPE_OPENEXR, imb_is_a_openexr(), IMB_metadata_ensure(), IMB_metadata_set_field(), in, LOG, ImBuf::metadata, IDProperty::name, OPENEXR_HALF, openexr_header_get_compression(), ImBuf::ppm, size(), ImBuf::x, ImBuf::y, and ycc_to_rgb().
| bool imb_save_openexr | ( | struct ImBuf * | ibuf, |
| const char * | filepath, | ||
| int | flags ) |
Definition at line 748 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.