Crate moxcms

Source

Structs§

Chromaticity
CicpProfile
A Coding Independent Code Point.
ColorDateTime
ColorPrimaries
ColorProfile
ICC Profile representation
Cube
3D CLUT helper
DescriptionString
Float48
Float106
Hypercube
4D CLUT helper.
ICtCp
Jzazbz
Represents Jzazbz
Jzczhz
Represents Jzazbz in polar coordinates as Jzczhz
LCh
Representing a color in cylindrical CIE LCh(uv) color space
Lab
Holds CIE LAB values
LocalizableString
LutMultidimensionalType
Luv
Struct representing a color in CIE LUV, a.k.a. L*u*v*, color space
MalformedSize
Matrix3
Matrix3d
Matrix math helper
Matrix3f
Matrix math helper
Matrix4f
Measurement
Oklab
Struct that represent Oklab colorspace
Oklch
Represents Oklch colorspace
Rgb
Represents any RGB values
TransformOptions
Declares additional transformation options
Vector3
Vector math helper
Vector4
Vector math helper
ViewingConditions
XyY
Holds CIE XyY representation
Xyz
Holds CIE XYZ representation
Xyzd
Holds CIE XYZ representation, in double precision
Ych
Structure for cone form of Yrg colorspace
Yrg
Structure for Yrg colorspace

Enums§

BarycentricWeightScale
Barycentric interpolation weights size.
CicpColorPrimaries
See Rec. ITU-T H.273 (12/2016) Table 2 Values 0, 3, 13–21, 23–255 are all reserved so all map to the same variant
CmsError
DataColorSpace
InterpolationMethod
Defines the interpolation method.
Layout
Layout declares a data layout. For RGB it shows also the channel order. To handle different data bit-depth appropriate executor must be used. Cmyk8 uses the same layout as Rgba8.
LutStore
LutType
LutWarehouse
MatrixCoefficients
Matrix Coefficients Enum (from ISO/IEC 23091-4 / MPEG CICP)
MeasurementGeometry
ProfileClass
ProfileSignature
ProfileText
ProfileVersion
RenderingIntent
StandardIlluminant
StandardObserver
TechnologySignatures
ToneReprCurve
TransferCharacteristics
See Rec. ITU-T H.273 (12/2016) Table 3 Values 0, 3, 19–255 are all reserved so all map to the same variant

Constants§

BT2020_MATRIX
DISPLAY_P3_MATRIX
HLG_LUT_TABLE
Hybrid Log Gamma Lookup table
PQ_LUT_TABLE
Perceptual Quantizer Lookup table
SRGB_MATRIX
WHITE_POINT_D50
WHITE_POINT_D60
WHITE_POINT_D65
WHITE_POINT_DCI_P3

Traits§

InPlaceStage
Helper for intermediate transformation stages
Stage
Helper for intermediate transformation stages
TransformExecutor
Transformation executor itself

Functions§

adapt_to_d50
adapt_to_d50_d
adapt_to_illuminant
adapt_to_illuminant_d
adapt_to_illuminant_xyz
adapt_to_illuminant_xyz_d
adaption_matrix
adaption_matrix_d
atan2f
Computes Atan2
atanf
Computes Atan
cbrtf
Computes Cube Root
cie_y_1931_to_cie_y_2006
const_hypotf
Hypot suitable for const context
cosf
Computes cosine for given value
curve_from_gamma
Creates Tone Reproduction curve from gamma
exp
Computes exponent for given value
expf
Computes exponent for given value
f_atan2f
Computes Atan2 using FMA
f_atanf
Computes Atan using FMA
f_cbrtf
Computes Cube Root using FMA
f_cosf
Computes cosine for given value
f_exp
Exp using FMA
f_exp2
ULP 0.68
f_exp2f
Computing exp2f using FMA ULP 0.50175375
f_expf
Computes exponent for given value using FMA
f_log
Natural logarithm using FMA
f_log2
Natural logarithm using FMA
f_log2f
Natural logarithm using FMA
f_log10
Natural logarithm using FMA
f_logf
Natural logarithm using FMA
f_pow
Power function for given value using FMA
f_powf
Power function for given value using FMA
f_sinf
Sine function using FMA
filmlike_clip
Soft clipping out-of-bounds values in S-curve
floor
Floors value
floorf
Round to integer towards minus infinity
hypotf
Hypot function
log
Natural logarithm
log10f
Natural logarithm using FMA
logf
Natural logarithm
pow
Power function for given value
powf
Power function for given value
rounding_div_ceil
sinf
Sine function
sqrtf
Computes Square root. Most of CPU have built-in instruction with higher precision, prefer use this only for const contexts.

Type Aliases§

Transform8BitExecutor
Transform16BitExecutor
TransformF32BitExecutor
TransformF64BitExecutor
Vector3d
Vector3f
Vector3i
Vector3u
Vector4d
Vector4f
Vector4i