From f3e6870dc9543cd9c0953f2b661bf64d93b2590a Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 31 Jan 2012 15:28:30 +0100 Subject: Put libuca under LGPL --- test/benchmark.c | 20 +++++++++++++++++++- test/control.c | 17 +++++++++++++++++ test/enum.c | 16 ++++++++++++++++ test/grab-async.c | 16 ++++++++++++++++ test/grab.c | 16 ++++++++++++++++ 5 files changed, 84 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/benchmark.c b/test/benchmark.c index 7a6b6e0..60d030d 100644 --- a/test/benchmark.c +++ b/test/benchmark.c @@ -1,3 +1,19 @@ +/* Copyright (C) 2011, 2012 Matthias Vogelgesang + (Karlsruhe Institute of Technology) + + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2.1 of the License, or (at your + option) any later version. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + details. + + You should have received a copy of the GNU Lesser General Public License along + with this library; if not, write to the Free Software Foundation, Inc., 51 + Franklin St, Fifth Floor, Boston, MA 02110, USA */ #define __USE_BSD #include @@ -54,7 +70,9 @@ void benchmark_cam(struct uca_camera *cam) gettimeofday(&stop, NULL); float seconds = time_diff(&start, &stop) / 1000000.0; - printf("%f,%s;%i;%i;1;%.2f;%.2f\n", seconds,name, width, height, 1000.0 / seconds, width*height*pixel_size*1000.0/ (1024*1024*seconds)); + printf("%f,%s;%i;%i;1;%.2f;%.2f\n", seconds, + name, width, height, 1000.0 / seconds, + width*height*pixel_size*1000.0/ (1024*1024*seconds)); height /= 2; free(buffer); diff --git a/test/control.c b/test/control.c index 0f31573..372acf6 100644 --- a/test/control.c +++ b/test/control.c @@ -1,3 +1,20 @@ +/* Copyright (C) 2011, 2012 Matthias Vogelgesang + (Karlsruhe Institute of Technology) + + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2.1 of the License, or (at your + option) any later version. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + details. + + You should have received a copy of the GNU Lesser General Public License along + with this library; if not, write to the Free Software Foundation, Inc., 51 + Franklin St, Fifth Floor, Boston, MA 02110, USA */ + #include #include #include diff --git a/test/enum.c b/test/enum.c index 3a9c59d..148304c 100644 --- a/test/enum.c +++ b/test/enum.c @@ -1,3 +1,19 @@ +/* Copyright (C) 2011, 2012 Matthias Vogelgesang + (Karlsruhe Institute of Technology) + + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2.1 of the License, or (at your + option) any later version. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + details. + + You should have received a copy of the GNU Lesser General Public License along + with this library; if not, write to the Free Software Foundation, Inc., 51 + Franklin St, Fifth Floor, Boston, MA 02110, USA */ #include #include "uca.h" diff --git a/test/grab-async.c b/test/grab-async.c index 22774d7..43f9e1d 100644 --- a/test/grab-async.c +++ b/test/grab-async.c @@ -1,3 +1,19 @@ +/* Copyright (C) 2011, 2012 Matthias Vogelgesang + (Karlsruhe Institute of Technology) + + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2.1 of the License, or (at your + option) any later version. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + details. + + You should have received a copy of the GNU Lesser General Public License along + with this library; if not, write to the Free Software Foundation, Inc., 51 + Franklin St, Fifth Floor, Boston, MA 02110, USA */ #include #include diff --git a/test/grab.c b/test/grab.c index 0226e0a..b7c24dd 100644 --- a/test/grab.c +++ b/test/grab.c @@ -1,3 +1,19 @@ +/* Copyright (C) 2011, 2012 Matthias Vogelgesang + (Karlsruhe Institute of Technology) + + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2.1 of the License, or (at your + option) any later version. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + details. + + You should have received a copy of the GNU Lesser General Public License along + with this library; if not, write to the Free Software Foundation, Inc., 51 + Franklin St, Fifth Floor, Boston, MA 02110, USA */ #include #include -- cgit v1.2.3