X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=fft_pass_effect.h;h=90e88bc1fddd94650c1deae08011e9c2d0e5395e;hp=1fd4ea2c1886ed0bd6fb1f358954989770e0e5da;hb=15daf781e6ce00ec37ca806a16e490d59dcb4e24;hpb=cfc161e0289c2169d4835c48751ff56b97355eb2 diff --git a/fft_pass_effect.h b/fft_pass_effect.h index 1fd4ea2..90e88bc 100644 --- a/fft_pass_effect.h +++ b/fft_pass_effect.h @@ -50,7 +50,7 @@ // scaling), and as fp16 has quite limited range at times, this can be relevant // on some GPUs for larger sizes. -#include +#include #include #include #include @@ -98,10 +98,13 @@ public: *width = *virtual_width = input_width; *height = *virtual_height = input_height; } + + virtual void inform_added(EffectChain *chain) { this->chain = chain; } enum Direction { HORIZONTAL = 0, VERTICAL = 1 }; private: + EffectChain *chain; int input_width, input_height; GLuint tex; int fft_size;