You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
762 B
32 lines
762 B
#ifndef DYNCONT_H
|
|
#define DYNCONT_H
|
|
|
|
#include <QObject>
|
|
#include <QMetaType>
|
|
#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<Image2D, Image2D, LocalSpaceArg, Buffer, DynCont_t> _kernelFunctor;
|
|
virtual Image* processKernel(Image *frames, Buffer* scratchPad) override;
|
|
DynCont_t _kernelParameters;
|
|
};
|
|
|
|
#endif // DYNCONT_H
|
|
|