]> git.sesse.net Git - mlt/blobdiff - src/modules/oldfilm/filter_vignette.yml
added description for vignette change
[mlt] / src / modules / oldfilm / filter_vignette.yml
index deb74546717904ce9792df58987cacf3f19c5e3f..1b5389700efa80026ecad2f6959005c615baa9cf 100644 (file)
@@ -10,11 +10,11 @@ url: none
 creator: Marco Gittler
 tags:
   - Video # this may produce video
-description: |
-  Vigentte around a point with adjustable smooth, radius, position
+description: >
+  Vignette around a point with adjustable smooth, radius, position
   and transparency
 icon:
-filename: oldfilm/vignette.svg # relative to $MLT_DATA/modules/
+  filename: oldfilm/vignette.svg # relative to $MLT_DATA/modules/
   content-type: image/svg
 
 notes: Implementation or additional usage notes go here.
@@ -22,14 +22,63 @@ bugs: # this can be just for documentation, or the tool may disclose it to help
   - need to do some speed improvement.
 
 parameters:
-  - identifier: Smooth;Radius;X;Y;Max Opacity # 'argument' is a reserved name for a value supplied to the factory
-    title: Start value  # the title can be used as a label for the widget
-    type: geometry
-    description: Start position, "smooth":"radius","X"x"Y","maxopac"
+  - identifier: smooth
+    title: Feathering
+    type: float
     readonly: no
     required: yes
     mutable: no
-    format: %d:%d:%dx%d:%d
-    minimum: 0;0;0;0;0
-    maximum: 100;100;100;100;100
-    default: 80;50;50%;50%;0
+    minimum: 0.0
+    maximum: 1.0
+    default: 0.8
+
+  - identifier: radius
+    title: Radius
+    type: float
+    readonly: no
+    required: yes
+    mutable: no
+    minimum: 0.0
+    maximum: 1.0
+    default: 0.5
+
+  - identifier: x
+    title: X Position
+    type: float
+    readonly: no
+    required: yes
+    mutable: no
+    minimum: 0.0
+    maximum: 1.0
+    default: 0.5
+
+  - identifier: y
+    title: Y Position
+    type: float
+    readonly: no
+    required: yes
+    mutable: no
+    minimum: 0.0
+    maximum: 1.0
+    default: 0.5
+
+  - identifier: opacity
+    title: Opacity
+    type: float
+    readonly: no
+    required: yes
+    mutable: no
+    minimum: 0.0
+    maximum: 1.0
+    default: 0.0
+  - identifier: mode
+    title: Mode
+    type: integer
+    description:  Use linear (0) or cosinus (1) mode to fade from opac to black
+    readonly: no
+    required: yes
+    mutable: no
+    minimum: 0
+    maximum: 1
+    default: 0
+    widget: checkbox