summaryrefslogtreecommitdiffstats
path: root/src/cameras/pylon_camera.h
blob: 8a474aae7df9b8bf593db7cfc0add44714f33fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

#ifndef _PYLON_CAMERA_H_
#define _PYLON_CAMERA_H_

#include <glib.h>

G_BEGIN_DECLS

void pylon_camera_new(const gchar* lib_path, const gchar* camera_ip, GError** error);

void pylon_camera_set_exposure_time(gdouble exp_time, GError** error);
void pylon_camera_get_exposure_time(gdouble* exp_time, GError** error);

void pylon_camera_get_sensor_size(guint* width, guint* height, GError** error);
void pylon_camera_get_bit_depth(guint* depth, GError** error);

void pylon_camera_start_acquision(GError** error);
void pylon_camera_stop_acquision(GError** error);
void pylon_camera_grab(gpointer *data, GError** error);

void pylon_camera_delete();

G_END_DECLS

#endif