pub fn analyse_tile_complexity(
layout: &TileLayout,
frame: &[u8],
channels: u8,
) -> Vec<TileComplexity>Expand description
Analyse content complexity for each tile in a frame.
frame is a packed row-major pixel buffer with channels bytes per pixel.
Returns a TileComplexity for every tile in layout.