summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-25 01:19:17 +0100
committerClément Bœsch <ubitux@gmail.com>2013-03-25 23:48:51 +0100
commitdc65d784df4071b772d6f6967fa79767d6ad4fae (patch)
treeaec46e9ae6fb1641166eb413b5efffc452dfb9ef /doc
parent4a595cff795dd657dba2b94d526463a7dd1526c4 (diff)
lavfi/curves: add presets support.
Except for the vintage preset, the values are defined by Lou Logan based on the ones found in Adobe Photoshop CS6. Signed-off-by: Clément Bœsch <ubitux@gmail.com> Signed-off-by: Lou Logan <lou@lrcd.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index f96a10a75e..94fc6f3df5 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2340,6 +2340,22 @@ Set the key points for the red component.
Set the key points for the green component.
@item blue, b
Set the key points for the blue component.
+@item preset
+Select one of the available color presets. This option can not be used in
+addition to the @option{r}, @option{g}, @option{b} parameters.
+Available presets are:
+@table @samp
+@item color_negative
+@item cross_process
+@item darker
+@item increase_contrast
+@item lighter
+@item linear_contrast
+@item medium_contrast
+@item negative
+@item vintage
+@end table
+Default is unset.
@end table
To avoid some filtergraph syntax conflicts, each key points list need to be
@@ -2368,6 +2384,12 @@ Here we obtain the following coordinates for each components:
@item blue
@code{(0;0.22) (0.49;0.44) (1;0.80)}
@end table
+
+@item
+The previous example can also be achieved with the associated built-in preset:
+@example
+curves=preset=vintage
+@end example
@end itemize
@section decimate