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;
18TOF_EXPORT
void tof_csf_camera_delete(tof_csf_camera_t ptr);
27TOF_EXPORT tof_csf_camera_t tof_csf_camera_new(
const tof_processing_config_t processing_config,
const char* file_location, tof_error_t *error);
36TOF_EXPORT tof_csf_camera_t tof_csf_camera_new_simple(
const char* file_location, tof_error_t *error);
46TOF_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);
53TOF_EXPORT
size_t tof_csf_camera_get_current_frame(
const tof_csf_camera_t ptr, tof_error_t *error);
60TOF_EXPORT
size_t tof_csf_camera_get_frame_number(
const tof_csf_camera_t ptr, tof_error_t *error);
71TOF_EXPORT
size_t tof_csf_camera_get_fps(
const tof_csf_camera_t ptr, tof_error_t *error);
82TOF_EXPORT
void tof_csf_camera_set_fps(tof_csf_camera_t ptr,
size_t fps, tof_error_t *error);