Monado OpenXR Runtime
|
Frameserver that generates frame, multiple subframes (like stereo and mipmaps) can be generate in one frame. More...
#include <xrt/xrt_frameserver.h>
Data Fields | |
char | name [512] |
Name of the frame server source. More... | |
uint64_t | source_id |
All frames produced by this frameserver is tagged with this id. More... | |
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. More... | |
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. More... | |
bool(* | stream_start )(struct xrt_fs *xfs, struct xrt_frame_sink *xs, uint32_t descriptor_index) |
Start the capture stream. More... | |
bool(* | stream_stop )(struct xrt_fs *xfs) |
Stop the capture stream. More... | |
bool(* | is_running )(struct xrt_fs *xfs) |
Is the capture stream running. More... | |
Frameserver that generates frame, multiple subframes (like stereo and mipmaps) can be generate in one frame.
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.
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.
Referenced by v4l2_fs_create().
bool(* xrt_fs::is_running) (struct xrt_fs *xfs) |
Is the capture stream running.
char xrt_fs::name[512] |
Name of the frame server source.
uint64_t xrt_fs::source_id |
All frames produced by this frameserver is tagged with this id.
bool(* xrt_fs::stream_start) (struct xrt_fs *xfs, struct xrt_frame_sink *xs, uint32_t descriptor_index) |
Start the capture stream.
bool(* xrt_fs::stream_stop) (struct xrt_fs *xfs) |
Stop the capture stream.