Expand description
Color metadata: re-exported from mediaframe::color.
mediadecode used to define these enums locally (per ITU-T H.273);
they now live in the lowest-layer mediaframe crate so colconv,
mediadecode, and scenesdetect share a single canonical definition.
Upstream renamed Color{Matrix,Primaries,Transfer,Range,Info} to
{Matrix,Primaries,Transfer,DynamicRange,Info} during the
videoframe → mediaframe rename; the disambiguated Color* names
are kept here as re-export aliases so mediadecode’s public surface
and every downstream consumer (mediadecode-ffmpeg, …) stay stable.
Structs§
- Color
Info - Bundled color metadata that rides on every video frame.
Enums§
- Chroma
Location - Chroma sample location (for subsampled YUV formats).
- Color
Matrix - Color matrix coefficients per ITU-T H.273 MatrixCoefficients (Table 4) / ISO/IEC 23001-8.
- Color
Primaries - Color primaries per ITU-T H.273 ColourPrimaries (Table 2) / ISO/IEC 23001-8.
- Color
Range - Sample range — limited (TV / studio swing) vs. full (PC).
- Color
Transfer - Transfer characteristics per ITU-T H.273 (Table 3).