Go to the source code of this file.
SOURCES: lib/cam.c, cam_par.c
LAST MODIFICATION DATE:
Definition in file gpiv-cam.h.
#define GPIV_CAMPAR_CYCLES_MAX 1 |
Definition at line 76 of file gpiv-cam.h.
#define GPIV_CAMPAR_CYCLES_MAX 1 |
Definition at line 76 of file gpiv-cam.h.
#define GPIV_CAMPAR_CYCLES_MIN 1 |
Definition at line 75 of file gpiv-cam.h.
#define GPIV_CAMPAR_CYCLES_MIN 1 |
Definition at line 75 of file gpiv-cam.h.
#define GPIV_CAMPAR_DEFAULT__CYCLES 1 |
Default number of cycles
Definition at line 61 of file gpiv-cam.h.
#define GPIV_CAMPAR_DEFAULT__FNAME "gpiv_img" |
Default output image name
Definition at line 62 of file gpiv-cam.h.
#define GPIV_CAMPAR_DEFAULT__MODE 1 |
Default camera mode
Definition at line 60 of file gpiv-cam.h.
#define GPIV_CAMPAR_KEY "CAM" |
Key of camera parameters
Definition at line 70 of file gpiv-cam.h.
#define GPIV_CAMPAR_KEY__CYCLES "Cycles" |
Parameter key for number of cycles
Definition at line 72 of file gpiv-cam.h.
#define GPIV_CAMPAR_KEY__FNAME "Fname" |
Parameter key for output image name
Definition at line 73 of file gpiv-cam.h.
#define GPIV_CAMPAR_KEY__MODE "Mode" |
Parameter key for camera mode
Definition at line 71 of file gpiv-cam.h.
typedef struct __GpivCamPar GpivCamPar |
Definition at line 90 of file gpiv-cam.h.
typedef struct __GpivCamVar GpivCamVar |
Definition at line 108 of file gpiv-cam.h.
enum GpivCamMode |
Camera modes
Definition at line 81 of file gpiv-cam.h.
gchar* gpiv_cam_check_parameters_read | ( | GpivCamPar * | cam_par, | |
const GpivCamPar * | cam_par_default | |||
) |
Check out if all GpivCamPar parameters have been read
[in] | cam_par_default | default parameters |
[out] | cam_par | parameters of camera parameters |
void gpiv_cam_default_parameters | ( | GpivCamPar * | cam_par_default, | |
const gboolean | force | |||
) |
Sets default GpivCamPar parameter values
[out] | cam_par_default | structure of camera parameters |
[out] | force | forces to set to default, even if already defined |
gchar* gpiv_cam_free_camvar | ( | GpivCamVar * | cam_var | ) |
Free memory variables of connected cameras using firewire
[out] | cam_var | structure of camera variables |
GpivCamVar* gpiv_cam_get_camvar | ( | const gboolean | verbose | ) |
Get varaiables of connected cameras using firewire
[in] | verbose | prints camera info to stdout |
void gpiv_cam_parameters__set | ( | GpivCamPar * | cam_par, | |
const gboolean | flag | |||
) |
Sets flags for __set variables of GpivCamPar
[in] | flag | flag representing __set value |
[out] | cam_par | parameters for recording images |
void gpiv_cam_print_parameters | ( | FILE * | fp_par_out, | |
const GpivCamPar * | cam_par | |||
) |
Prints GpivCamPar parameters to fp_par_out
[in] | fp_par_out | output file |
[in] | cam_par | parameters for camera |
void gpiv_cam_read_parameters | ( | FILE * | fp_par, | |
GpivCamPar * | cam_par, | |||
const gboolean | verbose | |||
) |
Read all GpivCamPar parameters
[in] | fp_par | file pointer to parameter file |
[in] | verbose | flag to print parametrs to stdout |
[out] | cam_par | parameters of camera parameters |
gchar* gpiv_cam_test_parameter | ( | const GpivCamPar * | cam_par | ) |
Testing GpivCamPar parameters on valid values and initializing derived variables
[in] | cam_par | parameters for camera |