From dc65d784df4071b772d6f6967fa79767d6ad4fae Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Mon, 25 Mar 2013 01:19:17 +0100 Subject: lavfi/curves: add presets support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Lou Logan --- doc/filters.texi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3