]> git.sesse.net Git - movit/blobdiff - slice_effect.h
Add an FFT convolution effect.
[movit] / slice_effect.h
index 17202d77c97577e720cf023426c8c28f095ab8c5..0ce5d08b0b7b7917c2b30d5d623a7fab4eb70b5e 100644 (file)
@@ -7,8 +7,8 @@
 // discard roles, where one does convolutions by means of many small FFTs, but
 // could also work as a (relatively boring) video effect on its own.
 //
-// Note that vertical slices happen from the bottom, not the top, due to the
-// OpenGL coordinate system.
+// Note that vertical slices happen from the top, consistent with the rest of
+// Movit.
 
 #include <GL/glew.h>
 #include <string>
@@ -37,6 +37,7 @@ private:
        EffectChain *chain;
        int input_width, input_height;
        int input_slice_size, output_slice_size;
+       int offset;
        Direction direction;
 };