diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-04-18 10:59:11 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-04-18 10:59:11 +0200 |
commit | fcffc9f40c32c863b85cbee3e7d6f51b5b6cdc41 (patch) | |
tree | c3cde2be2da7b19acae6a8cc48edddcd696af510 /src/cameras/pf.c | |
parent | ecb5c3617140852dbd57cc3a77a5fe3dfaf2ed6f (diff) | |
download | libuca-fcffc9f40c32c863b85cbee3e7d6f51b5b6cdc41.tar.gz libuca-fcffc9f40c32c863b85cbee3e7d6f51b5b6cdc41.tar.bz2 libuca-fcffc9f40c32c863b85cbee3e7d6f51b5b6cdc41.tar.xz libuca-fcffc9f40c32c863b85cbee3e7d6f51b5b6cdc41.zip |
Implement correct trigger modes
Diffstat (limited to 'src/cameras/pf.c')
-rw-r--r-- | src/cameras/pf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cameras/pf.c b/src/cameras/pf.c index b787f5c..aa05df6 100644 --- a/src/cameras/pf.c +++ b/src/cameras/pf.c @@ -171,6 +171,11 @@ static uint32_t uca_pf_stop_recording(struct uca_camera *cam) return cam->grabber->stop_acquire(cam->grabber); } +static uint32_t uca_pf_trigger(struct uca_camera *cam) +{ + return cam->grabber->trigger(cam->grabber); +} + static uint32_t uca_pf_grab(struct uca_camera *cam, char *buffer, void *metadata) { uint16_t *frame; @@ -217,6 +222,7 @@ uint32_t uca_pf_init(struct uca_camera **cam, struct uca_grabber *grabber) uca->get_property = &uca_pf_get_property; uca->start_recording = &uca_pf_start_recording; uca->stop_recording = &uca_pf_stop_recording; + uca->trigger = &uca_pf_trigger; uca->grab = &uca_pf_grab; uca->register_callback = &uca_pf_register_callback; |