Function videostream_sys::vsl_camera_get_data
source · pub unsafe extern "C" fn vsl_camera_get_data(
ctx: *mut vsl_camera
) -> *mut vsl_camera_bufferExpand description
Attempts to read a frame from the camera.
Must be called after @ref vsl_camera_start_capturing.
Ensure to call @ref vsl_camera_release_buffer after the buffer is done being used and allow the buffer to be reused for frame capture.
@memberof VSLCamera