added perspective option to corner pin

This commit is contained in:
itsmattkc
2018-11-13 02:39:15 +11:00
parent f9685d5913
commit 6495c5768d
57 changed files with 416 additions and 80 deletions
+4 -2
View File
@@ -1,13 +1,14 @@
#ifndef CORNERPINEFFECT_H
#define CORNERPINEFFECT_H
#include "../effect.h"
#include "project/effect.h"
class CornerPinEffect : public Effect {
Q_OBJECT
public:
CornerPinEffect(Clip* c, const EffectMeta* em);
void process_coords(double timecode, GLTextureCoords& coords);
void process_coords(double timecode, GLTextureCoords& coords);
void process_shader(double timecode, GLTextureCoords& coords);
private:
EffectField* top_left_x;
EffectField* top_left_y;
@@ -17,6 +18,7 @@ private:
EffectField* bottom_left_y;
EffectField* bottom_right_x;
EffectField* bottom_right_y;
EffectField* perspective;
};
#endif // CORNERPINEFFECT_H