Expand description
Expose all necessary data structures to represent pixels.
Re-exports num_traits::FromPrimitive and num_traits::cast::ToPrimitive in order to make easy to cast a parsed value into correct enum structures.
Modules§
- formats
- Ready-to-use formaton
Structs§
Enums§
- Chroma
Location - Indicates the chroma sampling grid alignment for video fields or frames using the 4:2:0 colour format (in which the two chroma arrays have half the width and half the height of the associated luma array)
- Color
Model - All supported color models.
- Color
Primaries - Indicates the chromaticity coordinates of the source colour primaries as specified in Table 2 in terms of the CIE 1931 definition of x and y as specified by ISO 11664-1.
- Matrix
Coefficients - Describes the matrix coefficients used in deriving luma and chroma signals from the green, blue and red or X, Y and Z primaries.
- Transfer
Characteristic - Either indicates the reference opto-electronic transfer characteristic function of the source picture as a function of a source input linear optical intensity input Lc with a nominal real-valued range of 0 to 1 or indicates the inverse of the reference electro-optical transfer characteristic function as a function of an output linear optical intensity Lo with a nominal real-valued range of 0 to 1.
- Trichromatic
Encoding System - Trichromatic color encoding system.
- YUVRange
- YUV color range.
- YUVSystem
- All YUV color representations.
Traits§
- From
Primitive - A generic trait for converting a number to a value.
- ToPrimitive
- A generic trait for converting a value to a number.