|
Blender
V2.93
|
Go to the source code of this file.
Macros | |
| #define | EXR_LAY_MAXNAME 64 |
| #define | EXR_PASS_MAXNAME 64 |
| #define | EXR_VIEW_MAXNAME 64 |
| #define | EXR_TOT_MAXNAME 64 |
| #define | EXR_PASS_MAXCHAN 24 |
Functions | |
| void * | IMB_exr_get_handle (void) |
| void * | IMB_exr_get_handle_name (const char *name) |
| void | IMB_exr_add_channel (void *handle, const char *layname, const char *passname, const char *view, int xstride, int ystride, float *rect, bool use_half_float) |
| int | IMB_exr_begin_read (void *handle, const char *filename, int *width, int *height) |
| int | IMB_exr_begin_write (void *handle, const char *filename, int width, int height, int compress, const struct StampData *stamp) |
| void | IMB_exrtile_begin_write (void *handle, const char *filename, int mipmap, int width, int height, int tilex, int tiley) |
| void | IMB_exr_set_channel (void *handle, const char *layname, const char *passname, int xstride, int ystride, float *rect) |
| float * | IMB_exr_channel_rect (void *handle, const char *layname, const char *passname, const char *view) |
| void | IMB_exr_read_channels (void *handle) |
| void | IMB_exr_write_channels (void *handle) |
| void | IMB_exrtile_write_channels (void *handle, int partx, int party, int level, const char *viewname, bool empty) |
| void | IMB_exr_clear_channels (void *handle) |
| void | IMB_exr_multilayer_convert (void *handle, void *base, void *(*addview)(void *base, const char *str), void *(*addlayer)(void *base, const char *str), void(*addpass)(void *base, void *lay, const char *str, float *rect, int totchan, const char *chan_id, const char *view)) |
| void | IMB_exr_close (void *handle) |
| void | IMB_exr_add_view (void *handle, const char *name) |
| bool | IMB_exr_has_multilayer (void *handle) |
| #define EXR_LAY_MAXNAME 64 |
Definition at line 30 of file openexr_multi.h.
| #define EXR_PASS_MAXCHAN 24 |
Definition at line 34 of file openexr_multi.h.
| #define EXR_PASS_MAXNAME 64 |
Definition at line 31 of file openexr_multi.h.
| #define EXR_TOT_MAXNAME 64 |
Definition at line 33 of file openexr_multi.h.
| #define EXR_VIEW_MAXNAME 64 |
Definition at line 32 of file openexr_multi.h.
| void IMB_exr_add_channel | ( | void * | handle, |
| const char * | layname, | ||
| const char * | passname, | ||
| const char * | view, | ||
| int | xstride, | ||
| int | ystride, | ||
| float * | rect, | ||
| bool | use_half_float | ||
| ) |
Definition at line 785 of file openexr_api.cpp.
References BLI_addtail(), BLI_strncpy(), data, exr_printf(), imb_exr_get_multiView_id(), imb_exr_insert_view_name(), ExrChannel::m, max, MEM_callocN, ExrChannel::name, ExrChannel::rect, ExrChannel::use_half_float, ExrChannel::view_id, ExrChannel::xstride, and ExrChannel::ystride.
Referenced by blender::compositor::add_exr_channels(), blender::compositor::OutputStereoOperation::deinitExecution(), IMB_exr_begin_read(), imb_exr_begin_read_mem(), RE_WriteRenderResult(), and render_layer_add_pass().
| void IMB_exr_add_view | ( | void * | handle, |
| const char * | name | ||
| ) |
Definition at line 711 of file openexr_api.cpp.
References data, and ExrLayer::name.
Referenced by blender::compositor::OutputOpenExrSingleLayerMultiViewOperation::get_handle(), blender::compositor::OutputOpenExrMultiLayerMultiViewOperation::get_handle(), blender::compositor::OutputStereoOperation::get_handle(), RE_WriteRenderResult(), and render_result_new().
| int IMB_exr_begin_read | ( | void * | handle, |
| const char * | filename, | ||
| int * | width, | ||
| int * | height | ||
| ) |
Definition at line 965 of file openexr_api.cpp.
References BLI_exists(), BLI_file_size(), data, height, IMB_exr_add_channel(), imb_exr_get_views(), ExrChannel::m, and width.
Referenced by render_result_exr_file_read_path().
| int IMB_exr_begin_write | ( | void * | handle, |
| const char * | filename, | ||
| int | width, | ||
| int | height, | ||
| int | compress, | ||
| const struct StampData * | stamp | ||
| ) |
Definition at line 53 of file openexr_stub.cpp.
| float* IMB_exr_channel_rect | ( | void * | handle, |
| const char * | layname, | ||
| const char * | passname, | ||
| const char * | view | ||
| ) |
Definition at line 1044 of file openexr_api.cpp.
References BLI_findstring(), BLI_snprintf(), BLI_strncpy(), data, EXR_LAY_MAXNAME, EXR_PASS_MAXNAME, EXR_TOT_MAXNAME, imb_exr_get_multiView_id(), imb_exr_insert_view_name(), max, ExrLayer::name, and ExrChannel::rect.
Referenced by blender::compositor::OutputStereoOperation::deinitExecution(), and blender::compositor::free_exr_channels().
| void IMB_exr_clear_channels | ( | void * | handle | ) |
Definition at line 1085 of file openexr_api.cpp.
References BLI_freelistN(), data, ExrChannel::m, and ExrChannel::next.
Referenced by blender::compositor::OutputOpenExrSingleLayerMultiViewOperation::get_handle(), blender::compositor::OutputOpenExrMultiLayerMultiViewOperation::get_handle(), and blender::compositor::OutputStereoOperation::get_handle().
| void IMB_exr_close | ( | void * | handle | ) |
Definition at line 1336 of file openexr_api.cpp.
References BLI_freelistN(), BLI_remlink(), data, exrhandles, ListBase::first, ExrChannel::m, MEM_freeN, ExrChannel::next, ExrPass::next, ExrLayer::next, ExrLayer::passes, and ExrPass::rect.
Referenced by BKE_movieclip_convert_multilayer_ibuf(), blender::compositor::OutputOpenExrSingleLayerMultiViewOperation::deinitExecution(), blender::compositor::OutputOpenExrMultiLayerMultiViewOperation::deinitExecution(), blender::compositor::OutputStereoOperation::deinitExecution(), blender::compositor::OutputOpenExrMultiLayerOperation::deinitExecution(), blender::compositor::OutputOpenExrSingleLayerMultiViewOperation::get_handle(), blender::compositor::OutputOpenExrMultiLayerMultiViewOperation::get_handle(), imb_exr_begin_read_mem(), RE_WriteRenderResult(), render_result_exr_file_end(), render_result_exr_file_read_path(), and studiolight_load_equirect_image().
| void* IMB_exr_get_handle | ( | void | ) |
Definition at line 686 of file openexr_api.cpp.
References BLI_addtail(), data, exrhandles, and MEM_callocN.
Referenced by blender::compositor::OutputOpenExrMultiLayerOperation::deinitExecution(), imb_exr_begin_read_mem(), IMB_exr_get_handle_name(), RE_WriteRenderResult(), render_result_exr_file_read_path(), and render_result_new().
| void* IMB_exr_get_handle_name | ( | const char * | name | ) |
Definition at line 695 of file openexr_api.cpp.
References BLI_rfindstring(), BLI_strncpy(), data, exrhandles, IMB_exr_get_handle(), and ExrLayer::name.
Referenced by blender::compositor::OutputOpenExrSingleLayerMultiViewOperation::get_handle(), blender::compositor::OutputOpenExrMultiLayerMultiViewOperation::get_handle(), and blender::compositor::OutputStereoOperation::get_handle().
| bool IMB_exr_has_multilayer | ( | void * | handle | ) |
Definition at line 1891 of file openexr_api.cpp.
References data, and imb_exr_is_multi().
Referenced by load_image_single(), and load_sequence_single().
| void IMB_exr_multilayer_convert | ( | void * | handle, |
| void * | base, | ||
| void *(*)(void *base, const char *str) | addview, | ||
| void *(*)(void *base, const char *str) | addlayer, | ||
| void(*)(void *base, void *lay, const char *str, float *rect, int totchan, const char *chan_id, const char *view) | addpass | ||
| ) |
Definition at line 1287 of file openexr_api.cpp.
References BLI_listbase_is_empty(), ExrPass::chan_id, data, ExrPass::internal_name, ExrPass::next, ExrPass::rect, ExrPass::totchan, and ExrPass::view.
Referenced by BKE_movieclip_convert_multilayer_ibuf(), render_result_new_from_exr(), and studiolight_load_equirect_image().
| void IMB_exr_read_channels | ( | void * | handle | ) |
Definition at line 1208 of file openexr_api.cpp.
References data, exr_printf(), float(), ExrChannel::m, ExrChannel::next, ExrChannel::rect, STRPREFIX, ExrChannel::xstride, and ExrChannel::ystride.
Referenced by imb_load_openexr(), and render_result_exr_file_read_path().
| void IMB_exr_set_channel | ( | void * | handle, |
| const char * | layname, | ||
| const char * | passname, | ||
| int | xstride, | ||
| int | ystride, | ||
| float * | rect | ||
| ) |
Definition at line 1014 of file openexr_api.cpp.
References BLI_findstring(), BLI_snprintf(), BLI_strncpy(), data, EXR_LAY_MAXNAME, EXR_PASS_MAXNAME, EXR_TOT_MAXNAME, ExrLayer::name, ExrChannel::rect, ExrChannel::xstride, and ExrChannel::ystride.
Referenced by render_result_exr_file_read_path(), and save_render_result_tile().
| void IMB_exr_write_channels | ( | void * | handle | ) |
Definition at line 1097 of file openexr_api.cpp.
References data, float(), float_to_half_safe(), HALF, MEM_freeN, MEM_mallocN, ExrChannel::name, ExrChannel::next, ExrChannel::rect, ExrChannel::use_half_float, ExrChannel::xstride, and ExrChannel::ystride.
Referenced by blender::compositor::OutputOpenExrSingleLayerMultiViewOperation::deinitExecution(), blender::compositor::OutputOpenExrMultiLayerMultiViewOperation::deinitExecution(), blender::compositor::OutputOpenExrMultiLayerOperation::deinitExecution(), and RE_WriteRenderResult().
| void IMB_exrtile_begin_write | ( | void * | handle, |
| const char * | filename, | ||
| int | mipmap, | ||
| int | width, | ||
| int | height, | ||
| int | tilex, | ||
| int | tiley | ||
| ) |
Definition at line 899 of file openexr_api.cpp.
References BLI_assert, data, exr_printf(), height, ExrChannel::m, ExrChannel::next, ExrChannel::use_half_float, ExrChannel::view_id, and width.
Referenced by render_result_exr_file_begin().
| void IMB_exrtile_write_channels | ( | void * | handle, |
| int | partx, | ||
| int | party, | ||
| int | level, | ||
| const char * | viewname, | ||
| bool | empty | ||
| ) |
Definition at line 1157 of file openexr_api.cpp.
References data, exr_printf(), imb_exr_get_multiView_id(), ExrChannel::m, ExrChannel::next, ExrChannel::rect, STREQ, view, ExrChannel::xstride, and ExrChannel::ystride.
Referenced by render_result_save_empty_result_tiles(), and save_render_result_tile().