Crate moxcms

Source

Structs§

Array3D
3D CLUT helper
Array4D
4D CLUT helper
Chromacity
ChromacityTriple
CicpProfile
Representation of Coding Independent Code Point
ColorDateTime
ColorProfile
ICC Profile representation
DescriptionString
LCh
Representing a color in cylindrical CIE LCh(uv) color space
Lab
Holds CIE LAB values
LocalizableString
LutMCurvesType
Luv
Struct representing a color in CIE LUV, a.k.a. L*u*v*, color space
Matrix3f
Matrix math helper
Matrix4f
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
Ych
Yrg

Enums§

CmsError
ColorPrimaries
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
DataColorSpace
Layout
Layout declares a data layout. For RGB it shows also the channel order. 8, and 16 bits it is storage size, not a data size. To handle different data bit-depth appropriate executor must be used. Cmyk8 uses the same layout as Rgba8.
LutType
LutWarehouse
MatrixCoefficients
Matrix Coefficients Enum (from ISO/IEC 23091-4 / MPEG CICP)
ProfileClass
ProfileSignature
ProfileText
ProfileVersion
RenderingIntent
StandardObserver
TechnologySignatures
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
SRGB_MATRIX

Traits§

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

Functions§

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
exp
Computes exponent for given value
expf
Computes exponent for given value
floor
Floors value
floorf
Round to integer towards minus infinity
gamut_clip_adaptive_l0_0_5
gamut_clip_adaptive_l0_l_cusp
gamut_clip_preserve_chroma
gamut_clip_project_to_l_cusp
hypotf
Hypot function
log
Natural logarithm
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
Vector3f
Vector3i
Vector3u
Vector4f