Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ k4a_playback_get_raw_calibration()

k4a_buffer_result_t k4a_playback_get_raw_calibration ( k4a_playback_t  playback_handle,
uint8_t *  data,
size_t *  data_size 
)
related

Get the raw calibration blob for the Azure Kinect device used during recording.

Parameters
playback_handleHandle obtained by k4a_playback_open().
dataLocation to write the calibration data to. This field may optionally be set to NULL if the caller wants to query for the needed data size.
data_sizeOn passing data_size into the function this variable represents the available size to write the raw data to. On return this variable is updated with the amount of data actually written to the buffer.
Returns
K4A_BUFFER_RESULT_SUCCEEDED if data was successfully written. If data_size points to a buffer size that is too small to hold the output, K4A_BUFFER_RESULT_TOO_SMALL is returned and data_size is updated to contain the minimum buffer size needed to capture the calibration data.
Remarks
The raw calibration may not exist if the device was not specified during recording.