28 #ifndef OPENSHOT_SATURATION_EFFECT_H 29 #define OPENSHOT_SATURATION_EFFECT_H 31 #include "../EffectBase.h" 40 #include "../Exceptions.h" 42 #include "../KeyFrame.h" 43 #include "../ReaderBase.h" 44 #include "../FFmpegReader.h" 45 #include "../QtImageReader.h" 46 #include "../ChunkReader.h" 63 int constrain(
int color_value);
66 void init_effect_details();
88 std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
92 void SetJson(
string value);
93 Json::Value JsonValue();
94 void SetJsonValue(Json::Value root);
98 string PropertiesJSON(int64_t requested_frame);
This abstract class is the base class, used by all effects in libopenshot.
This class adjusts the saturation of color on a frame's image.
This namespace is the default namespace for all code in the openshot library.
A Keyframe is a collection of Point instances, which is used to vary a number or property over time...
Keyframe saturation
The color saturation: 0.0 = black and white, 1.0 = normal, 2.0 = double saturation.