Blender  V3.3
Functions
openexr_api.h File Reference
#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 *name, int flags)
 
struct ImBufimb_load_openexr (const unsigned char *mem, size_t size, int flags, char *colorspace)
 
struct ImBufimb_load_filepath_thumbnail_openexr (const char *filepath, int flags, size_t max_thumb_size, char colorspace[], size_t *r_width, size_t *r_height)
 

Function Documentation

◆ imb_exitopenexr()

void imb_exitopenexr ( void  )

Definition at line 2404 of file openexr_api.cpp.

◆ imb_initopenexr()

void imb_initopenexr ( void  )

Definition at line 2396 of file openexr_api.cpp.

References BLI_system_thread_count().

◆ imb_is_a_openexr()

bool imb_is_a_openexr ( const unsigned char *  mem,
size_t  size 
)

Test presence of OpenEXR file.

Parameters
mempointer to loaded OpenEXR bit-stream.

Definition at line 399 of file openexr_api.cpp.

References size().

Referenced by imb_load_openexr().

◆ imb_load_filepath_thumbnail_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 
)

◆ imb_load_openexr()

struct ImBuf* imb_load_openexr ( const unsigned char *  mem,
size_t  size,
int  flags,
char *  colorspace 
)

◆ imb_save_openexr()

bool imb_save_openexr ( struct ImBuf ibuf,
const char *  name,
int  flags 
)