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 tr1::shared_ptr<Frame> GetFrame(tr1::shared_ptr<Frame> frame,
long int frame_number);
96 Json::Value JsonValue();
97 void SetJsonValue(Json::Value root);
101 string PropertiesJSON(
long int 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...
Exception for invalid JSON.
A Keyframe is a collection of Point instances, which is used to vary a number or property over time...