Monado OpenXR Runtime
vp2_config.h File Reference

Code to parse and handle the Vive Pro 2 configuration data. More...

#include "xrt/xrt_defines.h"
#include <stdint.h>
Include dependency graph for vp2_config.h:

Go to the source code of this file.

Data Structures

struct  vp2_eye_coefficients
 
struct  vp2_wvr_coefficients
 
struct  vp2_modify_coefficients
 
struct  vp2_distortion_version
 
struct  vp2_warp_parameters
 
struct  vp2_eye_distortion
 
struct  vp2_config
 

Enumerations

enum  vp2_distortion_model {
  VP2_DISTORTION_MODEL_INVALID = 0 , VP2_DISTORTION_MODEL_TRADITIONAL_SIMPLE = 1 , VP2_DISTORTION_MODEL_TRADITIONAL_WITH_TANGENTIAL = 2 , VP2_DISTORTION_MODEL_NON_MODEL_SVR = 3 ,
  VP2_DISTORTION_MODEL_RATIONAL = 4 , VP2_DISTORTION_MODEL_SECTIONAL = 5 , VP2_DISTORTION_MODEL_TANGENTIAL_WEIGHT = 6 , VP2_DISTORTION_MODEL_RADIAL_TANGENTIAL_PRISM = 7 ,
  VP2_DISTORTION_MODEL_PRISM_WITH_PROGRESSIVE = 8 , VP2_DISTORTION_MODEL_STRENGTHEN_RADIAL = 9 , VP2_DISTORTION_MODEL_STRENGTHEN = 10 , VP2_DISTORTION_MODEL_STRENGTHEN_HIGH_ORDER = 11 ,
  VP2_DISTORTION_MODEL_WVR_RADIAL = 12 , VP2_DISTORTION_MODEL_RADIAL_ROTATE_MODIFY = 13
}
 

Functions

enum vp2_distortion_model vp2_string_to_distortion_model (const char *model_str)
 
bool vp2_config_parse (const char *config_data, size_t config_size, struct vp2_config *out_config)
 
bool vp2_distort (struct vp2_config *config, int eye, const struct xrt_vec2 *in, struct xrt_uv_triplet *out_result)
 
void vp2_get_fov (struct vp2_config *config, int eye, struct xrt_fov *out_fov)
 

Detailed Description

Code to parse and handle the Vive Pro 2 configuration data.

Author
Beyley Cardellio ep1cm.nosp@m.1n10.nosp@m.n123@.nosp@m.gmai.nosp@m.l.com