#ifndef DYNCONT_H #define DYNCONT_H #include #include #include "model/processor/IProcessStrategy.h" #include "utils/OpenCLHelper.h" typedef struct DynCont_t { cl_int state; cl_int gain; cl_int dynContSelector; cl_int compressionType; }DynCont_t; class DynCont : public IProcessStrategy { Q_OBJECT public: Q_INVOKABLE DynCont(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; DynCont_t _kernelParameters; }; #endif // DYNCONT_H