X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=gamma_expansion_effect.h;h=429bd25c4f8cf55de6fa9e907e9be1abdf2db4c2;hp=81f42d137392cf7e0c08ba557f3a3d090f708f7f;hb=refs%2Fheads%2F1.3.x-release;hpb=8ea03db1932e4a76f457e0ecdfe31a4c8be0e0eb diff --git a/gamma_expansion_effect.h b/gamma_expansion_effect.h index 81f42d1..429bd25 100644 --- a/gamma_expansion_effect.h +++ b/gamma_expansion_effect.h @@ -30,6 +30,7 @@ public: virtual bool needs_linear_light() const { return false; } virtual bool needs_srgb_primaries() const { return false; } + virtual bool one_to_one_sampling() const { return true; } // Actually processes its input in a nonlinear fashion, // but does not touch alpha, and we are a special case anyway. @@ -37,6 +38,7 @@ public: private: GammaCurve source_curve; + float uniform_linear_scale, uniform_c[5], uniform_beta; }; } // namespace movit