A class representing an enumeration of supported formats in which pixel values can be stored. More...
#include <ValueType.hpp>
Static Public Attributes | |
| static constexpr ValueType | ANY = ValueType(ValueType::value_ANY, 0, 0) |
| Any format (used when describing inputs or outputs of an ImageOperation). | |
| static constexpr ValueType | ANYINT = ValueType(ValueType::value_ANYINT, 0, 0) |
| Any integral format. | |
| static constexpr ValueType | ANYFLOAT = ValueType(ValueType::value_ANYFLOAT, 0, 0) |
| Any floating point format. | |
| static constexpr ValueType | SAME = ValueType(ValueType::value_SAME, 0, 0) |
| Special kind of format that is used when the type of output should match the type of input. | |
| static constexpr ValueType | uint1 = ValueType(ValueType::value_uint1, 1, BYTES_SH(sizeof(bool))) |
| 1-bit unsigned integer. | |
| static constexpr ValueType | uint8 = ValueType(ValueType::value_uint8, 8, BYTES_SH(sizeof(uint8_t))) |
| 8-bit unsigned integer. | |
| static constexpr ValueType | uint16 = ValueType(ValueType::value_uint16, 16, BYTES_SH(sizeof(uint16_t))) |
| 16-bit unsigned integer. | |
| static constexpr ValueType | uint32 = ValueType(ValueType::value_uint32, 32, BYTES_SH(sizeof(uint32_t))) |
| 32-bit unsigned integer. | |
| static constexpr ValueType | uint64 = ValueType(ValueType::value_uint64, 64, BYTES_SH(sizeof(uint64_t))) |
| 64-bit unsigned integer. | |
| static constexpr ValueType | floatval = ValueType(ValueType::value_float, 32, FLOAT_SH(1) | BYTES_SH(4)) |
| 32-bit floating point format. | |
| static constexpr ValueType | doubleval = ValueType(ValueType::value_double, 64, FLOAT_SH(1) | BYTES_SH(0)) |
| 64-bit floating point format (aka double). | |
A class representing an enumeration of supported formats in which pixel values can be stored.
This class defines a set of static constant expressions that can AND SHOULD be used when working with ValueType.
1.8.4