Constant smol_rgb::ENCODED_TO_LINEAR_LUT [−][src]
pub const ENCODED_TO_LINEAR_LUT: [f32; 256];
This is the LUT that we use. You shouldn’t really ever need to use directly, but encoded_to_linear
is just a wrapper to index into this LUT.
I have chosen to inline write this, rather than use a build script, because it’s a bit simpler.