00001 #ifndef FCAM_N900_PLATFORM 00002 #define FCAM_N900_PLATFORM 00003 00004 #include "FCam/Platform.h" 00005 00010 namespace FCam { namespace N900 { 00011 00013 class Platform : public FCam::Platform { 00014 public: 00015 virtual void rawToRGBColorMatrix(int kelvin, float *matrix) const; 00016 virtual const std::string &manufacturer() const {static std::string s("Nokia"); return s;} 00017 virtual const std::string &model() const {static std::string s("Nokia N900"); return s;} 00018 00020 virtual unsigned short minRawValue() const {return 0;} 00021 00023 virtual unsigned short maxRawValue() const {return 959;} 00024 00026 virtual BayerPattern bayerPattern() const {return GRBG;} 00027 00031 static const Platform &instance(); 00032 }; 00033 }} 00034 00035 #endif