X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=input.h;h=db1eae9b7b3fbaf681efc68cac3e8c93731edaf2;hp=ac03e8490c280c1aa2f86b65c465ecd9087de592;hb=fb92a4e217a92ecf83b7812cc6933f6f3048b752;hpb=0dc1dfe6444a700ebd2c9f006cba000b90c3a7b0 diff --git a/input.h b/input.h index ac03e84..db1eae9 100644 --- a/input.h +++ b/input.h @@ -24,8 +24,15 @@ 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 unsigned get_width() const = 0; + virtual unsigned get_height() const = 0; + virtual Colorspace get_color_space() const = 0; + virtual GammaCurve get_gamma_curve() const = 0; }; #endif // !defined(_INPUT_H)