diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-06-02 13:33:04 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-06-02 11:29:33 +0200 |
commit | 842584e23685606a80c0996bd9d922a5445a0092 (patch) | |
tree | d78b9df345c4a1fc44f4ada4eec7ef974d12ff32 /src/uca-camera.h | |
parent | 5a42f849cc90070a65bf6d3932396e83ff573a4b (diff) | |
download | libuca-842584e23685606a80c0996bd9d922a5445a0092.tar.gz libuca-842584e23685606a80c0996bd9d922a5445a0092.tar.bz2 libuca-842584e23685606a80c0996bd9d922a5445a0092.tar.xz libuca-842584e23685606a80c0996bd9d922a5445a0092.zip |
Add uca_camera_readout API
This call allows to readout arbitrary frames from internal camera buffers.
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 af95123..45b48ca 100644 --- a/src/uca-camera.h +++ b/src/uca-camera.h @@ -144,6 +144,7 @@ struct _UcaCameraClass { 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); + gboolean (*readout) (UcaCamera *camera, gpointer data, guint index, GError **error); }; UcaCamera * uca_camera_new (const gchar *type, @@ -168,6 +169,11 @@ gboolean uca_camera_grab (UcaCamera *camera, gpointer data, GError **error) __attribute__((nonnull (2))); +gboolean uca_camera_readout (UcaCamera *camera, + gpointer data, + guint index, + GError **error) + __attribute__((nonnull (2))); void uca_camera_set_grab_func (UcaCamera *camera, UcaCameraGrabFunc func, gpointer user_data); |