]> git.sesse.net Git - movit/blobdiff - effect.h
Mark some appropriate effects as not needing sRGB primaries, and expand the comment...
[movit] / effect.h
index fcb752638115dd6297bccb918cd606dd3b535645..082c234c5292ebf7361326022b6eb918d16c8365 100644 (file)
--- a/effect.h
+++ b/effect.h
@@ -60,7 +60,9 @@ public:
        // set of RGB primaries; you would currently not get YCbCr
        // or something similar).
        //
        // set of RGB primaries; you would currently not get YCbCr
        // or something similar).
        //
-       // Again, most effects will want this.
+       // Again, most effects will want this, but you can set it to false
+       // if you process each channel independently, equally _and_
+       // in a linear fashion.
        virtual bool needs_srgb_primaries() const { return true; }
 
        // Whether this effect expects its input to come directly from
        virtual bool needs_srgb_primaries() const { return true; }
 
        // Whether this effect expects its input to come directly from