Monado OpenXR Runtime
rift_s_util.h
Go to the documentation of this file.
1/*
2 * Copyright 2022 Jan Schmidt
3 * SPDX-License-Identifier: BSL-1.0
4 */
5
6/*!
7 * @file
8 * @brief Oculus Rift S utility functions
9 * @author Jan Schmidt <jan@centricular.com>
10 * @ingroup drv_rift_s
11 */
12
13#pragma once
14
15#include "tracking/t_tracking.h"
16
17#include "rift_s_firmware.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
24rift_s_get_cam_calib(struct rift_s_camera_calibration_block *camera_calibration, enum rift_s_camera_id cam_id);
25
28
29#ifdef __cplusplus
30}
31#endif
Oculus Rift S firmware parsing interface.
struct t_stereo_camera_calibration * rift_s_create_stereo_camera_calib_rotated(struct rift_s_camera_calibration_block *camera_calibration)
Allocate and populate an OpenCV-compatible t_stereo_camera_calibration pointer from the Rift S config...
Definition: rift_s_util.cpp:294
Definition: rift_s_firmware.h:90
Essential calibration data for a single camera, or single lens/sensor of a stereo camera.
Definition: t_tracking.h:223
Stereo camera calibration data to be given to trackers.
Definition: t_tracking.h:248
Tracking API interface.