25 #ifndef DIGIKAM_MIXER_FILTER_H
26 #define DIGIKAM_MIXER_FILTER_H
45 : bPreserveLum (true),
96 explicit MixerFilter(QObject*
const parent =
nullptr);
98 QObject*
const parent =
nullptr,
104 return QLatin1String(
"digikam:MixerFilter");
107 static QString DisplayableName();
121 return FilterIdentifier();
125 void readParameters(
const FilterAction& action)
override;
129 void filterImage()
override;
131 inline double CalculateNorm(
double RedGain,
double GreenGain,
double BlueGain,
bool bPreserveLum);
133 inline unsigned short MixPixel(
double RedGain,
double GreenGain,
double BlueGain,
134 unsigned short R,
unsigned short G,
unsigned short B,
bool sixteenBit,
Definition: dimgthreadedfilter.h:41
Definition: filteraction.h:43
Definition: mixerfilter.h:40
MixerContainer()
Definition: mixerfilter.h:44
double greenGreenGain
Definition: mixerfilter.h:76
double redBlueGain
Definition: mixerfilter.h:74
double blackGreenGain
Definition: mixerfilter.h:84
double greenBlueGain
Definition: mixerfilter.h:77
double blueBlueGain
Definition: mixerfilter.h:80
double blackBlueGain
Definition: mixerfilter.h:85
double redGreenGain
Definition: mixerfilter.h:73
double redRedGain
Definition: mixerfilter.h:72
bool bMonochrome
Definition: mixerfilter.h:69
double blueRedGain
Definition: mixerfilter.h:78
double blueGreenGain
Definition: mixerfilter.h:79
bool bPreserveLum
Definition: mixerfilter.h:64
~MixerContainer()
Definition: mixerfilter.h:62
double greenRedGain
Definition: mixerfilter.h:75
double blackRedGain
Definition: mixerfilter.h:83
Definition: mixerfilter.h:91
static int CurrentVersion()
Definition: mixerfilter.h:114
static QList< int > SupportedVersions()
Definition: mixerfilter.h:109
static QString FilterIdentifier()
Definition: mixerfilter.h:102
QString filterIdentifier() const override
Definition: mixerfilter.h:119
Definition: datefolderview.cpp:43