kstars
v4lphilips.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef HAVE_LINUX_VIDEODEV2_H
00024 #include "webcam/v4l1_pwc.h"
00025 #endif
00026
00027 #include "v4ldriver.h"
00028
00029 class V4L_Philips : public V4L_Driver
00030 {
00031 public:
00032 V4L_Philips();
00033 ~V4L_Philips();
00034
00035
00036 void ISGetProperties (const char *dev);
00037 void ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n);
00038 void ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n);
00039 void ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n);
00040
00041 void initCamBase();
00042 void initProperties(const char *dev);
00043
00044 private:
00045
00046
00047 ISwitch BackLightS[2];
00048 ISwitch AntiFlickerS[2];
00049 ISwitch NoiseReductionS[4];
00050 ISwitch CamSettingS[3];
00051 ISwitch WhiteBalanceModeS[5];
00052
00053
00054
00055 INumber WhiteBalanceN[2];
00056 INumber ShutterSpeedN[1];
00057
00058
00059 ISwitchVectorProperty BackLightSP;
00060 ISwitchVectorProperty AntiFlickerSP;
00061 ISwitchVectorProperty NoiseReductionSP;
00062 ISwitchVectorProperty CamSettingSP;
00063 ISwitchVectorProperty WhiteBalanceModeSP;
00064
00065
00066 INumberVectorProperty WhiteBalanceNP;
00067 INumberVectorProperty ShutterSpeedNP;
00068
00069 #ifndef HAVE_LINUX_VIDEODEV2_H
00070 V4L1_PWC * v4l_pwc;
00071 void updateV4L1Controls();
00072 void getBasicData(void);
00073 #endif
00074
00075 };
00076
00077