• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

v4lphilips.h

Go to the documentation of this file.
00001 /*
00002     Phlips webcam INDI driver
00003     Copyright (C) 2003-2005 by Jasem Mutlaq
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Lesser General Public
00007     License as published by the Free Software Foundation; either
00008     version 2.1 of the License, or (at your option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Lesser General Public License for more details.
00014 
00015     You should have received a copy of the GNU Lesser General Public
00016     License along with this library; if not, write to the Free Software
00017     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00018 
00019     2005.04.29  JM: There is no need for this file for Video 4 Linux 2. It is kept for V4L 1 compatiblity.
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     /* INDI Functions that must be called from indidrivermain */
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     /* Switches */
00047     ISwitch BackLightS[2];
00048     ISwitch AntiFlickerS[2];
00049     ISwitch NoiseReductionS[4];
00050     ISwitch CamSettingS[3];
00051     ISwitch WhiteBalanceModeS[5];
00052 
00053 
00054     /* Nmubers */
00055     INumber WhiteBalanceN[2];
00056     INumber ShutterSpeedN[1];
00057 
00058     /* Switch Vectors */
00059     ISwitchVectorProperty BackLightSP;
00060     ISwitchVectorProperty AntiFlickerSP;
00061     ISwitchVectorProperty NoiseReductionSP;
00062     ISwitchVectorProperty CamSettingSP;
00063     ISwitchVectorProperty WhiteBalanceModeSP;
00064 
00065     /* Number Vectors */
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 

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal