HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages

These are a group of functions for attributes that use the builtin types. More...

+ Collaboration diagram for Attribute utilities for builtin types:

Functions

EXR_EXPORT exr_result_t exr_attr_get_box2i (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_box2i_t *outval)
 
EXR_EXPORT exr_result_t exr_attr_set_box2i (exr_context_t ctxt, int part_index, const char *name, const exr_attr_box2i_t *val)
 
EXR_EXPORT exr_result_t exr_attr_get_box2f (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_box2f_t *outval)
 
EXR_EXPORT exr_result_t exr_attr_set_box2f (exr_context_t ctxt, int part_index, const char *name, const exr_attr_box2f_t *val)
 
EXR_EXPORT exr_result_t exr_attr_get_channels (exr_const_context_t ctxt, int part_index, const char *name, const exr_attr_chlist_t **chlist)
 Zero-copy query of channel data. More...
 
EXR_EXPORT exr_result_t exr_attr_set_channels (exr_context_t ctxt, int part_index, const char *name, const exr_attr_chlist_t *channels)
 This allows one to quickly copy the channels from one file to another. More...
 
EXR_EXPORT exr_result_t exr_attr_get_chromaticities (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_chromaticities_t *chroma)
 
EXR_EXPORT exr_result_t exr_attr_set_chromaticities (exr_context_t ctxt, int part_index, const char *name, const exr_attr_chromaticities_t *chroma)
 
EXR_EXPORT exr_result_t exr_attr_get_compression (exr_const_context_t ctxt, int part_index, const char *name, exr_compression_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_compression (exr_context_t ctxt, int part_index, const char *name, exr_compression_t comp)
 
EXR_EXPORT exr_result_t exr_attr_get_double (exr_const_context_t ctxt, int part_index, const char *name, double *out)
 
EXR_EXPORT exr_result_t exr_attr_set_double (exr_context_t ctxt, int part_index, const char *name, double val)
 
EXR_EXPORT exr_result_t exr_attr_get_envmap (exr_const_context_t ctxt, int part_index, const char *name, exr_envmap_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_envmap (exr_context_t ctxt, int part_index, const char *name, exr_envmap_t emap)
 
EXR_EXPORT exr_result_t exr_attr_get_float (exr_const_context_t ctxt, int part_index, const char *name, float *out)
 
EXR_EXPORT exr_result_t exr_attr_set_float (exr_context_t ctxt, int part_index, const char *name, float val)
 
EXR_EXPORT exr_result_t exr_attr_get_float_vector (exr_const_context_t ctxt, int part_index, const char *name, int32_t *sz, const float **out)
 Zero-copy query of float data. More...
 
EXR_EXPORT exr_result_t exr_attr_set_float_vector (exr_context_t ctxt, int part_index, const char *name, int32_t sz, const float *vals)
 
EXR_EXPORT exr_result_t exr_attr_get_int (exr_const_context_t ctxt, int part_index, const char *name, int32_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_int (exr_context_t ctxt, int part_index, const char *name, int32_t val)
 
EXR_EXPORT exr_result_t exr_attr_get_keycode (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_keycode_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_keycode (exr_context_t ctxt, int part_index, const char *name, const exr_attr_keycode_t *kc)
 
EXR_EXPORT exr_result_t exr_attr_get_lineorder (exr_const_context_t ctxt, int part_index, const char *name, exr_lineorder_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_lineorder (exr_context_t ctxt, int part_index, const char *name, exr_lineorder_t lo)
 
EXR_EXPORT exr_result_t exr_attr_get_m33f (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_m33f_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_m33f (exr_context_t ctxt, int part_index, const char *name, const exr_attr_m33f_t *m)
 
EXR_EXPORT exr_result_t exr_attr_get_m33d (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_m33d_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_m33d (exr_context_t ctxt, int part_index, const char *name, const exr_attr_m33d_t *m)
 
EXR_EXPORT exr_result_t exr_attr_get_m44f (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_m44f_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_m44f (exr_context_t ctxt, int part_index, const char *name, const exr_attr_m44f_t *m)
 
EXR_EXPORT exr_result_t exr_attr_get_m44d (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_m44d_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_m44d (exr_context_t ctxt, int part_index, const char *name, const exr_attr_m44d_t *m)
 
EXR_EXPORT exr_result_t exr_attr_get_preview (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_preview_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_preview (exr_context_t ctxt, int part_index, const char *name, const exr_attr_preview_t *p)
 
EXR_EXPORT exr_result_t exr_attr_get_rational (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_rational_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_rational (exr_context_t ctxt, int part_index, const char *name, const exr_attr_rational_t *r)
 
EXR_EXPORT exr_result_t exr_attr_get_string (exr_const_context_t ctxt, int part_index, const char *name, int32_t *length, const char **out)
 Zero-copy query of string value. More...
 
EXR_EXPORT exr_result_t exr_attr_set_string (exr_context_t ctxt, int part_index, const char *name, const char *s)
 
EXR_EXPORT exr_result_t exr_attr_get_string_vector (exr_const_context_t ctxt, int part_index, const char *name, int32_t *size, const char **out)
 Zero-copy query of string data. More...
 
EXR_EXPORT exr_result_t exr_attr_set_string_vector (exr_context_t ctxt, int part_index, const char *name, int32_t size, const char **sv)
 
EXR_EXPORT exr_result_t exr_attr_get_tiledesc (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_tiledesc_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_tiledesc (exr_context_t ctxt, int part_index, const char *name, const exr_attr_tiledesc_t *td)
 
EXR_EXPORT exr_result_t exr_attr_get_timecode (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_timecode_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_timecode (exr_context_t ctxt, int part_index, const char *name, const exr_attr_timecode_t *tc)
 
EXR_EXPORT exr_result_t exr_attr_get_v2i (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_v2i_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_v2i (exr_context_t ctxt, int part_index, const char *name, const exr_attr_v2i_t *v)
 
EXR_EXPORT exr_result_t exr_attr_get_v2f (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_v2f_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_v2f (exr_context_t ctxt, int part_index, const char *name, const exr_attr_v2f_t *v)
 
EXR_EXPORT exr_result_t exr_attr_get_v2d (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_v2d_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_v2d (exr_context_t ctxt, int part_index, const char *name, const exr_attr_v2d_t *v)
 
EXR_EXPORT exr_result_t exr_attr_get_v3i (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_v3i_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_v3i (exr_context_t ctxt, int part_index, const char *name, const exr_attr_v3i_t *v)
 
EXR_EXPORT exr_result_t exr_attr_get_v3f (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_v3f_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_v3f (exr_context_t ctxt, int part_index, const char *name, const exr_attr_v3f_t *v)
 
EXR_EXPORT exr_result_t exr_attr_get_v3d (exr_const_context_t ctxt, int part_index, const char *name, exr_attr_v3d_t *out)
 
EXR_EXPORT exr_result_t exr_attr_set_v3d (exr_context_t ctxt, int part_index, const char *name, const exr_attr_v3d_t *v)
 
EXR_EXPORT exr_result_t exr_attr_get_user (exr_const_context_t ctxt, int part_index, const char *name, const char **type, int32_t *size, const void **out)
 
EXR_EXPORT exr_result_t exr_attr_set_user (exr_context_t ctxt, int part_index, const char *name, const char *type, int32_t size, const void *out)
 

Detailed Description

These are a group of functions for attributes that use the builtin types.

Function Documentation

EXR_EXPORT exr_result_t exr_attr_get_box2f ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_box2f_t outval 
)
EXR_EXPORT exr_result_t exr_attr_get_box2i ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_box2i_t outval 
)
EXR_EXPORT exr_result_t exr_attr_get_channels ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_chlist_t **  chlist 
)

Zero-copy query of channel data.

Do not free or manipulate the chlist data, or use after the lifetime of the context.

EXR_EXPORT exr_result_t exr_attr_get_chromaticities ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_chromaticities_t chroma 
)
EXR_EXPORT exr_result_t exr_attr_get_compression ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_compression_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_double ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
double *  out 
)
EXR_EXPORT exr_result_t exr_attr_get_envmap ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_envmap_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_float ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
float out 
)
EXR_EXPORT exr_result_t exr_attr_get_float_vector ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
int32_t *  sz,
const float **  out 
)

Zero-copy query of float data.

Do not free or manipulate the out data, or use after the lifetime of the context.

EXR_EXPORT exr_result_t exr_attr_get_int ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
int32_t *  out 
)
EXR_EXPORT exr_result_t exr_attr_get_keycode ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_keycode_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_lineorder ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_lineorder_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_m33d ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_m33d_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_m33f ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_m33f_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_m44d ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_m44d_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_m44f ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_m44f_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_preview ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_preview_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_rational ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_rational_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_string ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
int32_t *  length,
const char **  out 
)

Zero-copy query of string value.

Do not modify the string pointed to by out, and do not use after the lifetime of the context.

EXR_EXPORT exr_result_t exr_attr_get_string_vector ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
int32_t *  size,
const char **  out 
)

Zero-copy query of string data.

Do not free the strings pointed to by the array.

Must provide size.

out must be a const char** array large enough to hold the string pointers for the string vector when provided.

EXR_EXPORT exr_result_t exr_attr_get_tiledesc ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_tiledesc_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_timecode ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_timecode_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_user ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
const char **  type,
int32_t *  size,
const void **  out 
)
EXR_EXPORT exr_result_t exr_attr_get_v2d ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_v2d_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_v2f ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_v2f_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_v2i ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_v2i_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_v3d ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_v3d_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_v3f ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_v3f_t out 
)
EXR_EXPORT exr_result_t exr_attr_get_v3i ( exr_const_context_t  ctxt,
int  part_index,
const char *  name,
exr_attr_v3i_t out 
)
EXR_EXPORT exr_result_t exr_attr_set_box2f ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_box2f_t val 
)
EXR_EXPORT exr_result_t exr_attr_set_box2i ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_box2i_t val 
)
EXR_EXPORT exr_result_t exr_attr_set_channels ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_chlist_t channels 
)

This allows one to quickly copy the channels from one file to another.

EXR_EXPORT exr_result_t exr_attr_set_chromaticities ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_chromaticities_t chroma 
)
EXR_EXPORT exr_result_t exr_attr_set_compression ( exr_context_t  ctxt,
int  part_index,
const char *  name,
exr_compression_t  comp 
)
EXR_EXPORT exr_result_t exr_attr_set_double ( exr_context_t  ctxt,
int  part_index,
const char *  name,
double  val 
)
EXR_EXPORT exr_result_t exr_attr_set_envmap ( exr_context_t  ctxt,
int  part_index,
const char *  name,
exr_envmap_t  emap 
)
EXR_EXPORT exr_result_t exr_attr_set_float ( exr_context_t  ctxt,
int  part_index,
const char *  name,
float  val 
)
EXR_EXPORT exr_result_t exr_attr_set_float_vector ( exr_context_t  ctxt,
int  part_index,
const char *  name,
int32_t  sz,
const float vals 
)
EXR_EXPORT exr_result_t exr_attr_set_int ( exr_context_t  ctxt,
int  part_index,
const char *  name,
int32_t  val 
)
EXR_EXPORT exr_result_t exr_attr_set_keycode ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_keycode_t kc 
)
EXR_EXPORT exr_result_t exr_attr_set_lineorder ( exr_context_t  ctxt,
int  part_index,
const char *  name,
exr_lineorder_t  lo 
)
EXR_EXPORT exr_result_t exr_attr_set_m33d ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_m33d_t m 
)
EXR_EXPORT exr_result_t exr_attr_set_m33f ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_m33f_t m 
)
EXR_EXPORT exr_result_t exr_attr_set_m44d ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_m44d_t m 
)
EXR_EXPORT exr_result_t exr_attr_set_m44f ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_m44f_t m 
)
EXR_EXPORT exr_result_t exr_attr_set_preview ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_preview_t p 
)
EXR_EXPORT exr_result_t exr_attr_set_rational ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_rational_t r 
)
EXR_EXPORT exr_result_t exr_attr_set_string ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const char *  s 
)
EXR_EXPORT exr_result_t exr_attr_set_string_vector ( exr_context_t  ctxt,
int  part_index,
const char *  name,
int32_t  size,
const char **  sv 
)
EXR_EXPORT exr_result_t exr_attr_set_tiledesc ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_tiledesc_t td 
)
EXR_EXPORT exr_result_t exr_attr_set_timecode ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_timecode_t tc 
)
EXR_EXPORT exr_result_t exr_attr_set_user ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const char *  type,
int32_t  size,
const void out 
)
EXR_EXPORT exr_result_t exr_attr_set_v2d ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_v2d_t v 
)
EXR_EXPORT exr_result_t exr_attr_set_v2f ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_v2f_t v 
)
EXR_EXPORT exr_result_t exr_attr_set_v2i ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_v2i_t v 
)
EXR_EXPORT exr_result_t exr_attr_set_v3d ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_v3d_t v 
)
EXR_EXPORT exr_result_t exr_attr_set_v3f ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_v3f_t v 
)
EXR_EXPORT exr_result_t exr_attr_set_v3i ( exr_context_t  ctxt,
int  part_index,
const char *  name,
const exr_attr_v3i_t v 
)