[][src]Module av_data::pixel

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

Chromaton

Single colorspace component definition.

Formaton

Image colorspace representation.

Enums

ChromaLocation

Values adopted from Table 4 of ISO/IEC 23001-8:2013/DCOR1.

ColorModel

All supported color models.

ColorPrimaries

Values adopted from Table 4 of ISO/IEC 23001-8:2013/DCOR1.

MatrixCoefficients

Values adopted from Table 4 of ISO/IEC 23001-8:2013/DCOR1.

TransferCharacteristic

Values adopted from Table 4 of ISO/IEC 23001-8:2013/DCOR1.

TrichromaticEncodingSystem

Trichromatic color encoding system.

YUVRange

YUV color range.

YUVSystem

All YUV color reprentations.

Traits

FromPrimitive

A generic trait for converting a number to a value.

ToPrimitive

A generic trait for converting a value to a number.