#ifndef TINTMAP_H #define TINTMAP_H #include #include #include "model/processor/IProcessStrategy.h" #include "utils/OpenCLHelper.h" typedef struct TintMap_t { cl_int tintMapSelector; }TintMap_t; class TintMap : public IProcessStrategy { Q_OBJECT public: Q_INVOKABLE TintMap(const Context context, const QString kernelPath, const QObject *parent); virtual void cpuProcess(ScenGenOutput_t parameters) override; virtual void finalize() override; private: KernelFunctor _kernelFunctor; virtual Image* processKernel(Image *frames, Buffer* scratchPad) override; TintMap_t _kernelParameters; }; #endif // TINTMAP_H