diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-02-03 16:14:18 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-02-03 16:14:18 +0100 |
commit | 85546868f4df692803d21ddbaa20673fd8b5be0b (patch) | |
tree | 8a8079c69adf483b6ab2dd435faf1ba72191287c /test/benchmark.c | |
parent | 0da06d904850330f583e1e8cdededcf6aa8cbe29 (diff) | |
download | uca-85546868f4df692803d21ddbaa20673fd8b5be0b.tar.gz uca-85546868f4df692803d21ddbaa20673fd8b5be0b.tar.bz2 uca-85546868f4df692803d21ddbaa20673fd8b5be0b.tar.xz uca-85546868f4df692803d21ddbaa20673fd8b5be0b.zip |
Typedef types
Diffstat (limited to 'test/benchmark.c')
-rw-r--r-- | test/benchmark.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/benchmark.c b/test/benchmark.c index 60d030d..0d7962a 100644 --- a/test/benchmark.c +++ b/test/benchmark.c @@ -35,7 +35,7 @@ void grab_callback_raw(uint32_t image_number, void *buffer, void *meta_data, voi *count = image_number; } -void benchmark_cam(struct uca_camera *cam) +void benchmark_cam(uca_camera *cam) { char name[256]; uca_cam_get_property(cam, UCA_PROP_NAME, name, 256); @@ -81,7 +81,7 @@ void benchmark_cam(struct uca_camera *cam) int main(int argc, char *argv[]) { - struct uca *u = uca_init(NULL); + uca *u = uca_init(NULL); if (u == NULL) { printf("Couldn't find a camera\n"); return 1; @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) printf("# camera;width;height;experiment;frames-per-second;throughput in MB/s\n"); /* take first camera */ - struct uca_camera *cam = u->cameras; + uca_camera *cam = u->cameras; while (cam != NULL) { benchmark_cam(cam); cam = cam->next; |