[][src]Function k4a_sys_temp::k4a_device_get_raw_calibration

pub unsafe extern "C" fn k4a_device_get_raw_calibration(
    device_handle: k4a_device_t,
    data: *mut u8,
    data_size: *mut usize
) -> k4a_buffer_result_t

Get the raw calibration blob for the entire Azure Kinect device.

\param device_handle Handle obtained by k4a_device_open().

\param data Location to write the calibration data to. This field may optionally be set to NULL for the caller to query for the needed data size.

\param data_size On passing \p data_size into the function this variable represents the available size of the \p data buffer. On return this variable is updated with the amount of data actually written to the buffer, or the size required to store the calibration buffer if \p data is NULL.

\returns ::K4A_BUFFER_RESULT_SUCCEEDED if \p data was successfully written. If \p data_size points to a buffer size that is too small to hold the output or \p data is NULL, ::K4A_BUFFER_RESULT_TOO_SMALL is returned and \p data_size is updated to contain the minimum buffer size needed to capture the calibration data.

\relates k4a_device_t

\xmlonly k4a.h (include k4a/k4a.h) k4a.lib k4a.dll \endxmlonly