Package gov.nih.mipav.model.file
Enum libxl.JxlWhitePoint
- All Implemented Interfaces:
Serializable,Comparable<libxl.JxlWhitePoint>,java.lang.constant.Constable
- Enclosing class:
libxl
Built-in white points for color encoding. When decoding, the numerical xy
white point value can be read from the @ref JxlColorEncoding white_point
field regardless of the enum value. When encoding, enum values except
::JXL_WHITE_POINT_CUSTOM override the numerical fields. Some enum values
match a subset of CICP (Rec. ITU-T H.273 | ISO/IEC 23091-2:2019(E)), however
the white point and RGB primaries are separate enums here.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhite point must be read from the @ref JxlColorEncoding white_point field, or as ICC profile.CIE Standard Illuminant D65: 0.3127, 0.3290DCI-P3 from SMPTE RP 431-2: 0.314, 0.351CIE Standard Illuminant E (equal-energy): 1/3, 1/3 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic libxl.JxlWhitePointReturns the enum constant of this type with the specified name.static libxl.JxlWhitePoint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
JXL_WHITE_POINT_D65
CIE Standard Illuminant D65: 0.3127, 0.3290 -
JXL_WHITE_POINT_CUSTOM
White point must be read from the @ref JxlColorEncoding white_point field, or as ICC profile. This enum value is not an exact match of the corresponding CICP value. -
JXL_WHITE_POINT_E
CIE Standard Illuminant E (equal-energy): 1/3, 1/3 -
JXL_WHITE_POINT_DCI
DCI-P3 from SMPTE RP 431-2: 0.314, 0.351
-
-
Field Details
-
numVal
private final int numVal
-
-
Constructor Details
-
JxlWhitePoint
private JxlWhitePoint(int numVal)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumVal
public int getNumVal()
-