Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-26 04:05:26 +0400
committerClément Bœsch <ubitux@gmail.com>2013-03-26 04:05:26 +0400
commit133035c40d28a6ae745a9c00f928a306fcbd0878 (patch)
treecf0d675889a6c465d7b417031fd5ae85d5898d96
parent183f3450fda08ecccd824c1e44936c6c0a7262e4 (diff)
lavfi/curves: add forgotten strong_contrast preset.
-rw-r--r--doc/filters.texi1
-rw-r--r--libavfilter/vf_curves.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 450f6ab1f2..02f0a29c64 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2355,6 +2355,7 @@ Available presets are:
@item linear_contrast
@item medium_contrast
@item negative
+@item strong_contrast
@item vintage
@end table
Default is unset.
diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c
index 6137262d54..48db0f396f 100644
--- a/libavfilter/vf_curves.c
+++ b/libavfilter/vf_curves.c
@@ -92,6 +92,11 @@ static const struct {
},{
"negative", "0/1 1/0", "0/1 1/0", "0/1 1/0",
},{
+ "strong_contrast",
+ "0.301/0.196 0.592/0.6 0.686/0.737",
+ "0.301/0.196 0.592/0.6 0.686/0.737",
+ "0.301/0.196 0.592/0.6 0.686/0.737",
+ },{
"vintage",
"0/0.11 0.42/0.51 1/0.95",
"0.50/0.48",