]> git.sesse.net Git - movit/blobdiff - effect_chain.h
Squash linear gamma back into the sRGB curve at the end.
[movit] / effect_chain.h
index 9622abc0eef1abf824b3b83f2c9fbdd151eef104..045c9aa7832f7885570eccd69d7670ce39d92e28 100644 (file)
@@ -46,6 +46,9 @@ public:
        void render_to_screen(unsigned char *src);
 
 private:
+       void normalize_to_linear_gamma();
+       void normalize_to_srgb();
+
        unsigned width, height;
        ImageFormat input_format, output_format;
        std::vector<Effect *> effects;