]> git.sesse.net Git - movit/blobdiff - slice_effect.h
Fix a bug where having two DeconvolutionSharpenEffects in one chain would cause shade...
[movit] / slice_effect.h
index 1c363ea7b104c19ccd31a6e82a74b50f95ec16c1..89aeb0e4297eaac7eebd0985833c6549adc5829d 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 <epoxy/gl.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;
 };