66 bool (*enumerate_modes)(
struct xrt_fs *xfs,
74 bool (*configure_capture)(
struct xrt_fs *xfs,
80 bool (*stream_start)(
struct xrt_fs *xfs,
82 uint32_t descriptor_index);
87 bool (*stream_stop)(
struct xrt_fs *xfs);
108 xrt_fs_enumerate_modes(
struct xrt_fs *xfs,
121 xrt_fs_configure_capture(
struct xrt_fs *xfs,
133 xrt_fs_stream_start(
struct xrt_fs *xfs,
135 uint32_t descriptor_index)
146 xrt_fs_stream_stop(
struct xrt_fs *xfs)
157 xrt_fs_is_running(
struct xrt_fs *xfs)
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:74
bool(* stream_stop)(struct xrt_fs *xfs)
Stop the capture stream.
Definition: xrt_frameserver.h:87
xrt_stereo_format
What type of stereo format a frame has.
Definition: xrt_defines.h:84
Definition: xrt_frameserver.h:37
A object that is sent frames.
Definition: xrt_frame.h:51
Controlling the camera capture parameters.
Definition: xrt_frameserver.h:31
bool(* is_running)(struct xrt_fs *xfs)
Is the capture stream running.
Definition: xrt_frameserver.h:92
xrt_format
Common formats, use u_format_* functions to reason about them.
Definition: xrt_defines.h:60
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:66
uint64_t source_id
All frames produced by this frameserver is tagged with this id.
Definition: xrt_frameserver.h:61
Frameserver that generates frame, multiple subframes (like stereo and mipmaps) can be generate in one...
Definition: xrt_frameserver.h:51
bool(* stream_start)(struct xrt_fs *xfs, struct xrt_frame_sink *xs, uint32_t descriptor_index)
Start the capture stream.
Definition: xrt_frameserver.h:80