Skip to main content

range_luts

Function range_luts 

Source
fn range_luts(
    src_full: bool,
    dev: &DeviceFormat,
) -> (Option<&'static [u8; 256]>, Option<&'static [u8; 256]>)
Expand description

The LUTs that move src samples into the device’s range: full-range JPEG into a limited-range raw device, limited-range video into the full-range MJPEG device, or nothing when the two agree.