[][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

There are available multiple constructor for yuv/rgb

Formaton

Complete Video format representation

Enums

ChromaLocation

The enum values are adopted from Table 4 of ISO/IEC 23001-8:2013/DCOR1

ColorModel
ColorPrimaries

The enum values are adopted from Table 4 of ISO/IEC 23001-8:2013/DCOR1

MatrixCoefficients

The enum values are adopted from Table 4 of ISO/IEC 23001-8:2013/DCOR1

TransferCharacteristic

The enum values are adopted from Table 4 of ISO/IEC 23001-8:2013/DCOR1

TrichromaticEncodingSystem
YUVRange
YUVSystem

Traits

FromPrimitive

A generic trait for converting a number to a value.

ToPrimitive

A generic trait for converting a value to a number.