Program Listing for File scTDC_cam.h¶
↰ Return to documentation for file (scTDC_cam.h
)
#pragma once
#ifndef SCTDCDLL_PUBLIC
#if defined _WIN32 || defined __CYGWIN__
#ifdef SCTDC_EXPORTS
#define SCTDCDLL_PUBLIC __declspec(dllexport)
#define WIN32_LEAN_AND_MEAN
#else
#define SCTDCDLL_PUBLIC __declspec(dllimport)
#endif
#elif __linux__
#ifdef SCTDC_EXPORTS
#define SCTDCDLL_PUBLIC __attribute__ ((visibility("default")))
#else
#define SCTDCDLL_PUBLIC
#endif
#include <sys/types.h>
#else
#error platform is not supported
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
SCTDCDLL_PUBLIC int sc_tdc_set_cmos_and_smoothers_params
(const int dd, const struct sc_CmosSmootherParameters *params);
SCTDCDLL_PUBLIC int sc_tdc_set_blob_parameters
(const int dd, const struct sc_BlobParameters *params);
SCTDCDLL_PUBLIC int sc_tdc_get_cmos_and_smoothers_params
(const int dd, struct sc_CmosSmootherParameters *params);
SCTDCDLL_PUBLIC int sc_tdc_get_blob_parameters
(const int dd, struct sc_BlobParameters *params);
//v1.3001.0
SCTDCDLL_PUBLIC int sc_tdc_set_blob
(const int dd, const char *blob);
SCTDCDLL_PUBLIC int sc_tdc_get_blob
(const int dd, char *str, size_t str_len, size_t *str_len_ret);
SCTDCDLL_PUBLIC int sc_tdc_cam_set_roi(const int dd, const unsigned x_min,
const unsigned x_max, const unsigned y_min, const unsigned y_max);
SCTDCDLL_PUBLIC int sc_tdc_cam_get_roi(const int dd, unsigned* x_min,
unsigned* x_max, unsigned* y_min, unsigned* y_max);
SCTDCDLL_PUBLIC int sc_tdc_cam_get_supported_features(const int dd, unsigned* f);
SCTDCDLL_PUBLIC int sc_tdc_cam_set_exposure(const int dd, unsigned e, unsigned f);
SCTDCDLL_PUBLIC int sc_tdc_cam_get_maxsize(const int dd, unsigned* width,
unsigned* height);
SCTDCDLL_PUBLIC int sc_tdc_cam_get_temperatures(const int dd, double* fpga,
double* cmos);
SCTDCDLL_PUBLIC int sc_tdc_cam_set_fanspeed(const int dd, int fanspeed);
SCTDCDLL_PUBLIC int sc_tdc_cam_get_properties(
const int dd, const int ptype, void* dest);
SCTDCDLL_PUBLIC int sc_tdc_cam_set_parameter(
const int dd, const char* name, const char* value);
SCTDCDLL_PUBLIC int sc_tdc_cam_get_parameter(
const int dd, const char* name, char* value, size_t* str_len);
#ifdef __cplusplus
}
#endif // __cplusplus