Monado OpenXR Runtime
rift_s_camera.h
Go to the documentation of this file.
1
/*
2
* Copyright 2013, Fredrik Hultin.
3
* Copyright 2013, Jakob Bornecrantz.
4
* Copyright 2016 Philipp Zabel
5
* Copyright 2019-2022 Jan Schmidt
6
* SPDX-License-Identifier: BSL-1.0
7
*/
8
9
/*!
10
* @file
11
* @brief Oculus Rift S camera handling
12
* @author Jan Schmidt <jan@centricular.com>
13
* @ingroup drv_rift_s
14
*/
15
16
#pragma once
17
18
#include "
os/os_hid.h
"
19
#include "
xrt/xrt_prober.h
"
20
21
#include "
rift_s_firmware.h
"
22
#include "
rift_s_tracker.h
"
23
24
struct
rift_s_camera
;
25
26
struct
rift_s_camera
*
27
rift_s_camera_create(
struct
xrt_prober
*xp,
28
struct
xrt_frame_context
*xfctx,
29
const
char
*hmd_serial_no,
30
struct
os_hid_device
*hid,
31
struct
rift_s_tracker
*tracker,
32
struct
rift_s_camera_calibration_block
*camera_calibration);
33
34
void
35
rift_s_camera_destroy(
struct
rift_s_camera
*cam);
36
37
void
38
rift_s_camera_update(
struct
rift_s_camera
*cam,
struct
os_hid_device
*hid);
os_hid.h
Wrapper around OS native hid functions.
rift_s_firmware.h
Oculus Rift S firmware parsing interface.
rift_s_tracker.h
HMD tracker handling.
os_hid_device
Representing a single hid interface on a device.
Definition:
os_hid.h:29
rift_s_camera_calibration_block
Definition:
rift_s_firmware.h:90
rift_s_camera
Specifies whether the user wants to enable autoexposure from the start.
Definition:
rift_s_camera.c:50
rift_s_tracker
Definition:
rift_s_tracker.h:42
xrt_frame_context
Object used to track all sinks and frame producers in a graph.
Definition:
xrt_frame.h:108
xrt_prober
The main prober that probes and manages found but not opened HMD devices that are connected to the sy...
Definition:
xrt_prober.h:132
xrt_prober.h
Common interface to probe for devices.
drivers
rift_s
rift_s_camera.h
Generated by
1.9.4