X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=gamma_compression_effect.h;h=c494cd795b00ce5f5c20142a4ff4ea9ae879b7c1;hp=46ac80e7d6b12e6b2b217dcb942d125fbe9788f3;hb=ac4fc36aa70ffefb6b9632dc0abea5cbbce5387b;hpb=5d4c0425579de66b3e2dd7d0095e890278f8efcf diff --git a/gamma_compression_effect.h b/gamma_compression_effect.h index 46ac80e..c494cd7 100644 --- a/gamma_compression_effect.h +++ b/gamma_compression_effect.h @@ -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 + #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)