// Copyright 2019-2020, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file * @brief Small data helpers for calibration. * @author Jakob Bornecrantz * @ingroup aux_tracking */ #include "tracking/t_tracking.h" #include "util/u_misc.h" #include void t_stereo_camera_calibration_alloc(struct t_stereo_camera_calibration **out_c) { struct t_stereo_camera_calibration *c = U_TYPED_CALLOC(struct t_stereo_camera_calibration); t_stereo_camera_calibration_reference(out_c, c); } void t_stereo_camera_calibration_destroy(struct t_stereo_camera_calibration *c) { free(c); }