X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=gamma_expansion_effect.h;h=cc65e4fa48924022cf5f3d05e70693cd06809b36;hp=ce999902f7be24b4ddace89ea12384cb7dbf5def;hb=6278a96c8e0ea5df9d831ecd5b893f831ddc8297;hpb=b10c546f579c7ccb5939161e61a71cd18a3f9bbd diff --git a/gamma_expansion_effect.h b/gamma_expansion_effect.h index ce99990..cc65e4f 100644 --- a/gamma_expansion_effect.h +++ b/gamma_expansion_effect.h @@ -7,14 +7,20 @@ // // 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();