Skip to main content

scratch_len

Function scratch_len 

Source
pub fn scratch_len(nx: usize, nz: usize) -> usize
Expand description

Compute the required scratch buffer size (in i64 elements) for a given image configuration.

The caller must provide &mut [i64] of at least this many elements to compress / decompress.