HDK
|
These are a group of enum values defining valid values for some attributes and then associated structs for other types. More...
Classes | |
struct | exr_attr_chromaticities_t |
Struct to hold color chromaticities to interpret the tristimulus color values in the image data. More... | |
struct | exr_attr_keycode_t |
Struct to hold keycode information. More... | |
struct | exr_attr_m33f_t |
struct to hold a 32-bit floating-point 3x3 matrix. More... | |
struct | exr_attr_m33d_t |
struct to hold a 64-bit floating-point 3x3 matrix. More... | |
struct | exr_attr_m44f_t |
Struct to hold a 32-bit floating-point 4x4 matrix. More... | |
struct | exr_attr_m44d_t |
Struct to hold a 64-bit floating-point 4x4 matrix. More... | |
struct | exr_attr_rational_t |
Struct to hold an integer ratio value. More... | |
struct | exr_attr_timecode_t |
Struct to hold timecode information. More... | |
struct | exr_attr_v2i_t |
Struct to hold a 2-element integer vector. More... | |
struct | exr_attr_v2f_t |
Struct to hold a 2-element 32-bit float vector. More... | |
struct | exr_attr_v2d_t |
Struct to hold a 2-element 64-bit float vector. More... | |
struct | exr_attr_v3i_t |
Struct to hold a 3-element integer vector. More... | |
struct | exr_attr_v3f_t |
Struct to hold a 3-element 32-bit float vector. More... | |
struct | exr_attr_v3d_t |
Struct to hold a 3-element 64-bit float vector. More... | |
struct | exr_attr_box2i_t |
Struct to hold an integer box/region definition. More... | |
struct | exr_attr_box2f_t |
Struct to hold a floating-point box/region definition. More... | |
struct | exr_attr_tiledesc_t |
Struct holding base tiledesc attribute type defined in spec. More... | |
struct | exr_attr_string_t |
struct | exr_attr_string_vector_t |
struct | exr_attr_float_vector_t |
struct | exr_attr_chlist_entry_t |
struct | exr_attr_chlist_t |
struct | exr_attr_preview_t |
Struct to define attributes of an embedded preview image. More... | |
struct | exr_attr_opaquedata_t |
struct | exr_attribute_t |
Storage, name and type information for an attribute. More... | |
Macros | |
#define | EXR_GET_TILE_LEVEL_MODE(tiledesc) ((exr_tile_level_mode_t) (((tiledesc).level_and_round) & 0xF)) |
Macro to access type of tiling from packed structure. More... | |
#define | EXR_GET_TILE_ROUND_MODE(tiledesc) ((exr_tile_round_mode_t) ((((tiledesc).level_and_round) >> 4) & 0xF)) |
Macro to access the rounding mode of tiling from packed structure. More... | |
#define | EXR_PACK_TILE_LEVEL_ROUND(lvl, mode) ((uint8_t) ((((uint8_t) ((mode) &0xF) << 4)) | ((uint8_t) ((lvl) &0xF)))) |
Macro to pack the tiling type and rounding mode into packed structure. More... | |
These are a group of enum values defining valid values for some attributes and then associated structs for other types.
Some of these types will be directly representable/storable in the file, some not. There is some overlap here with Imath, and they should be kept in the same order for compatibility. However do note that these are just the raw data, and no useful functions are declared at this layer, that is what Imath is for.
#define EXR_GET_TILE_LEVEL_MODE | ( | tiledesc | ) | ((exr_tile_level_mode_t) (((tiledesc).level_and_round) & 0xF)) |
Macro to access type of tiling from packed structure.
Definition at line 280 of file openexr_attr.h.
#define EXR_GET_TILE_ROUND_MODE | ( | tiledesc | ) | ((exr_tile_round_mode_t) ((((tiledesc).level_and_round) >> 4) & 0xF)) |
Macro to access the rounding mode of tiling from packed structure.
Definition at line 283 of file openexr_attr.h.
#define EXR_PACK_TILE_LEVEL_ROUND | ( | lvl, | |
mode | |||
) | ((uint8_t) ((((uint8_t) ((mode) &0xF) << 4)) | ((uint8_t) ((lvl) &0xF)))) |
Macro to pack the tiling type and rounding mode into packed structure.
Definition at line 286 of file openexr_attr.h.
enum exr_attribute_type_t |
Built-in/native attribute type enum.
This will enable us to do a tagged type struct to generically store attributes.
Enumerator | |
---|---|
EXR_ATTR_UNKNOWN |
Type indicating an error or uninitialized attribute. |
EXR_ATTR_BOX2I |
Integer region definition.
|
EXR_ATTR_BOX2F |
Float region definition.
|
EXR_ATTR_CHLIST |
Definition of channels in file
|
EXR_ATTR_CHROMATICITIES |
Values to specify color space of colors in file
|
EXR_ATTR_COMPRESSION |
|
EXR_ATTR_DOUBLE |
Double precision floating point number. |
EXR_ATTR_ENVMAP |
|
EXR_ATTR_FLOAT |
Normal (4 byte) precision floating point number. |
EXR_ATTR_FLOAT_VECTOR |
List of normal (4 byte) precision floating point numbers. |
EXR_ATTR_INT |
32-bit signed integer value. |
EXR_ATTR_KEYCODE |
Struct recording keycode
|
EXR_ATTR_LINEORDER |
|
EXR_ATTR_M33F |
9 32-bit floats representing a 3x3 matrix. |
EXR_ATTR_M33D |
9 64-bit floats representing a 3x3 matrix. |
EXR_ATTR_M44F |
16 32-bit floats representing a 4x4 matrix. |
EXR_ATTR_M44D |
16 64-bit floats representing a 4x4 matrix. |
EXR_ATTR_PREVIEW |
2 |
EXR_ATTR_RATIONAL |
|
EXR_ATTR_STRING |
|
EXR_ATTR_STRING_VECTOR |
0 or more text strings (int + string). number is based on attribute size. |
EXR_ATTR_TILEDESC |
2 |
EXR_ATTR_TIMECODE |
2 |
EXR_ATTR_V2I |
Pair of 32-bit integers. |
EXR_ATTR_V2F |
Pair of 32-bit floats. |
EXR_ATTR_V2D |
Pair of 64-bit floats. |
EXR_ATTR_V3I |
Set of 3 32-bit integers. |
EXR_ATTR_V3F |
Set of 3 32-bit floats. |
EXR_ATTR_V3D |
Set of 3 64-bit floats. |
EXR_ATTR_OPAQUE |
User/unknown provided type. |
EXR_ATTR_LAST_KNOWN_TYPE |
Definition at line 421 of file openexr_attr.h.
enum exr_compression_t |
Enum declaring allowed values for uint8_t
value stored in built-in compression type.
Definition at line 36 of file openexr_attr.h.
enum exr_envmap_t |
Enum declaring allowed values for uint8_t
value stored in built-in env map type.
Enumerator | |
---|---|
EXR_ENVMAP_LATLONG | |
EXR_ENVMAP_CUBE | |
EXR_ENVMAP_LAST_TYPE |
Invalid value, provided for range checking. |
Definition at line 52 of file openexr_attr.h.
enum exr_lineorder_t |
Enum declaring allowed values for uint8_t
value stored in lineOrder
type.
Enumerator | |
---|---|
EXR_LINEORDER_INCREASING_Y | |
EXR_LINEORDER_DECREASING_Y | |
EXR_LINEORDER_RANDOM_Y | |
EXR_LINEORDER_LAST_TYPE |
Invalid value, provided for range checking. |
Definition at line 60 of file openexr_attr.h.
Hint for lossy compression methods about how to treat values (logarithmic or linear), meaning a human sees values like R, G, B, luminance difference between 0.1 and 0.2 as about the same as 1.0 to 2.0 (logarithmic), where chroma coordinates are closer to linear (0.1 and 0.2 is about the same difference as 1.0 and 1.1).
Enumerator | |
---|---|
EXR_PERCEPTUALLY_LOGARITHMIC | |
EXR_PERCEPTUALLY_LINEAR |
Definition at line 330 of file openexr_attr.h.
enum exr_pixel_type_t |
Enum capturing the underlying data type on a channel.
Enumerator | |
---|---|
EXR_PIXEL_UINT | |
EXR_PIXEL_HALF | |
EXR_PIXEL_FLOAT | |
EXR_PIXEL_LAST_TYPE |
Definition at line 96 of file openexr_attr.h.
enum exr_storage_t |
Enum declaring allowed values for part type.
Definition at line 69 of file openexr_attr.h.
Enum representing what type of tile information is contained.
Definition at line 79 of file openexr_attr.h.
Enum representing how to scale positions between levels.
Enumerator | |
---|---|
EXR_TILE_ROUND_DOWN | |
EXR_TILE_ROUND_UP | |
EXR_TILE_ROUND_LAST_TYPE |
Definition at line 88 of file openexr_attr.h.