X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=mix_effect.h;fp=mix_effect.h;h=967c06b2ba59ac47b9ed21b7f1692f90bfdde854;hp=c6739653b398b7cd9791af5361d32197dd3d8499;hb=7af4d1b54ba141fdb74cd13ddc6110708855d157;hpb=572e7aaa57028d7eda4bc445a6249637134a2b02 diff --git a/mix_effect.h b/mix_effect.h index c673965..967c06b 100644 --- a/mix_effect.h +++ b/mix_effect.h @@ -15,6 +15,10 @@ public: virtual bool needs_srgb_primaries() const { return false; } virtual unsigned num_inputs() const { return 2; } + // TODO: In the common case where a+b=1, it would be useful to be able to set + // alpha_handling() to INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK. However, right now + // we have no way of knowing that at instantiation time. + private: float strength_first, strength_second; };