From 9d4f8e270d27556f277a14c567d516b3c090a027 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 28 Feb 2011 16:44:41 +0100 Subject: Move buffer allocation to frame grabber --- src/cameras/pco.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/cameras/pco.c') diff --git a/src/cameras/pco.c b/src/cameras/pco.c index a556614..2547387 100644 --- a/src/cameras/pco.c +++ b/src/cameras/pco.c @@ -173,10 +173,6 @@ static uint32_t uca_pco_get_property(struct uca_camera_t *cam, enum uca_property return UCA_NO_ERROR; } -uint32_t uca_pco_alloc(struct uca_camera_t *cam, uint32_t n_buffers) -{ - -} uint32_t uca_pco_init(struct uca_camera_t **cam, struct uca_grabber_t *grabber) { @@ -199,7 +195,6 @@ uint32_t uca_pco_init(struct uca_camera_t **cam, struct uca_grabber_t *grabber) uca->destroy = &uca_pco_destroy; uca->set_property = &uca_pco_set_property; uca->get_property = &uca_pco_get_property; - uca->alloc = &uca_pco_alloc; uca->acquire_image = &uca_pco_acquire_image; /* Prepare camera for recording */ -- cgit v1.2.3