1 #ifndef _CHRONOPTICS_TOF_CSF_CAMERA_H_
2 #define _CHRONOPTICS_TOF_CSF_CAMERA_H_
4 #include <chronoptics/tof/camera.h>
5 #include <chronoptics/tof/processing_config.h>
6 #include <chronoptics/tof/data.h>
15 typedef struct tof_csf_camera* tof_csf_camera_t;
18 TOF_EXPORT
void tof_csf_camera_delete(tof_csf_camera_t ptr);
27 TOF_EXPORT tof_csf_camera_t tof_csf_camera_new(
const tof_processing_config_t processing_config,
const char* file_location, tof_error_t *error);
37 TOF_EXPORT
size_t tof_csf_camera_get_frames_at(tof_csf_camera_t ptr,
size_t frame_nr, tof_data_t* frames,
size_t capacity, tof_error_t *error);
44 TOF_EXPORT
size_t tof_csf_camera_get_current_frame(
const tof_csf_camera_t ptr, tof_error_t *error);
51 TOF_EXPORT
size_t tof_csf_camera_get_frame_number(
const tof_csf_camera_t ptr, tof_error_t *error);
62 TOF_EXPORT
size_t tof_csf_camera_get_fps(
const tof_csf_camera_t ptr, tof_error_t *error);
73 TOF_EXPORT
void tof_csf_camera_set_fps(tof_csf_camera_t ptr,
size_t fps, tof_error_t *error);