void u_distortion_mesh_generator_from_panotools(const struct u_panotools_values *left, const struct u_panotools_values *right, struct u_uv_generator **out_gen)
Given two sets of panotools values creates a mesh generator, copies the values into it...
Definition: u_distortion_mesh.c:241
A 2 element vector with single floats.
Definition: xrt_defines.h:122
void u_distortion_mesh_from_gen(struct u_uv_generator *, int num_views, struct xrt_hmd_parts *target)
Given a u_uv_generator generates num_views meshes, populates target.
Definition: u_distortion_mesh.c:138
Header defining a xrt HMD device.
void u_distortion_mesh_none(struct xrt_hmd_parts *target)
Create two distortion meshes with no distortion.
Definition: u_distortion_mesh.c:274
Common defines and enums for XRT.
Generator struct for building meshes, can be implemented by drivers for special meshes.
Definition: u_distortion_mesh.h:55
All of the device components that deals with interfacing to a users head.
Definition: xrt_device.h:92
Three UV pairs, one for each color channel in the source image.
Definition: u_distortion_mesh.h:44
void u_distortion_mesh_from_panotools(const struct u_panotools_values *left, const struct u_panotools_values *right, struct xrt_hmd_parts *target)
Given two sets of panotools values creates the left and th right uv meshes.
Definition: u_distortion_mesh.c:229