Files
oak-editor/effects/video/gaussianblureffect.h
T

20 lines
454 B
C++

#ifndef GAUSSIANBLUREFFECT_H
#define GAUSSIANBLUREFFECT_H
#include "../effect.h"
class GaussianBlurEffect : public Effect
{
public:
GaussianBlurEffect(Clip* c);
void process_image(double timecode, uint8_t *data, int width, int height);
void process_gl(double timecode, GLTextureCoords &coords);
void clean_gl();
private:
QOpenGLShaderProgram program;
QOpenGLShader vert;
QOpenGLShader frag;
};
#endif // GAUSSIANBLUREFFECT_H