Struct evalchroma::PixelSize[][src]

pub struct PixelSize {
    pub cb: (u8, u8),
    pub cr: (u8, u8),
}

This is subsampling expressed as scale relative to luma (i.e. inverse of the way how libjpeg counts number of samples per channel), e.g. (2,2) means 1 chroma sample per 4 luma samples.

Fields

Trait Implementations

impl Copy for PixelSize
[src]

impl Clone for PixelSize
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PixelSize
[src]

Formats the value using the given formatter. Read more

impl PartialEq for PixelSize
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for PixelSize

impl Sync for PixelSize