summaryrefslogtreecommitdiffstats
path: root/src/uca-grabber.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-01 09:47:10 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-01 09:47:10 +0100
commit9b65b8182769c7cf993e256444d331ffec9f2d02 (patch)
treec17c373c939c9bca852f72ca958c2c511eea7bb6 /src/uca-grabber.h
parenta92101a277aed63224e1bd2077c99826e9e35f1d (diff)
downloaduca-9b65b8182769c7cf993e256444d331ffec9f2d02.tar.gz
uca-9b65b8182769c7cf993e256444d331ffec9f2d02.tar.bz2
uca-9b65b8182769c7cf993e256444d331ffec9f2d02.tar.xz
uca-9b65b8182769c7cf993e256444d331ffec9f2d02.zip
Documentation added
Diffstat (limited to 'src/uca-grabber.h')
-rw-r--r--src/uca-grabber.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/uca-grabber.h b/src/uca-grabber.h
index dd68688..4485b07 100644
--- a/src/uca-grabber.h
+++ b/src/uca-grabber.h
@@ -46,9 +46,19 @@ typedef uint32_t (*uca_grabber_alloc) (struct uca_grabber_t *grabber, uint32_t n
*/
typedef uint32_t (*uca_grabber_acquire) (struct uca_grabber_t *grabber, int32_t n_frames);
+/**
+ * \brief Stop acquiring frames
+ */
typedef uint32_t (*uca_grabber_stop_acquire) (struct uca_grabber_t *grabber);
-typedef uint32_t (*uca_grabber_grab) (struct uca_grabber_t *grabber, void **buffer, size_t n_bytes);
+/**
+ * \brief Grab a frame
+ *
+ * This method is usually called through the camera interface and not directly.
+ *
+ * \param[in] buffer The pointer of the frame buffer is set here
+ */
+typedef uint32_t (*uca_grabber_grab) (struct uca_grabber_t *grabber, void **buffer);
struct uca_grabber_t {