• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

src/N900/Platform.h

00001 #ifndef FCAM_N900_PLATFORM
00002 #define FCAM_N900_PLATFORM
00003 
00004 #include <string>
00005 #include "FCam/Base.h"
00006 
00007 namespace FCam { namespace N900 {
00008 
00009     class _Frame;
00010     class Sensor;
00011 
00012     // private static platform data used by the frame and the sensor to report on properties of the N900
00013     class Platform {
00014         // the color matrices for this sensor and a method to interpolate them
00015         static float RawToRGBColorMatrix3200K[];
00016         static float RawToRGBColorMatrix7000K[];
00017         static void rawToRGBColorMatrix(int kelvin, float *matrix);
00018         
00019         // A manufacturer and model string
00020         static std::string manufacturer;
00021         static std::string model;
00022         
00023         // Details about the sensor
00024         static unsigned short minRawValue, maxRawValue;
00025         static BayerPattern bayerPattern;
00026         
00027         // grant the N900::_Frame and N900::Sensor access to this
00028         // static platform data
00029         friend class FCam::N900::_Frame;            
00030         friend class FCam::N900::Sensor;        
00031     };
00032 }}
00033 
00034 #endif

Generated on Thu Aug 12 2010 15:31:02 for FCam by  doxygen 1.7.1