1 #ifndef _CHRONOPTICS_TOF_CSF_WRITER_H_
2 #define _CHRONOPTICS_TOF_CSF_WRITER_H_
4 #include <chronoptics/tof/camera_config.h>
5 #include <chronoptics/tof/calibration.h>
6 #include <chronoptics/tof/data.h>
7 #include <chronoptics/tof/csf_reader.h>
8 #include <chronoptics/tof/camera.h>
9 #include <chronoptics/tof/gige_interface.h>
10 #include <chronoptics/tof/usb_interface.h>
23 typedef struct tof_csf_writer* tof_csf_writer_t;
26 TOF_EXPORT
void tof_csf_writer_delete(tof_csf_writer_t ptr);
37 TOF_EXPORT tof_csf_writer_t tof_csf_writer_new(
const char* file_location,
const tof_camera_config_t camera_config,
const tof_calibration_t calibration,
const char* serial, tof_error_t *error);
44 TOF_EXPORT
void tof_csf_writer_write_frame(tof_csf_writer_t ptr,
const tof_data_t frame, tof_error_t *error);
52 TOF_EXPORT tof_csf_writer_t tof_create_csf_writer_reader(
const char* file_location,
const tof_csf_reader_t reader, tof_error_t *error);
60 TOF_EXPORT tof_csf_writer_t tof_create_csf_writer_camera(
const char* file_location,
const tof_camera_t camera, tof_error_t *error);
68 TOF_EXPORT tof_csf_writer_t tof_create_csf_writer_gige_interface(
const char* file_location,
const tof_gige_interface_t gige_interface, tof_error_t *error);
76 TOF_EXPORT tof_csf_writer_t tof_create_csf_writer_usb_interface(
const char* file_location,
const tof_usb_interface_t usb_interface, tof_error_t *error);