#ifndef SRI_H #define SRI_H #include #include #include "model/processor/IProcessStrategy.h" #include "utils/OpenCLHelper.h" typedef struct Sri_t { cl_int state; cl_int sri; cl_int width; cl_int height; }Sri_t; class Sri : public IProcessStrategy { Q_OBJECT public: Q_INVOKABLE Sri(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; Sri_t _kernelParameters; }; #endif // SRI_H