60 XRT_FS_CAPTURE_TYPE_TRACKING = 0,
61 XRT_FS_CAPTURE_TYPE_CALIBRATION = 1,
113 uint32_t descriptor_index);
182 uint32_t descriptor_index)
184 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:233
enum xrt_result xrt_result_t
Result type used across Monado.
xrt_fs_capture_type
Enum describing which type of capture we are doing.
Definition xrt_frameserver.h:59
A object that is sent frames.
Definition xrt_frame.h:58
Controlling the camera capture parameters.
Definition xrt_frameserver.h:36
Definition xrt_frameserver.h:46
Frameserver that generates frames.
Definition xrt_frameserver.h:72
xrt_result_t(* 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:125
static xrt_result_t 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:179
xrt_result_t(* 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:110
static xrt_result_t 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:153
static xrt_result_t xrt_fs_is_running(struct xrt_fs *xfs, bool *out_is_running)
Is the capture stream running.
Definition xrt_frameserver.h:221
static xrt_result_t 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:195
static xrt_result_t xrt_fs_stream_stop(struct xrt_fs *xfs)
Stop the capture stream.
Definition xrt_frameserver.h:208
xrt_result_t(* stream_stop)(struct xrt_fs *xfs)
Stop the capture stream.
Definition xrt_frameserver.h:130
char product[32]
Frame server product identifier, matches the prober device.
Definition xrt_frameserver.h:76
char serial[32]
Frame server serial number, matches the prober device.
Definition xrt_frameserver.h:80
xrt_result_t(* is_running)(struct xrt_fs *xfs, bool *out_is_running)
Is the capture stream running.
Definition xrt_frameserver.h:135
static xrt_result_t xrt_fs_configure_capture(struct xrt_fs *xfs, struct xrt_fs_capture_parameters *cp)
Set the capture parameters, not all types of parameters may be supported on some capture devices.
Definition xrt_frameserver.h:166
char manufacturer[32]
Frame server manufacturer, matches the prober device.
Definition xrt_frameserver.h:78
xrt_result_t(* 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:93
xrt_result_t(* configure_capture)(struct xrt_fs *xfs, struct xrt_fs_capture_parameters *cp)
Set the capture parameters, not all types of parameters may be supported on some capture devices.
Definition xrt_frameserver.h:100
uint64_t source_id
All frames produced by this frameserver are tagged with this id.
Definition xrt_frameserver.h:85
Container of pointers to sinks that could be used for a SLAM system.
Definition xrt_tracking.h:217
xrt_format
Common formats, use u_format_* functions to reason about them.
Definition xrt_defines.h:204
Internal result type for XRT.