X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=diffusion_effect.h;h=64d743d12eb923bd409b24ddd0d5de508ff5458c;hp=624990cbd664d90cd2e6d9ce2649bed96fecb10d;hb=46cec0349282daa06df45279fb5d4e49add461ae;hpb=e655afd53f2e56938bd4e7f72640eff56ef4a1ee diff --git a/diffusion_effect.h b/diffusion_effect.h index 624990c..64d743d 100644 --- a/diffusion_effect.h +++ b/diffusion_effect.h @@ -12,9 +12,15 @@ // where we first blur the picture, and then overlay it on the original // using the original as a matte. +#include +#include +#include + #include "effect.h" class BlurEffect; +class EffectChain; +class Node; class OverlayMatteEffect; class DiffusionEffect : public Effect { @@ -44,6 +50,7 @@ public: OverlayMatteEffect(); virtual std::string effect_type_id() const { return "OverlayMatteEffect"; } std::string output_fragment_shader(); + virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; } unsigned num_inputs() const { return 2; }