pub type UpSampler = fn(input: &[i16], in_near: &[i16], in_far: &[i16], scratch_space: &mut [i16], output: &mut [i16]);
Represents an up-sampler function, this function will be called to upsample a down-sampled image