Enum jpeg_encoder::SamplingFactor [−][src]
#[repr(u8)] pub enum SamplingFactor {}Show variants
F_1_1, F_2_1, F_1_2, F_2_2, F_4_1, F_4_2, F_1_4, F_2_4, R_4_4_4, R_4_4_0, R_4_4_1, R_4_2_2, R_4_2_0, R_4_2_1, R_4_1_1, R_4_1_0,
Expand description
Sampling factors for chroma subsampling
Warning
Sampling factor of 4 are not supported by all decoders or applications
Variants
Alias for F_1_1
Alias for F_1_2
Alias for F_1_4
Alias for F_2_1
Alias for F_2_2
Alias for F_2_4
Alias for F_4_1
Alias for F_4_2
Implementations
Get variant for supplied factors or None if not supported
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SamplingFactor
impl Send for SamplingFactor
impl Sync for SamplingFactor
impl Unpin for SamplingFactor
impl UnwindSafe for SamplingFactor
Blanket Implementations
Mutably borrows from an owned value. Read more