Go to the documentation of this file.00001 #ifndef FCAM_N900_PLATFORM
00002 #define FCAM_N900_PLATFORM
00003
00004 #include "FCam/Platform.h"
00005
00010 namespace FCam {
00011 namespace N900 {
00012
00014 class Platform : public FCam::Platform {
00015 public:
00016 virtual void rawToRGBColorMatrix(int kelvin, float *matrix) const;
00017 virtual const std::string &manufacturer() const {static std::string s("Nokia"); return s;}
00018 virtual const std::string &model() const {static std::string s("Nokia N900"); return s;}
00019
00021 virtual unsigned short minRawValue() const {return 0;}
00022
00024 virtual unsigned short maxRawValue() const {return 959;}
00025
00027 virtual BayerPattern bayerPattern() const {return GRBG;}
00028
00032 static const Platform &instance();
00033 };
00034 }
00035 }
00036
00037 #endif