123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- #ifndef _ARGUS_EXT_BAYER_AVERAGE_MAP_H
- #define _ARGUS_EXT_BAYER_AVERAGE_MAP_H
- namespace Argus
- {
- DEFINE_UUID(ExtensionName, EXT_BAYER_AVERAGE_MAP, 12c3de20,64c5,11e6,bdf4,08,00,20,0c,9a,66);
- namespace Ext
- {
- DEFINE_UUID(InterfaceID, IID_BAYER_AVERAGE_MAP_SETTINGS, 12c3de21,64c5,11e6,bdf4,08,00,20,0c,9a,66);
- class IBayerAverageMapSettings : public Interface
- {
- public:
- static const InterfaceID& id() { return IID_BAYER_AVERAGE_MAP_SETTINGS; }
-
- virtual void setBayerAverageMapEnable(bool enable) = 0;
-
- virtual bool getBayerAverageMapEnable() const = 0;
- protected:
- ~IBayerAverageMapSettings() {}
- };
- DEFINE_UUID(InterfaceID, IID_BAYER_AVERAGE_MAP, 12c3de22,64c5,11e6,bdf4,08,00,20,0c,9a,66);
- class IBayerAverageMap : public Interface
- {
- public:
- static const InterfaceID& id() { return IID_BAYER_AVERAGE_MAP; }
-
- virtual Point2D<uint32_t> getBinStart() const = 0;
-
- virtual Size2D<uint32_t> getBinSize() const = 0;
-
- virtual Size2D<uint32_t> getBinCount() const = 0;
-
- virtual Size2D<uint32_t> getBinInterval() const = 0;
-
- virtual Range<float> getWorkingRange() const = 0;
-
- virtual Status getAverages(Array2D< BayerTuple<float> >* averages) const = 0;
-
- virtual Status getClipCounts(Array2D< BayerTuple<uint32_t> >* clipCounts) const = 0;
- protected:
- ~IBayerAverageMap() {}
- };
- }
- }
- #endif
|