]> git.sesse.net Git - movit/blobdiff - gamma_compression_effect.h
Prefix include guards with _MOVIT to avoid clashes with external files.
[movit] / gamma_compression_effect.h
index 46ac80e7d6b12e6b2b217dcb942d125fbe9788f3..c494cd795b00ce5f5c20142a4ff4ea9ae879b7c1 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _GAMMA_COMPRESSION_EFFECT_H 
-#define _GAMMA_COMPRESSION_EFFECT_H 1
+#ifndef _MOVIT_GAMMA_COMPRESSION_EFFECT_H 
+#define _MOVIT_GAMMA_COMPRESSION_EFFECT_H 1
 
 // An effect to convert linear light to the given gamma curve,
 // typically inserted by the framework automatically at the end
@@ -7,8 +7,10 @@
 //
 // Currently supports sRGB and Rec. 601/709.
 
+#include <string>
+
 #include "effect.h"
-#include "effect_chain.h"
+#include "image_format.h"
 
 #define COMPRESSION_CURVE_SIZE 4096
 
@@ -33,4 +35,4 @@ private:
        float compression_curve[COMPRESSION_CURVE_SIZE];
 };
 
-#endif // !defined(_GAMMA_COMPRESSION_EFFECT_H)
+#endif // !defined(_MOVIT_GAMMA_COMPRESSION_EFFECT_H)