X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=slice_effect.h;h=89aeb0e4297eaac7eebd0985833c6549adc5829d;hp=17202d77c97577e720cf023426c8c28f095ab8c5;hb=67b2debafd624d3be66588171d6ec677b54247ba;hpb=e9f0fb5e6ae193a5a853ac5aef82927b6a81267a diff --git a/slice_effect.h b/slice_effect.h index 17202d7..89aeb0e 100644 --- a/slice_effect.h +++ b/slice_effect.h @@ -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 +#include #include #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; };