28 #ifndef OPENSHOT_BRIGHTNESS_EFFECT_H 29 #define OPENSHOT_BRIGHTNESS_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();
91 std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
95 void SetJson(
string value);
96 Json::Value JsonValue();
97 void SetJsonValue(Json::Value root);
101 string PropertiesJSON(int64_t requested_frame);
This abstract class is the base class, used by all effects in libopenshot.
Keyframe contrast
Contrast keyframe.
Keyframe brightness
Brightness keyframe. A constant value here will prevent animation.
This class adjusts the brightness and contrast of an image, and can be animated with openshot::Keyfra...
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...