]> git.sesse.net Git - movit/blobdiff - fft_pass_effect.h
Make the initializing functions also drop fixed function usage.
[movit] / fft_pass_effect.h
index b3e025b1a1284bb0415b04320ba08e491b1fc3f9..1fd4ea2c1886ed0bd6fb1f358954989770e0e5da 100644 (file)
 // scaling), and as fp16 has quite limited range at times, this can be relevant
 // on some GPUs for larger sizes.
 
-#include <stdio.h>
 #include <GL/glew.h>
+#include <assert.h>
+#include <stdio.h>
 #include <string>
 
 #include "effect.h"
 
+namespace movit {
+
 class FFTPassEffect : public Effect {
 public:
        FFTPassEffect();
@@ -107,4 +110,6 @@ private:
        int inverse;  // 0 = forward (FFT), 1 = reverse (IFFT).
 };
 
+}  // namespace movit
+
 #endif // !defined(_MOVIT_FFT_PASS_EFFECT_H)