progress on ffmpeg fitlers

This commit is contained in:
itsmattkc
2018-08-16 20:32:16 +10:00
parent efa628e88f
commit 90b803b0b0
5 changed files with 30 additions and 4 deletions
+5
View File
@@ -13,6 +13,7 @@ struct Clip;
class QXmlStreamReader;
class QXmlStreamWriter;
class Effect;
class CheckboxEx;
#define EFFECT_TYPE_INVALID 0
#define EFFECT_TYPE_VIDEO 1
@@ -98,6 +99,8 @@ private:
QString name;
int ui_row;
QVector<EffectField*> fields;
CheckboxEx* keyframe_enable;
};
class Effect : public QObject {
@@ -128,6 +131,8 @@ public:
bool enable_pre_gl;
bool enable_post_gl;
const char* ffmpeg_filter;
virtual void process_gl(int* anchor_x, int* anchor_y);
virtual void post_gl();
virtual void process_audio(quint8* samples, int nb_bytes);