Click or drag to resize

Cv2AlignSize Method

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.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static int AlignSize(
	int sz,
	int n
)

Parameters

sz
Type: SystemInt32
n
Type: SystemInt32

Return Value

Type: Int32
See Also