Monado OpenXR Runtime
|
Frameserver that generates frames. More...
#include <xrt/xrt_frameserver.h>
Static Public Member Functions | |
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. More... | |
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. More... | |
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. More... | |
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 stream. More... | |
static bool | xrt_fs_stream_stop (struct xrt_fs *xfs) |
Stop the capture stream. More... | |
static bool | xrt_fs_is_running (struct xrt_fs *xfs) |
Is the capture stream running. More... | |
Data Fields | |
char | name [512] |
Name of the frame server source, from the subsystem. More... | |
char | product [32] |
Frame server product identifier, matches the prober device. More... | |
char | manufacturer [32] |
Frame server manufacturer, matches the prober device. More... | |
char | serial [32] |
Frame server serial number, matches the prober device. More... | |
uint64_t | source_id |
All frames produced by this frameserver are 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, enum xrt_fs_capture_type capture_type, uint32_t descriptor_index) |
Start the capture stream. More... | |
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 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 frames.
Multiple subframes (like stereo and mipmaps) can be generate in one frame.
|
inlinestatic |
Set the capture parameters, may not be supported on all capture devices.
Helper for calling through the function pointer.
References configure_capture.
|
inlinestatic |
Enumerate all available modes that this frameserver supports.
Helper for calling through the function pointer.
References enumerate_modes.
Is the capture stream running.
Helper for calling through the function pointer.
References is_running.
|
inlinestatic |
Setup SLAM sinks for all the sensors a SLAM implementation may supports and start the frame server stream.
Use xrt_fs::stream_start instead if you only need the image stream.
Helper for calling through the function pointer.
References slam_stream_start.
|
inlinestatic |
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.
Referenced by rs_source_create(), and xrt_fs_configure_capture().
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 rs_source_create(), and xrt_fs_enumerate_modes().
Is the capture stream running.
Referenced by xrt_fs_is_running().
char xrt_fs::manufacturer[32] |
Frame server manufacturer, matches the prober device.
char xrt_fs::name[512] |
Name of the frame server source, from the subsystem.
Referenced by ipcproto.common.Arg::__init__(), ipcproto.common.Call::__init__(), bindings.Profile::__init__(), ipcproto.common.Arg::dump(), ipcproto.common.Call::dump(), ipcproto.common.Arg::get_func_argument_in(), ipcproto.common.Arg::get_func_argument_out(), ipcproto.common.Arg::get_struct_field(), ipcproto.common.Call::write_call_decl(), ipcproto.common.Call::write_handler_decl(), ipcproto.common.Call::write_receive_decl(), and ipcproto.common.Call::write_send_decl().
char xrt_fs::product[32] |
Frame server product identifier, matches the prober device.
char xrt_fs::serial[32] |
Frame server serial number, matches the prober device.
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 stream.
Use xrt_fs::stream_start instead if you only need the image stream.
Referenced by xrt_fs_slam_stream_start().
uint64_t xrt_fs::source_id |
All frames produced by this frameserver are tagged with this id.
Referenced by p_factory_ensure_slam_frameserver().
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.
Referenced by rs_source_create(), and xrt_fs_stream_start().
Stop the capture stream.
Referenced by xrt_fs_stream_stop().