Struct evalchroma::PixelSize [−][src]
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
cb: (u8, u8)
cr: (u8, u8)
Trait Implementations
impl Copy for PixelSize
[src]
impl Copy for PixelSize
impl Clone for PixelSize
[src]
impl Clone for PixelSize
fn clone(&self) -> PixelSize
[src]
fn clone(&self) -> PixelSize
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PixelSize
[src]
impl Debug for PixelSize
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for PixelSize
[src]
impl PartialEq for PixelSize