X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=glow_effect.h;h=02520d7bd9ad8f87f38dd9c4365f63be9e85851f;hp=91106e03b08927ab3498d784f3611b05e36aafa8;hb=refs%2Fheads%2F1.3.x-release;hpb=ac4fc36aa70ffefb6b9632dc0abea5cbbce5387b diff --git a/glow_effect.h b/glow_effect.h index 91106e0..02520d7 100644 --- a/glow_effect.h +++ b/glow_effect.h @@ -4,12 +4,14 @@ // Glow: Cut out the highlights of the image (everything above a certain threshold), // blur them, and overlay them onto the original image. -#include +#include #include #include #include "effect.h" +namespace movit { + class BlurEffect; class EffectChain; class HighlightCutoffEffect; @@ -50,9 +52,12 @@ public: std::string output_fragment_shader(); virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; } + virtual bool one_to_one_sampling() const { return true; } private: float cutoff; }; +} // namespace movit + #endif // !defined(_MOVIT_GLOW_EFFECT_H)