Function linear_xfer_f16

Source
pub fn linear_xfer_f16(c: &mut u16)
Expand description

Applies a linear transfer function to a 16-bit floating-point color component.

This function simulates the gamma correction process by raising the component to the power of 2.2.

Converts from sRGB to linear color space.