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. More... | |
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. More... | |
struct xrt_device * | ns_hmd_create (const cJSON *config_json) |
Creates a North Star HMD. More... | |
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.