58 XRT_FS_CAPTURE_TYPE_TRACKING = 0,
59 XRT_FS_CAPTURE_TYPE_CALIBRATION = 1,
102 uint32_t descriptor_index);
171 uint32_t descriptor_index)
173 return xfs->
stream_start(xfs, xs, capture_type, descriptor_index);
xrt_stereo_format
What type of stereo format a frame has.
Definition: xrt_defines.h:203
xrt_fs_capture_type
Enum describing which type of capture we are doing.
Definition: xrt_frameserver.h:57
A object that is sent frames.
Definition: xrt_frame.h:58
Controlling the camera capture parameters.
Definition: xrt_frameserver.h:34
Definition: xrt_frameserver.h:44
Frameserver that generates frames.
Definition: xrt_frameserver.h:70
bool(* stream_start)(struct xrt_fs *xfs, struct xrt_frame_sink *xs, enum xrt_fs_capture_type capture_type, uint32_t descriptor_index)
Start the capture stream.
Definition: xrt_frameserver.h:99
bool(* stream_stop)(struct xrt_fs *xfs)
Stop the capture stream.
Definition: xrt_frameserver.h:119
bool(* is_running)(struct xrt_fs *xfs)
Is the capture stream running.
Definition: xrt_frameserver.h:124
static bool xrt_fs_is_running(struct xrt_fs *xfs)
Is the capture stream running.
Definition: xrt_frameserver.h:210
char product[32]
Frame server product identifier, matches the prober device.
Definition: xrt_frameserver.h:74
bool(* slam_stream_start)(struct xrt_fs *xfs, struct xrt_slam_sinks *sinks)
Setup SLAM sinks for all the sensors a SLAM implementation may supports and start the frame server st...
Definition: xrt_frameserver.h:114
char serial[32]
Frame server serial number, matches the prober device.
Definition: xrt_frameserver.h:78
static bool xrt_fs_slam_stream_start(struct xrt_fs *xfs, struct xrt_slam_sinks *sinks)
Setup SLAM sinks for all the sensors a SLAM implementation may supports and start the frame server st...
Definition: xrt_frameserver.h:184
static bool xrt_fs_enumerate_modes(struct xrt_fs *xfs, struct xrt_fs_mode **out_modes, uint32_t *out_count)
Enumerate all available modes that this frameserver supports.
Definition: xrt_frameserver.h:142
char manufacturer[32]
Frame server manufacturer, matches the prober device.
Definition: xrt_frameserver.h:76
bool(* enumerate_modes)(struct xrt_fs *xfs, struct xrt_fs_mode **out_modes, uint32_t *out_count)
Enumerate all available modes that this frameserver supports.
Definition: xrt_frameserver.h:88
static bool xrt_fs_configure_capture(struct xrt_fs *xfs, struct xrt_fs_capture_parameters *cp)
Set the capture parameters, may not be supported on all capture devices.
Definition: xrt_frameserver.h:155
bool(* configure_capture)(struct xrt_fs *xfs, struct xrt_fs_capture_parameters *cp)
Set the capture parameters, may not be supported on all capture devices.
Definition: xrt_frameserver.h:94
static bool xrt_fs_stream_stop(struct xrt_fs *xfs)
Stop the capture stream.
Definition: xrt_frameserver.h:197
static bool xrt_fs_stream_start(struct xrt_fs *xfs, struct xrt_frame_sink *xs, enum xrt_fs_capture_type capture_type, uint32_t descriptor_index)
Start the capture stream.
Definition: xrt_frameserver.h:168
char name[512]
Name of the frame server source, from the subsystem.
Definition: xrt_frameserver.h:72
uint64_t source_id
All frames produced by this frameserver are tagged with this id.
Definition: xrt_frameserver.h:83
Container of pointers to sinks that could be used for a SLAM system.
Definition: xrt_tracking.h:202
xrt_format
Common formats, use u_format_* functions to reason about them.
Definition: xrt_defines.h:176