diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-12-16 17:17:30 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-12-16 17:17:30 +0100 |
commit | 2480178acbf97c72205d525d3d4d4f589477c2b0 (patch) | |
tree | 3200b299741067f15e428f57712df34f6945d10d /src/uca-camera.h | |
parent | cbecaaf86a32d7b6c173e8978aad2f6771b3017f (diff) | |
download | uca-2480178acbf97c72205d525d3d4d4f589477c2b0.tar.gz uca-2480178acbf97c72205d525d3d4d4f589477c2b0.tar.bz2 uca-2480178acbf97c72205d525d3d4d4f589477c2b0.tar.xz uca-2480178acbf97c72205d525d3d4d4f589477c2b0.zip |
Add uca_camera_write to write arbitrary data
This is necessary for cameras that provide a custom calibration.
Diffstat (limited to 'src/uca-camera.h')
-rw-r--r-- | src/uca-camera.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/uca-camera.h b/src/uca-camera.h index 62a6c89..156df8b 100644 --- a/src/uca-camera.h +++ b/src/uca-camera.h @@ -135,6 +135,7 @@ struct _UcaCameraClass { void (*start_readout) (UcaCamera *camera, GError **error); void (*stop_readout) (UcaCamera *camera, GError **error); void (*trigger) (UcaCamera *camera, GError **error); + void (*write) (UcaCamera *camera, const gchar *name, gpointer data, gsize size, GError **error); gboolean (*grab) (UcaCamera *camera, gpointer data, GError **error); }; @@ -151,6 +152,11 @@ void uca_camera_stop_readout (UcaCamera *camera, GError **error); void uca_camera_trigger (UcaCamera *camera, GError **error); +void uca_camera_write (UcaCamera *camera, + const gchar *name, + gpointer data, + gsize size, + GError **error); gboolean uca_camera_grab (UcaCamera *camera, gpointer data, GError **error) |