2
Phlips webcam INDI driver
3
Copyright (C) 2003-2005 by Jasem Mutlaq
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Lesser General Public
7
License as published by the Free Software Foundation; either
8
version 2.1 of the License, or (at your option) any later version.
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Lesser General Public License for more details.
15
You should have received a copy of the GNU Lesser General Public
16
License along with this library; if not, write to the Free Software
17
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
2005.04.29 JM: There is no need for this file for Video 4 Linux 2. It is kept for V4L 1 compatibility.
28
#ifndef HAVE_LINUX_VIDEODEV2_H
29
#include "webcam/v4l1_pwc.h"
32
#include "v4ldriver.h"
34
class V4L_Philips : public V4L_Driver
40
/* INDI Functions that must be called from indidrivermain */
41
void ISGetProperties (const char *dev);
42
void ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n);
43
void ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n);
44
void ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n);
47
void initProperties(const char *dev);
48
void connectCamera(void);
53
ISwitch BackLightS[2];
54
ISwitch AntiFlickerS[2];
55
ISwitch NoiseReductionS[4];
56
ISwitch CamSettingS[3];
57
ISwitch WhiteBalanceModeS[5];
61
INumber WhiteBalanceN[2];
62
INumber ShutterSpeedN[1];
65
ISwitchVectorProperty BackLightSP;
66
ISwitchVectorProperty AntiFlickerSP;
67
ISwitchVectorProperty NoiseReductionSP;
68
ISwitchVectorProperty CamSettingSP;
69
ISwitchVectorProperty WhiteBalanceModeSP;
72
INumberVectorProperty WhiteBalanceNP;
73
INumberVectorProperty ShutterSpeedNP;
75
#ifndef HAVE_LINUX_VIDEODEV2_H
77
void updateV4L1Controls();
78
void getBasicData(void);