Skip to main content

decode

Function decode 

Source
pub fn decode(
    data: &[u8],
    p: &OlympusParams,
    out: &mut [u16],
    width: usize,
    height: usize,
) -> Result<()>
Expand description

Decode a full width x height frame into out (row-major, width stride). data starts at the stream header. Returns an error on malformed parameters or a stream that runs out of data.