Typedef VmbFrameCallback

Typedef Documentation

void(VMB_CALL * VmbFrameCallback )(const VmbHandle_t cameraHandle, const VmbHandle_t streamHandle, VmbFrame_t *frame)

Frame Callback type for a function that gets called in a separate thread if a frame has been queued with VmbCaptureFrameQueue.

Warning

Any operations closing the stream including VmbShutdown and VmbCameraClose in addition to VmbCaptureEnd block until any currently active callbacks return. If the callback does not return in finite time, the program may not return.

Param cameraHandle:

[in] Handle of the camera the frame belongs to

Param streamHandle:

[in] Handle of the stream the frame belongs to

Param frame:

[in] The received frame