From: Steinar H. Gunderson Date: Mon, 1 Oct 2012 22:03:12 +0000 (+0200) Subject: Flip some need bits in the conversion effects. X-Git-Tag: 1.0~450 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=a94fbb7ebe6bd57c0c0a7f4174d97b95e3147519;ds=sidebyside Flip some need bits in the conversion effects. --- diff --git a/colorspace_conversion_effect.h b/colorspace_conversion_effect.h index e487d70..6efc2a2 100644 --- a/colorspace_conversion_effect.h +++ b/colorspace_conversion_effect.h @@ -9,6 +9,8 @@ public: ColorSpaceConversionEffect(); std::string output_glsl(); + virtual bool needs_srgb_primaries() { return false; } + private: ColorSpace source_space, destination_space; }; diff --git a/gamma_compression_effect.h b/gamma_compression_effect.h index ec2a77a..fdc6eee 100644 --- a/gamma_compression_effect.h +++ b/gamma_compression_effect.h @@ -9,6 +9,8 @@ public: GammaCompressionEffect(); std::string output_glsl(); + virtual bool needs_srgb_primaries() { return false; } + private: GammaCurve destination_curve; }; diff --git a/gamma_expansion_effect.h b/gamma_expansion_effect.h index d161c92..41d4bf0 100644 --- a/gamma_expansion_effect.h +++ b/gamma_expansion_effect.h @@ -9,6 +9,9 @@ public: GammaExpansionEffect(); std::string output_glsl(); + virtual bool needs_linear_light() { return false; } + virtual bool needs_srgb_primaries() { return false; } + private: GammaCurve source_curve; };