X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=saturation_effect.h;h=a80740fefc0946508d23776f4b7c63ff1d33ef70;hp=27b1d006c691a23fbf589509b340555e5c9d4562;hb=ddf71f853e64c3912eed4ab98bfe7503826ce8e1;hpb=b10c546f579c7ccb5939161e61a71cd18a3f9bbd diff --git a/saturation_effect.h b/saturation_effect.h index 27b1d00..a80740f 100644 --- a/saturation_effect.h +++ b/saturation_effect.h @@ -1,5 +1,5 @@ -#ifndef _SATURATION_EFFECT_H -#define _SATURATION_EFFECT_H 1 +#ifndef _MOVIT_SATURATION_EFFECT_H +#define _MOVIT_SATURATION_EFFECT_H 1 // A simple desaturation/saturation effect. We use the Rec. 709 // definition of luminance (in linear light, of course) and linearly @@ -7,8 +7,12 @@ // (saturation=1). Extrapolating that curve further (ie., saturation > 1) // gives us increased saturation if so desired. +#include + #include "effect.h" +namespace movit { + class SaturationEffect : public Effect { public: SaturationEffect(); @@ -20,4 +24,6 @@ private: float saturation; }; -#endif // !defined(_SATURATION_EFFECT_H) +} // namespace movit + +#endif // !defined(_MOVIT_SATURATION_EFFECT_H)