HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openexr_base.h File Reference
#include "openexr_conf.h"
#include <stddef.h>
+ Include dependency graph for openexr_base.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void *(* exr_memory_allocation_func_t )(size_t bytes)
 Function pointer used to hold a malloc-like routine. More...
 
typedef void(* exr_memory_free_func_t )(void *ptr)
 Function pointer used to hold a free-like routine. More...
 

Functions

EXR_EXPORT void exr_get_library_version (int *maj, int *min, int *patch, const char **extra)
 Retrieve the current library version. The extra string is for custom installs, and is a static string, do not free the returned pointer. More...
 
EXR_EXPORT void exr_set_default_maximum_image_size (int w, int h)
 Limit the size of image allowed to be parsed or created by the library. More...
 
EXR_EXPORT void exr_get_default_maximum_image_size (int *w, int *h)
 Retrieve the global default maximum image size. More...
 
EXR_EXPORT void exr_set_default_maximum_tile_size (int w, int h)
 Limit the size of an image tile allowed to be parsed or created by the library. More...
 
EXR_EXPORT void exr_get_default_maximum_tile_size (int *w, int *h)
 Retrieve the global maximum tile size. More...
 
EXR_EXPORT void exr_set_default_zip_compression_level (int l)
 Assigns a default zip compression level. More...
 
EXR_EXPORT void exr_get_default_zip_compression_level (int *l)
 Retrieve the global default zip compression value. More...
 
EXR_EXPORT void exr_set_default_dwa_compression_quality (float q)
 Assigns a default DWA compression quality level. More...
 
EXR_EXPORT void exr_get_default_dwa_compression_quality (float *q)
 Retrieve the global default dwa compression quality. More...
 
EXR_EXPORT void exr_set_default_memory_routines (exr_memory_allocation_func_t alloc_func, exr_memory_free_func_t free_func)
 Allow the user to override default allocator used internal allocations necessary for files, attributes, and other temporary memory. More...
 

Function Documentation

EXR_EXPORT void exr_get_library_version ( int maj,
int min,
int patch,
const char **  extra 
)

Retrieve the current library version. The extra string is for custom installs, and is a static string, do not free the returned pointer.