Added QML components for aperture, exposure, iso, noise reduction and flicker reduction
[harmattan/cameraplus] / imports / noisereduction.h
1 // -*- c++ -*-
2
3 #ifndef NOISE_REDUCTION_H
4 #define NOISE_REDUCTION_H
5
6 #include "capability.h"
7 #include "qtcamnoisereduction.h"
8
9 class NoiseReduction : public Capability {
10   Q_OBJECT
11
12   Q_PROPERTY(NoiseReductionMode value READ value WRITE setValue NOTIFY valueChanged);
13   Q_ENUMS(NoiseReductionMode);
14
15 public:
16   typedef enum {
17     None = QtCamNoiseReduction::None,
18     Bayer = QtCamNoiseReduction::Bayer,
19     Ycc = QtCamNoiseReduction::Ycc,
20     Temporal = QtCamNoiseReduction::Temporal,
21     Fixed = QtCamNoiseReduction::Fixed,
22     Extra = QtCamNoiseReduction::Extra
23   } NoiseReductionMode;
24
25   NoiseReduction(QObject *parent = 0);
26   ~NoiseReduction();
27
28   NoiseReductionMode value();
29   void setValue(const NoiseReductionMode& mode);
30
31 signals:
32   void valueChanged();
33
34 private:
35   virtual void deviceChanged();
36
37   QtCamNoiseReduction *m_nr;
38 };
39
40 #endif /* NOISE_REDUCTION_H */