pub fn normalize_array(
in_buffer: Vec<u8>,
format: usize,
planar_configuration: usize,
samples_per_pixel: usize,
bits_per_sample: usize,
tile_width: usize,
tile_height: usize,
) -> Vec<u8> ⓘExpand description
Normalize the array
§Parameters
in_buffer: the input bufferformat: the data formatplanar_configuration: the planar configurationsamples_per_pixel: the number of samples per pixelbits_per_sample: the bits per sampletile_width: the tile widthtile_height: the tile height
§Returns
The normalized array