Trait dssim_core::GammaComponent[][src]

pub trait GammaComponent {
    type Lut;
    fn max_value() -> usize;
fn to_linear(&self, lut: &Self::Lut) -> f32;
fn make_lut() -> Self::Lut; }

See GammaPixel & ToRGBAPLU

Associated Types

Loading content...

Required methods

fn max_value() -> usize[src]

fn to_linear(&self, lut: &Self::Lut) -> f32[src]

fn make_lut() -> Self::Lut[src]

Loading content...

Implementations on Foreign Types

impl GammaComponent for u8[src]

type Lut = [f32; 256]

impl GammaComponent for u16[src]

type Lut = [f32; 65536]

Loading content...

Implementors

Loading content...