Blender V5.0
openexr_stub.cpp File Reference
#include "BLI_string_ref.hh"
#include "IMB_openexr.hh"

Go to the source code of this file.

Functions

ExrHandleIMB_exr_get_handle (bool)
void IMB_exr_add_channels (ExrHandle *, blender::StringRefNull, blender::StringRefNull, blender::StringRefNull, blender::StringRefNull, size_t, size_t, float *, bool)
bool IMB_exr_begin_read (ExrHandle *, const char *, int *, int *, const bool)
bool IMB_exr_begin_write (ExrHandle *, const char *, int, int, const double[2], int, int, const StampData *)
bool IMB_exr_set_channel (ExrHandle *, blender::StringRefNull, int, int, float *)
void IMB_exr_read_channels (ExrHandle *)
void IMB_exr_write_channels (ExrHandle *)
void IMB_exr_multilayer_convert (ExrHandle *, void *, void *(*)(void *base, const char *str), void *(*)(void *base, const char *str), void(*)(void *base, void *lay, const char *str, float *rect, int totchan, const char *chan_id, const char *view))
void IMB_exr_close (ExrHandle *)
void IMB_exr_add_view (ExrHandle *, const char *)
bool IMB_exr_has_multilayer (ExrHandle *)
bool IMB_exr_get_ppm (ExrHandle *, double[2])

Function Documentation

◆ IMB_exr_add_channels()

◆ IMB_exr_add_view()

void IMB_exr_add_view ( ExrHandle * handle,
const char * name )

Definition at line 76 of file openexr_stub.cpp.

References name, and ExrHandle::views.

Referenced by BKE_image_render_write_exr().

◆ IMB_exr_begin_read()

◆ IMB_exr_begin_write()

◆ IMB_exr_close()

◆ IMB_exr_get_handle()

ExrHandle * IMB_exr_get_handle ( bool write_multipart)

◆ IMB_exr_get_ppm()

bool IMB_exr_get_ppm ( ExrHandle * handle,
double ppm[2] )

Definition at line 82 of file openexr_stub.cpp.

References exr_get_ppm(), and ExrHandle::ifile.

Referenced by render_result_new_from_exr().

◆ IMB_exr_has_multilayer()

bool IMB_exr_has_multilayer ( ExrHandle * handle)

Definition at line 77 of file openexr_stub.cpp.

References ExrHandle::ifile, and imb_exr_is_multi().

Referenced by load_image_single().

◆ IMB_exr_multilayer_convert()

void IMB_exr_multilayer_convert ( ExrHandle * ,
void * ,
void * *)(void *base, const char *str,
void * *)(void *base, const char *str,
void(*  )(void *base, void *lay, const char *str, float *rect, int totchan, const char *chan_id, const char *view) )

Definition at line 60 of file openexr_stub.cpp.

References str, and view.

◆ IMB_exr_read_channels()

◆ IMB_exr_set_channel()

bool IMB_exr_set_channel ( ExrHandle * handle,
blender::StringRefNull full_name,
int xstride,
int ystride,
float * rect )

For reading, set the rect buffer to write into.

Parameters
passnameFull channel name including layer, pass, view and channel.

Definition at line 48 of file openexr_stub.cpp.

References ExrHandle::channels, ExrChannel::name, ExrChannel::rect, ExrChannel::xstride, and ExrChannel::ystride.

Referenced by render_result_exr_file_read_path().

◆ IMB_exr_write_channels()