|
Monado OpenXR Runtime
|
Manages the data streaming state related to a vive headset. More...


Data Fields | |
| struct xrt_frame_node | node |
| enum u_logging_level | log_level |
| struct xrt_frame_sink | sbs_sink |
| Intermediate sink for SBS frames. More... | |
| struct xrt_imu_sink | imu_sink |
| Intermediate sink for IMU samples. More... | |
| struct xrt_slam_sinks | in_sinks |
| Pointers to intermediate sinks. More... | |
| struct xrt_slam_sinks | out_sinks |
| Pointers to downstream sinks. More... | |
| bool | timestamps_have_been_zero_until_now |
| First v4l2 frames are zeroed. More... | |
| bool | waiting_for_first_nonempty_frame |
| Whether the first good frame has been received. More... | |
| struct u_deque_timepoint_ns | frame_timestamps |
| struct os_mutex | frame_timestamps_lock |
| Queue of yet unused frame hw timestamps. More... | |
| uint32_t | last_frame_ticks |
| Lock for accessing frame_timestamps. More... | |
| timepoint_ns | last_frame_ts_ns |
| Last frame timestamp in device ticks. More... | |
| time_duration_ns | hw2mono |
| Last frame timestamp in device nanoseconds. More... | |
| time_duration_ns | hw2v4l2 |
| Estimated offset from IMU to V4L2 clock. More... | |
Data Fields inherited from xrt_frame_node | |
| struct xrt_frame_node * | next |
| void(* | break_apart )(struct xrt_frame_node *node) |
| Called first in when the graph is being destroyed, remove any references frames and other objects and stop threads. More... | |
| void(* | destroy )(struct xrt_frame_node *node) |
| Do the actual freeing of the objects. More... | |
Manages the data streaming state related to a vive headset.
| struct os_mutex vive_source::frame_timestamps_lock |
Queue of yet unused frame hw timestamps.
Referenced by vive_source_try_convert_v4l2_timestamp().
| time_duration_ns vive_source::hw2mono |
Last frame timestamp in device nanoseconds.
Estimated offset from IMU to monotonic clock
| time_duration_ns vive_source::hw2v4l2 |
Estimated offset from IMU to V4L2 clock.
| struct xrt_imu_sink vive_source::imu_sink |
Intermediate sink for IMU samples.
| struct xrt_slam_sinks vive_source::in_sinks |
Pointers to intermediate sinks.
| uint32_t vive_source::last_frame_ticks |
Lock for accessing frame_timestamps.
| timepoint_ns vive_source::last_frame_ts_ns |
Last frame timestamp in device ticks.
| struct xrt_slam_sinks vive_source::out_sinks |
Pointers to downstream sinks.
| struct xrt_frame_sink vive_source::sbs_sink |
Intermediate sink for SBS frames.
Referenced by vive_source_create().
| bool vive_source::timestamps_have_been_zero_until_now |
First v4l2 frames are zeroed.
Referenced by vive_source_try_convert_v4l2_timestamp().
| bool vive_source::waiting_for_first_nonempty_frame |
Whether the first good frame has been received.