]> git.sesse.net Git - movit/blobdiff - effect_chain.h
Add YCbCr input. Required a bit of reworking of the sRGB extension stuff, but seems...
[movit] / effect_chain.h
index 0b07b85419e2040c0c68d1cac9ec34faedb33b7e..67955786c9e2efd9a3bfed69021f3d7d4efb05a2 100644 (file)
@@ -69,7 +69,9 @@ private:
                std::vector<Effect *> effects;  // In order.
        };
 
-       void set_use_srgb_texture_format(Effect *effect);
+       void find_all_nonlinear_inputs(Effect *effect,
+                                      std::vector<Input *> *nonlinear_inputs,
+                                      std::vector<Effect *> *intermediates);
        Effect *normalize_to_linear_gamma(Effect *input);
        Effect *normalize_to_srgb(Effect *input);