BufferSize
Recommended size (in bytes) for the image buffer(s)
Parameter Info
Class | Category | Level | Type | Access |
---|---|---|---|---|
Channel | Cluster | ADJUST | Integer collection | Get Only |
Num ID | String Identifier | C, C++ identifier |
---|---|---|
3333 << 14 | BufferSize | MC_BufferSize |
Parameter Description
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.
For instance, if ImagePlaneCount = 3, allocate 3 buffers.
- Buffer 1 size is indicated by BufferSize [0].
- Buffer 2 size is indicated by BufferSize [1].
- Buffer 3 size is indicated by BufferSize [2].
For more information about access to integer collections, refer to Parameters.