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