|
Monado OpenXR Runtime
|
Driver for the North Star HMD. More...

Files | |
| file | ns_hmd.c |
| North Star HMD code. | |
| file | ns_hmd.h |
| Interface between North Star distortion and HMD code. | |
| file | ns_interface.h |
| Interface to North Star driver code. | |
Data Structures | |
| struct | ns_3d_eye |
| Distortion information about an eye parsed from the configuration file. More... | |
| struct | ns_hmd |
| Information about the whole North Star headset. More... | |
Functions | |
| static struct ns_hmd * | ns_hmd (struct xrt_device *xdev) |
| Get the North Star HMD information from a xrt_device. | |
| void | ns_3d_display_uv_to_render_uv (struct xrt_vec2 in, struct xrt_vec2 *out, struct ns_3d_eye *eye) |
| Convert the display UV to the render UV using the distortion mesh. | |
| struct xrt_device * | ns_hmd_create (const cJSON *config_json) |
| Creates a North Star HMD. | |
Driver for the North Star HMD.
| void ns_3d_display_uv_to_render_uv | ( | struct xrt_vec2 | in, |
| struct xrt_vec2 * | out, | ||
| struct ns_3d_eye * | eye | ||
| ) |
#include <drivers/north_star/ns_hmd.h>
Convert the display UV to the render UV using the distortion mesh.
|
inlinestatic |
#include <drivers/north_star/ns_hmd.h>
Get the North Star HMD information from a xrt_device.
| struct xrt_device * ns_hmd_create | ( | const cJSON * | config_json | ) |
#include <drivers/north_star/ns_interface.h>
Creates a North Star HMD.
References xrt_hmd_parts::blend_modes, xrt_device::compute_distortion, xrt_device::destroy, xrt_hmd_parts::distortion, xrt_hmd_parts::fov, xrt_device::get_tracked_pose, xrt_device::get_view_poses, xrt_device::hmd, xrt_device::inputs, xrt_hmd_parts::models, xrt_device::name, os_monotonic_get_ns(), xrt_hmd_parts::preferred, xrt_device::serial, xrt_device::str, xrt_device::supported, u_device_noop_update_inputs(), u_distortion_mesh_fill_in_compute(), u_extents_2d_split_side_by_side(), U_TIME_1MS_IN_NS, u_var_add_root(), xrt_device::update_inputs, and XRT_INPUT_GENERIC_HEAD_POSE.