]> git.sesse.net Git - movit/blobdiff - input.h
Make the blur use the resize functionality, which also unbreaks the in-between sampli...
[movit] / input.h
diff --git a/input.h b/input.h
index ac03e8490c280c1aa2f86b65c465ecd9087de592..8687690aa1386bb13776962ec987d48b26d14248 100644 (file)
--- a/input.h
+++ b/input.h
@@ -24,8 +24,13 @@ public:
        // mipmap generation) at that point.
        virtual void finalize() = 0;
 
-       virtual ColorSpace get_color_space() = 0;       
-       virtual GammaCurve get_gamma_curve() = 0;       
+       // Whether this input can deliver linear gamma directly if it's
+       // asked to. (If so, set the parameter “output_linear_gamma”
+       // to activate it.)
+       virtual bool can_output_linear_gamma() const = 0;
+
+       virtual ColorSpace get_color_space() const = 0;
+       virtual GammaCurve get_gamma_curve() const = 0;
 };
 
 #endif // !defined(_INPUT_H)