Function opencv::core::align_size [] [src]

pub fn align_size(sz: size_t, n: i32) -> Result<size_t, String>

Aligns buffer size by the certain number of bytes

This small inline function aligns a buffer size by the certian number of bytes by enlarging it.