Enum x264::Colorspace[][src]

#[repr(u32)]
pub enum Colorspace { I420, YV12, NV12, NV21, I422, YV16, NV16, V210, I444, YV24, BGR, BGRA, RGB, }

The colorspace of an image, which details how its colors are represented.

Variants

A Y plane followed by 2x2 subsampled U and V planes.

A Y plane followed by 2x2 subsampled V and U planes.

A Y plane followed by a packed 2x2 subsampled UV plane.

A Y plane followed by a packed 2x2 subsampled VU plane.

A Y plane followed by 2x1 subsampled U and V planes.

A Y plane followed by 2x1 subsampled V and U planes.

A Y plane followed by a packed 2x1 subsampled UV plane.

A packed 32-bit UYVY plane with 10-bit components, and 2 padding bits.

A Y plane followed by U and V planes.

A Y plane followed by V and U planes.

A packed 24-bit BGR plane.

A packed 32-bit BGR plane, where the latter byte is padding.

A packed 24-bit RGB plane.

Trait Implementations

impl Debug for Colorspace
[src]

Formats the value using the given formatter. Read more

impl Hash for Colorspace
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for Colorspace
[src]

impl PartialEq for Colorspace
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for Colorspace
[src]

impl Clone for Colorspace
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<Colorspace> for Encoding
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Colorspace

impl Sync for Colorspace