00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef QGST_COLORBALANCE_H
00018 #define QGST_COLORBALANCE_H
00019
00020 #include "global.h"
00021 #include "../QGlib/object.h"
00022
00023 namespace QGst {
00024
00028 class QTGSTREAMER_EXPORT ColorBalanceChannel : public QGlib::Object
00029 {
00030 QGST_WRAPPER(ColorBalanceChannel)
00031 public:
00032 QString label() const;
00033 int minValue() const;
00034 int maxValue() const;
00035 };
00036
00040 class QTGSTREAMER_EXPORT ColorBalance : public QGlib::Interface
00041 {
00042 QGST_WRAPPER(ColorBalance)
00043 public:
00044 ColorBalanceType type() const;
00045 QList<ColorBalanceChannelPtr> channels() const;
00046 int value(const ColorBalanceChannelPtr & channel) const;
00047 void setValue(const ColorBalanceChannelPtr & channel, int value);
00048 };
00049
00050 }
00051
00052 QGST_REGISTER_TYPE(QGst::ColorBalanceChannel)
00053 QGST_REGISTER_TYPE(QGst::ColorBalance)
00054 QGLIB_REGISTER_INTERFACE(QGst::ColorBalance)
00055
00056 #endif // QGST_COLORBALANCE_H