[−][src]Function opencv::core::align_size
pub fn align_size(sz: size_t, n: i32) -> Result<size_t>
Aligns a buffer size to the specified number of bytes.
The function returns the minimum number that is greater than or equal to sz and is divisible by n :
Parameters
- sz: Buffer size to align.
- n: Alignment size that must be a power of two.