MultiCam Boards Documentation > MultiCam Documentation > MultiCam Reference > Channel Class > Cluster Category > Adjust Level (Cluster) > BufferSize

BufferSize

Description

Type

Integer Collection

Description

Recommended size (in bytes) for the image buffer(s)

"Set" effect

"Get" effect

Returns the recommended size of the image buffer(s)

Classification

Class

Channel

Category

Cluster

Level

Adjust

Identifiers

String

BufferSize

C, C++

MC_BufferSize

.NET

MC.BufferSize

Numerical

3333

MultiCam creates the surfaces and automatically allocates the memory buffers, if not done by the application. The following channel parameters configure the automatic allocation: BufferSize, BufferPitch, ImagePlaneCount and SurfaceCount. MultiCam decides the adequate number of surfaces for the selected acquisition mode.

This parameter is expressed as a number of bytes.

It provides the buffer size needed to contain one image produced by the channel.

If ImagePlaneCount>1, the channel produces a "multi-plane" image. In this case, one must allocate ImagePlaneCount buffers.

Each buffer size is given in the BufferSize collection members.

Example

If ImagePlaneCount=3, allocate 3 buffers.

For more information about access to integer collections, refer to Parameters.