1#ifndef _CHRONOPTICS_TOF_CSF_WRITER_H_
2#define _CHRONOPTICS_TOF_CSF_WRITER_H_
4#include <chronoptics/tof/camera.h>
5#include <chronoptics/tof/camera_config.h>
6#include <chronoptics/tof/calibration.h>
7#include <chronoptics/tof/data.h>
20typedef struct tof_csf_writer* tof_csf_writer_t;
22typedef struct tof_csf_writer const* tof_csf_writer_ct;
25TOF_EXPORT
void tof_csf_writer_delete(tof_csf_writer_t ptr);
34TOF_EXPORT tof_csf_writer_t tof_csf_writer_new_from_camera(
const char* file_location, tof_camera_ct camera, tof_error_t *error);
45TOF_EXPORT tof_csf_writer_t tof_csf_writer_new_from_raw_data(
const char* file_location, tof_camera_config_ct camera_config, tof_calibration_ct calibration,
const char* serial, tof_error_t *error);
52TOF_EXPORT
void tof_csf_writer_write_frame(tof_csf_writer_t ptr, tof_data_ct frame, tof_error_t *error);