Monado OpenXR Runtime
Data Structures | Functions
u_distortion_mesh.h File Reference

Code to generate disortion meshes. More...

#include "xrt/xrt_device.h"
#include "xrt/xrt_defines.h"
Include dependency graph for u_distortion_mesh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  u_panotools_values
 Values to create a distortion mesh from panotools values. More...
 
struct  u_uv_triplet
 Three UV pairs, one for each color channel in the source image. More...
 
struct  u_uv_generator
 Generator struct for building meshes, can be implemented by drivers for special meshes. More...
 

Functions

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. More...
 
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. More...
 
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. More...
 
void u_distortion_mesh_none (struct xrt_hmd_parts *target)
 Create two distortion meshes with no distortion. More...
 

Detailed Description

Code to generate disortion meshes.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m