summaryrefslogtreecommitdiffstats
path: root/src/uca-grabber.h
diff options
context:
space:
mode:
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 {