]> git.sesse.net Git - movit/blobdiff - gamma_expansion_effect.h
Save a mul in YCbCrInput by folding the scaling into the matrix.
[movit] / gamma_expansion_effect.h
index 679c16d24d92c2adb28ebe1eac708048e2d9029c..81f42d137392cf7e0c08ba557f3a3d090f708f7f 100644 (file)
@@ -6,12 +6,17 @@
 // of the processing chain.
 //
 // Currently supports sRGB, Rec. 601/709 and Rec. 2020 (10- and 12-bit).
+// Note that Movit's internal formats generally do not have enough accuracy
+// for 12-bit input or output.
 
+#include <epoxy/gl.h>
 #include <string>
 
 #include "effect.h"
 #include "image_format.h"
 
+namespace movit {
+
 class GammaExpansionEffect : public Effect {
 private:
        // Should not be instantiated by end users.
@@ -34,4 +39,6 @@ private:
        GammaCurve source_curve;
 };
 
+}  // namespace movit
+
 #endif // !defined(_MOVIT_GAMMA_EXPANSION_EFFECT_H)