summaryrefslogtreecommitdiffstats
path: root/src/uca-grabber.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-02-28 16:44:41 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-02-28 16:44:41 +0100
commit9d4f8e270d27556f277a14c567d516b3c090a027 (patch)
treea923ce72f46322ef492948fa9f39d5f1ace0f030 /src/uca-grabber.h
parent7296b7a6f4368e8cad39169340770c78166b95cd (diff)
downloaduca-9d4f8e270d27556f277a14c567d516b3c090a027.tar.gz
uca-9d4f8e270d27556f277a14c567d516b3c090a027.tar.bz2
uca-9d4f8e270d27556f277a14c567d516b3c090a027.tar.xz
uca-9d4f8e270d27556f277a14c567d516b3c090a027.zip
Move buffer allocation to frame grabber
Diffstat (limited to 'src/uca-grabber.h')
-rw-r--r--src/uca-grabber.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uca-grabber.h b/src/uca-grabber.h
index 3c48681..0ae229d 100644
--- a/src/uca-grabber.h
+++ b/src/uca-grabber.h
@@ -35,7 +35,7 @@ typedef uint32_t (*uca_grabber_get_property) (struct uca_grabber_t *grabber, enu
* \brief Allocate buffers with current width, height and bitdepth
* \note Subsequent changes of width and height might corrupt memory
*/
-typedef uint32_t (*uca_grabber_allocate) (struct uca_grabber_t *grabber, uint32_t n_buffers);
+typedef uint32_t (*uca_grabber_alloc) (struct uca_grabber_t *grabber, uint32_t n_buffers);
@@ -46,7 +46,7 @@ struct uca_grabber_t {
uca_grabber_destroy destroy;
uca_grabber_set_property set_property;
uca_grabber_get_property get_property;
- uca_grabber_allocate allocate;
+ uca_grabber_alloc alloc;
/* Private */
void *user;