You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Initial code for Sharpen effect.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
#include "EffectInfo.h"
|
||||
#include "Effects.h"
|
||||
#include "effects/Sharpen.h"
|
||||
|
||||
using namespace openshot;
|
||||
|
||||
@@ -64,6 +65,9 @@ EffectBase* EffectInfo::CreateEffect(std::string effect_type) {
|
||||
else if (effect_type == "Saturation")
|
||||
return new Saturation();
|
||||
|
||||
else if (effect_type == "Sharpen")
|
||||
return new Sharpen();
|
||||
|
||||
else if (effect_type == "Shift")
|
||||
return new Shift();
|
||||
|
||||
@@ -134,6 +138,7 @@ Json::Value EffectInfo::JsonValue() {
|
||||
root.append(Negate().JsonInfo());
|
||||
root.append(Pixelate().JsonInfo());
|
||||
root.append(Saturation().JsonInfo());
|
||||
root.append(Sharpen().JsonInfo());
|
||||
root.append(Shift().JsonInfo());
|
||||
root.append(Wave().JsonInfo());
|
||||
/* Audio */
|
||||
|
||||
Reference in New Issue
Block a user