X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=effect_chain.h;h=2199a5d8b28d56a1a0fe54c85cc2ae9505ede61d;hb=37f56fcbe571b2322243f6de59494bf9e0cbb37a;hp=4b277b38d8d8eab6b221dd651a52d2889564cec7;hpb=fc55857d9ccf1edcc141fa0853a8bf2d6b40b4dc;p=movit diff --git a/effect_chain.h b/effect_chain.h index 4b277b3..2199a5d 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -1,15 +1,21 @@ #ifndef _EFFECT_CHAIN_H #define _EFFECT_CHAIN_H 1 +#include +#include +#include #include +#include #include #include "effect.h" #include "image_format.h" #include "input.h" +class Effect; class EffectChain; -class Phase; +class Input; +struct Phase; // For internal use within Node. enum AlphaType { @@ -22,8 +28,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. @@ -72,7 +78,7 @@ struct Phase { std::vector inputs; std::vector effects; // In order. - unsigned output_width, output_height; + unsigned output_width, output_height, virtual_output_width, virtual_output_height; }; class EffectChain {