#ifndef GRAYMAP_H #define GRAYMAP_H #include #include #include "model/processor/IProcessStrategy.h" #include "utils/OpenCLHelper.h" typedef struct GrayMap_t { cl_int grayMapSelector; }GrayMap_t; class GrayMap : public IProcessStrategy { Q_OBJECT public: Q_INVOKABLE GrayMap(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; GrayMap_t _kernelParameters; }; #endif // GRAYMAP_H