Adding new crop effect, which can also be animated for some very cool effects.

This commit is contained in:
Jonathan Thomas
2018-03-05 02:12:37 -06:00
parent 67291aab55
commit 244fac4df8
6 changed files with 306 additions and 0 deletions

View File

@@ -56,6 +56,9 @@ EffectBase* EffectInfo::CreateEffect(string effect_type) {
else if (effect_type == "Color Shift")
return new ColorShift();
else if (effect_type == "Crop")
return new Crop();
else if (effect_type == "Deinterlace")
return new Deinterlace();
@@ -93,6 +96,7 @@ Json::Value EffectInfo::JsonValue() {
root.append(Brightness().JsonInfo());
root.append(ChromaKey().JsonInfo());
root.append(ColorShift().JsonInfo());
root.append(Crop().JsonInfo());
root.append(Deinterlace().JsonInfo());
root.append(Hue().JsonInfo());
root.append(Mask().JsonInfo());