28 #ifndef OPENSHOT_BLUR_EFFECT_H 29 #define OPENSHOT_BLUR_EFFECT_H 31 #include "../EffectBase.h" 41 #include "../Exceptions.h" 43 #include "../KeyFrame.h" 44 #include "../ReaderBase.h" 45 #include "../FFmpegReader.h" 46 #include "../QtImageReader.h" 47 #include "../ChunkReader.h" 66 void init_effect_details();
69 int* initBoxes(
float sigma,
int n);
70 void boxBlurH(
unsigned char *scl,
unsigned char *tcl,
int w,
int h,
int r);
71 void boxBlurT(
unsigned char *scl,
unsigned char *tcl,
int w,
int h,
int r);
101 std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
105 void SetJson(
string value);
106 Json::Value JsonValue();
107 void SetJsonValue(Json::Value root);
111 string PropertiesJSON(int64_t requested_frame);
This abstract class is the base class, used by all effects in libopenshot.
This class adjusts the blur of an image, and can be animated with openshot::Keyframe curves over time...
Keyframe iterations
Iterations keyframe. The # of blur iterations per pixel. 3 iterations = Gaussian. ...
Keyframe vertical_radius
Vertical blur radius keyframe. The size of the vertical blur operation in pixels. ...
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 sigma
Sigma keyframe. The amount of spread in the blur operation. Should be larger than radius...
Keyframe horizontal_radius
Horizontal blur radius keyframe. The size of the horizontal blur operation in pixels.