Skip to main content

decode_v4

Function decode_v4 

Source
pub fn decode_v4(
    s: &BlockedStream<'_>,
    width: usize,
    height: usize,
    out: &mut [u16],
    parallel: bool,
) -> Result<()>
Expand description

Decode a format-4 image (width * height samples into out). Rows are independent when width is a multiple of 14 (always the case in practice); otherwise the stream is decoded sequentially.