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>
15typedef struct tof_csf_camera* tof_csf_camera_t;
17typedef struct tof_csf_camera const* tof_csf_camera_ct;
20TOF_EXPORT
void tof_csf_camera_delete(tof_csf_camera_t ptr);
29TOF_EXPORT tof_csf_camera_t tof_csf_camera_new(
const char* file_location, tof_processing_config_ct processing_config, tof_error_t *error);
38TOF_EXPORT tof_csf_camera_t tof_csf_camera_new_simple(
const char* file_location, tof_error_t *error);
48TOF_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);
55TOF_EXPORT
size_t tof_csf_camera_get_current_frame(tof_csf_camera_ct ptr, tof_error_t *error);
62TOF_EXPORT
size_t tof_csf_camera_get_frame_number(tof_csf_camera_ct ptr, tof_error_t *error);
73TOF_EXPORT
size_t tof_csf_camera_get_fps(tof_csf_camera_ct ptr, tof_error_t *error);
84TOF_EXPORT
void tof_csf_camera_set_fps(tof_csf_camera_t ptr,
size_t fps, tof_error_t *error);
91TOF_EXPORT
void tof_csf_camera_set_process_config(tof_csf_camera_t ptr, tof_processing_config_ct config, tof_error_t *error);