Monado OpenXR Runtime
Functions
t_data_utils.c File Reference

Small data helpers for calibration. More...

#include "tracking/t_tracking.h"
#include "util/u_misc.h"
#include <stdio.h>
Include dependency graph for t_data_utils.c:

Functions

void t_stereo_camera_calibration_alloc (struct t_stereo_camera_calibration **out_c)
 Allocates a new stereo calibration data, unreferences the old calib. More...
 
void t_stereo_camera_calibration_destroy (struct t_stereo_camera_calibration *c)
 Only to be called by t_stereo_camera_calibration_reference. More...
 

Detailed Description

Small data helpers for calibration.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Function Documentation

◆ t_stereo_camera_calibration_alloc()

void t_stereo_camera_calibration_alloc ( struct t_stereo_camera_calibration **  out_c)

Allocates a new stereo calibration data, unreferences the old calib.

References U_TYPED_CALLOC.

Referenced by StereoCameraCalibrationWrapper::allocData(), and t_stereo_camera_calibration_load_v1().

◆ t_stereo_camera_calibration_destroy()

void t_stereo_camera_calibration_destroy ( struct t_stereo_camera_calibration c)

Only to be called by t_stereo_camera_calibration_reference.