]> git.sesse.net Git - movit/blobdiff - effect_chain.h
Give the alpha enums somewhat better/more consistent names, and shuffle them around...
[movit] / effect_chain.h
index 88d5d3202faba525f4bb0a92af9bee70e14d7055..f5064eb7b53bb8bfd8ea51919b33a4d9385649d4 100644 (file)
@@ -23,7 +23,7 @@ enum AlphaType {
 // (see effect.h for a discussion of pre- versus postmultiplied alpha).
 enum OutputAlphaFormat {
        OUTPUT_ALPHA_PREMULTIPLIED,
-       OUTPUT_ALPHA_POSTMULTIPLIED,
+       OUTPUT_POSTMULTIPLIED_ALPHA,
 };
 
 // A node in the graph; basically an effect and some associated information.
@@ -72,7 +72,7 @@ struct Phase {
        std::vector<Node *> inputs;
 
        std::vector<Node *> effects;  // In order.
-       unsigned output_width, output_height;
+       unsigned output_width, output_height, virtual_output_width, virtual_output_height;
 };
 
 class EffectChain {