24#define EXR_LAY_MAXNAME 64
25#define EXR_PASS_MAXNAME 64
26#define EXR_VIEW_MAXNAME 64
27#define EXR_TOT_MAXNAME 64
29#define EXR_PASS_MAXCHAN 24
56 StringRefNull layerpassname,
57 StringRefNull channelnames,
58 StringRefNull viewname,
73 const StampData *stamp);
105 int display_offset[2],
151 const char *src_colorspace =
nullptr,
152 bool predivide =
false);
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
int2 IMB_exr_get_size(ExrReadHandle *handle)
ExrReadHandle * IMB_exr_open(const char *filepath)
void IMB_exr_write_pass(ExrWriteHandle *handle, StringRefNull layerpassname, StringRefNull channelnames, StringRefNull viewname, StringRefNull colorspace, size_t xstride, size_t ystride, const float *rect, bool use_half_float)
bool IMB_exr_write_end(ExrWriteHandle *handle, const char *filepath, int width, int height, const double ppm[2], int compress, int quality, const StampData *stamp)
ExrReadHandle * IMB_exr_open_multilayer(const char *filepath)
void IMB_exr_get_display_window(ExrReadHandle *handle, int display_size[2], int display_offset[2], int data_offset[2])
void IMB_exr_write_view(ExrWriteHandle *handle, const char *viewname)
Vector< StringRefNull > IMB_exr_get_views(ExrReadHandle *handle)
bool IMB_exr_get_ppm(ExrReadHandle *handle, double ppm[2])
ExrWriteHandle * IMB_exr_write_begin(bool write_multipart=false)
void IMB_exr_close(ExrReadHandle *handle)
ExrReadHandle * IMB_exr_open_multilayer_from_memory(const uchar *mem, size_t size)
Vector< ExrPassInfo > IMB_exr_get_passes(ExrReadHandle *handle)
void IMB_exr_read_passes(ExrReadHandle *handle, MutableSpan< ExrPassInfo > entries, const char *src_colorspace=nullptr, bool predivide=false)