X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=gamma_expansion_effect.h;h=059b246325f62bc24ad688edc8064effb575d418;hb=37f56fcbe571b2322243f6de59494bf9e0cbb37a;hp=ce999902f7be24b4ddace89ea12384cb7dbf5def;hpb=b10c546f579c7ccb5939161e61a71cd18a3f9bbd;p=movit diff --git a/gamma_expansion_effect.h b/gamma_expansion_effect.h index ce99990..059b246 100644 --- a/gamma_expansion_effect.h +++ b/gamma_expansion_effect.h @@ -7,14 +7,21 @@ // // Currently supports sRGB and Rec. 601/709. +#include + #include "effect.h" #include "effect_chain.h" +#include "image_format.h" #define EXPANSION_CURVE_SIZE 256 class GammaExpansionEffect : public Effect { -public: +private: + // Should not be instantiated by end users. GammaExpansionEffect(); + friend class EffectChain; + +public: virtual std::string effect_type_id() const { return "GammaExpansionEffect"; } std::string output_fragment_shader();