Fix a bug where intermediate phase outputs could get too low height.
[movit] / alpha_multiplication_effect.h
1 #ifndef _ALPHA_MULTIPLICATION_EFFECT_H
2 #define _ALPHA_MULTIPLICATION_EFFECT_H 1
3
4 // Convert postmultiplied alpha to premultiplied alpha, simply by multiplying.
5
6 #include "effect.h"
7
8 class AlphaMultiplicationEffect : public Effect {
9 public:
10         AlphaMultiplicationEffect() {}
11         virtual std::string effect_type_id() const { return "AlphaMultiplicationEffect"; }
12         std::string output_fragment_shader();
13 };
14
15 #endif // !defined(_ALPHA_MULTIPLICATION_EFFECT_H)