Function exr::meta::calculate_block_position_and_size
source ยท pub fn calculate_block_position_and_size(
total_size: usize,
block_size: usize,
block_index: usize,
) -> Result<(usize, usize)>
Expand description
Compute the start position and size of a block inside a dimension.