Skip to main content

decode_legacy

Function decode_legacy 

Source
pub fn decode_legacy(
    output: &mut [u16],
    width: usize,
    height: usize,
    input: &[u8],
) -> Result<usize>
Expand description

Decode a raw frame using compression type 6 (legacy).

Decodes the compressed input into output (row-major u16 Bayer data). Returns the number of u16 samples written.