Monado OpenXR Runtime
Loading...
Searching...
No Matches
rift_sensor_internal.h File Reference

Internal structures for Oculus Rift sensor probing/initialization. More...

#include "xrt/xrt_frame.h"
#include "xrt/xrt_byte_order.h"
#include "os/os_threading.h"
#include "rift_sensor_interface.h"
#include <libusb.h>
Include dependency graph for rift_sensor_internal.h:

Go to the source code of this file.

Data Structures

struct  rift_sensor_context
 
struct  rift_sensor
 
struct  rift_sensor_dk2_calib
 
struct  rift_sensor_cv1_calib
 

Macros

#define SIZE_ASSERT(type, size)    static_assert(sizeof(type) == (size), "Size of " #type " is not " #size " bytes as was expected")
 
#define CV1_CALIB_MAGIC   0xBAADF00DDEADD00D
 
#define CV1_CALIB_SIZE   160
 

Enumerations

enum  rift_sensor_cv1_lens_type {
  RIFT_SENSOR_CV1_LENS_TYPE_RADTAN = 0x0 , RIFT_SENSOR_CV1_LENS_TYPE_KB_LEGACY = 0x1 , RIFT_SENSOR_CV1_LENS_TYPE_OLD_BA_REJECTED = 0x2 , RIFT_SENSOR_CV1_LENS_TYPE_RADTAN_RECIPROCAL = 0x3 ,
  RIFT_SENSOR_CV1_LENS_TYPE_IDENTITY = 0x4 , RIFT_SENSOR_CV1_LENS_TYPE_KB_SPLINE = 0x5 , RIFT_SENSOR_CV1_LENS_TYPE_CV1 = 0x6 , RIFT_SENSOR_CV1_LENS_TYPE_OPAQUE_BLOB = 0x7
}
 

Functions

static struct rift_sensor_context * rift_sensor_context (struct xrt_frame_node *node)
 

Detailed Description

Internal structures for Oculus Rift sensor probing/initialization.

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