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