]> git.sesse.net Git - movit/blobdiff - slice_effect.h
Stop using BGR, BGRA and grayscale formats.
[movit] / slice_effect.h
index 17202d77c97577e720cf023426c8c28f095ab8c5..89aeb0e4297eaac7eebd0985833c6549adc5829d 100644 (file)
@@ -7,10 +7,10 @@
 // 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 <epoxy/gl.h>
 #include <string>
 
 #include "effect.h"
@@ -37,6 +37,7 @@ private:
        EffectChain *chain;
        int input_width, input_height;
        int input_slice_size, output_slice_size;
+       int offset;
        Direction direction;
 };