]> git.sesse.net Git - movit/blobdiff - resize_effect.h
In resizing effects, add the notion of a “virtual output size”.
[movit] / resize_effect.h
index 4c3fe86c1991f231af8ad3cee7df2343d93b581e..c11f4bc9ea6dd9fd4e52241e5e16b8c46b73da21 100644 (file)
@@ -19,7 +19,7 @@ public:
        virtual bool needs_mipmaps() const { return true; }
 
        virtual bool changes_output_size() const { return true; }
-       virtual void get_output_size(unsigned *width, unsigned *height) const;
+       virtual void get_output_size(unsigned *width, unsigned *height, unsigned *virtual_width, unsigned *virtual_height) const;
 
 private:
        int width, height;