X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;h=f41e7e4a5e72966a9dd0a56255aca32cf6a3449b;hp=bfe52c0dc6ddaf41d590557b984aabf2effa7d4a;hb=ac4fc36aa70ffefb6b9632dc0abea5cbbce5387b;hpb=2322070a3dbeb6b46b39cca07a0fbf20e95f5468 diff --git a/effect_chain.h b/effect_chain.h index bfe52c0..f41e7e4 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -1,14 +1,17 @@ -#ifndef _EFFECT_CHAIN_H -#define _EFFECT_CHAIN_H 1 +#ifndef _MOVIT_EFFECT_CHAIN_H +#define _MOVIT_EFFECT_CHAIN_H 1 +#include +#include +#include #include +#include #include -#include "effect.h" #include "image_format.h" -#include "input.h" -class EffectChain; +class Effect; +class Input; struct Phase; // For internal use within Node. @@ -22,8 +25,8 @@ enum AlphaType { // Whether you want pre- or postmultiplied alpha in the output // (see effect.h for a discussion of pre- versus postmultiplied alpha). enum OutputAlphaFormat { - OUTPUT_ALPHA_PREMULTIPLIED, - OUTPUT_ALPHA_POSTMULTIPLIED, + OUTPUT_ALPHA_FORMAT_PREMULTIPLIED, + OUTPUT_ALPHA_FORMAT_POSTMULTIPLIED, }; // A node in the graph; basically an effect and some associated information. @@ -234,4 +237,4 @@ private: bool finalized; }; -#endif // !defined(_EFFECT_CHAIN_H) +#endif // !defined(_MOVIT_EFFECT_CHAIN_H)