xref: /openbmc/linux/include/linux/videodev2.h (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
11da177e4SLinus Torvalds /*
2b1e7df1dSMichael Schimek  *  Video for Linux Two header file
3b1e7df1dSMichael Schimek  *
48e19b347SHans Verkuil  *  Copyright (C) 1999-2012 the contributors
5b1e7df1dSMichael Schimek  *
6b1e7df1dSMichael Schimek  *  This program is free software; you can redistribute it and/or modify
7b1e7df1dSMichael Schimek  *  it under the terms of the GNU General Public License as published by
8b1e7df1dSMichael Schimek  *  the Free Software Foundation; either version 2 of the License, or
9b1e7df1dSMichael Schimek  *  (at your option) any later version.
10b1e7df1dSMichael Schimek  *
11b1e7df1dSMichael Schimek  *  This program is distributed in the hope that it will be useful,
12b1e7df1dSMichael Schimek  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13b1e7df1dSMichael Schimek  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14b1e7df1dSMichael Schimek  *  GNU General Public License for more details.
15b1e7df1dSMichael Schimek  *
16b1e7df1dSMichael Schimek  *  Alternatively you can redistribute this file under the terms of the
17b1e7df1dSMichael Schimek  *  BSD license as stated below:
18b1e7df1dSMichael Schimek  *
19b1e7df1dSMichael Schimek  *  Redistribution and use in source and binary forms, with or without
20b1e7df1dSMichael Schimek  *  modification, are permitted provided that the following conditions
21b1e7df1dSMichael Schimek  *  are met:
22b1e7df1dSMichael Schimek  *  1. Redistributions of source code must retain the above copyright
23b1e7df1dSMichael Schimek  *     notice, this list of conditions and the following disclaimer.
24b1e7df1dSMichael Schimek  *  2. Redistributions in binary form must reproduce the above copyright
25b1e7df1dSMichael Schimek  *     notice, this list of conditions and the following disclaimer in
26b1e7df1dSMichael Schimek  *     the documentation and/or other materials provided with the
27b1e7df1dSMichael Schimek  *     distribution.
28b1e7df1dSMichael Schimek  *  3. The names of its contributors may not be used to endorse or promote
29b1e7df1dSMichael Schimek  *     products derived from this software without specific prior written
30b1e7df1dSMichael Schimek  *     permission.
31b1e7df1dSMichael Schimek  *
32b1e7df1dSMichael Schimek  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
33b1e7df1dSMichael Schimek  *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
34b1e7df1dSMichael Schimek  *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
35b1e7df1dSMichael Schimek  *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
36b1e7df1dSMichael Schimek  *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
37b1e7df1dSMichael Schimek  *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
38b1e7df1dSMichael Schimek  *  TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
39b1e7df1dSMichael Schimek  *  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
40b1e7df1dSMichael Schimek  *  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
41b1e7df1dSMichael Schimek  *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
42b1e7df1dSMichael Schimek  *  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
431da177e4SLinus Torvalds  *
44401998faSMauro Carvalho Chehab  *	Header file for v4l or V4L2 drivers and applications
45401998faSMauro Carvalho Chehab  * with public API.
46401998faSMauro Carvalho Chehab  * All kernel-specific stuff were moved to media/v4l2-dev.h, so
47401998faSMauro Carvalho Chehab  * no #if __KERNEL tests are allowed here
481da177e4SLinus Torvalds  *
49991ce92fSMauro Carvalho Chehab  *	See https://linuxtv.org for more info
501da177e4SLinus Torvalds  *
5143db48d3SMauro Carvalho Chehab  *	Author: Bill Dirks <bill@thedirks.org>
521da177e4SLinus Torvalds  *		Justin Schoeman
53b1e7df1dSMichael Schimek  *              Hans Verkuil <hverkuil@xs4all.nl>
541da177e4SLinus Torvalds  *		et al.
551da177e4SLinus Torvalds  */
56401998faSMauro Carvalho Chehab #ifndef __LINUX_VIDEODEV2_H
57401998faSMauro Carvalho Chehab #define __LINUX_VIDEODEV2_H
585e6b83edSDavid Woodhouse 
591da177e4SLinus Torvalds #include <linux/time.h>     /* need struct timeval */
60*0cd39f46SPeter Zijlstra #include <linux/kernel.h>
61607ca46eSDavid Howells #include <uapi/linux/videodev2.h>
621da177e4SLinus Torvalds 
631da177e4SLinus Torvalds #endif /* __LINUX_VIDEODEV2_H */
64