Skip to main content

Module cicp

Module cicp 

Source
Expand description

Full re-export of zenpixels core types (zero module name collisions!). CICP (Coding-Independent Code Points, ITU-T H.273 / ISO 23091-2) and ICC.1 cicpType tag codec including the 2026-10-19 custom-primaries extension.

Structs§

Cicp
4-byte ITU-T H.273 color description (CP, TC, MC, full_range).
CicpTag
ICC.1:2022 §10.3 cicpType tag payload, including the ICC custom-primaries amendment (approved 2026-10-19).
MatrixCoefficients
1-byte lossless ITU-T H.273 Table 4 MatrixCoefficients code.

Enums§

CicpError
Failure parsing a raw wire CICP payload or projecting a Cicp / CicpTag into an RGB ColorSpace.
CicpProjectionError
Failure projecting a ColorSpace losslessly to an ITU-T H.273 Cicp tuple.

Functions§

color_primaries_name
Human-readable ITU-T H.273 Table 2 ColourPrimaries label.
matrix_coefficients_name
Human-readable ITU-T H.273 Table 4 MatrixCoefficients label.
transfer_characteristics_name
Human-readable ITU-T H.273 Table 3 TransferCharacteristics label.