|
Monado OpenXR Runtime
|
Interface to Oculus Rift sensor probing/initialization. More...
#include "tracking/t_camera_models.h"
Go to the source code of this file.
Macros | |
| #define | RIFT_SENSOR_CLOCK_FREQ (40000000) |
| #define | RIFT_SENSOR_CLOCK_TO_NS(x) ((timepoint_ns)(x) * 1000 / 40) |
| #define | RIFT_SENSOR_WIDTH 1280 |
| #define | RIFT_SENSOR_HEIGHT 960 |
| #define | RIFT_SENSOR_FRAME_SIZE (RIFT_SENSOR_WIDTH * RIFT_SENSOR_HEIGHT) |
Enumerations | |
| enum | rift_sensor_variant { RIFT_SENSOR_VARIANT_DK2 , RIFT_SENSOR_VARIANT_CV1 } |
Functions | |
| void | rift_sensor_context_destroy (struct rift_sensor_context *context) |
| int | rift_sensor_context_create (struct rift_sensor_context **out_context, struct xrt_frame_context *xfctx) |
| int | rift_sensor_context_enable_exposure_sync (struct rift_sensor_context *context, uint8_t radio_id[5]) |
| int | rift_sensor_context_start (struct rift_sensor_context *context) |
| ssize_t | rift_sensor_context_get_sensors (struct rift_sensor_context *context, struct rift_sensor ***out_sensors) |
| struct xrt_fs * | rift_sensor_get_frame_server (struct rift_sensor *sensor) |
Interface to Oculus Rift sensor probing/initialization.