[FFmpeg-cvslog] lavfi/curves: add forgotten strong_contrast preset.
Clément Bœsch
git at videolan.org
Tue Mar 26 01:05:42 CET 2013
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Tue Mar 26 01:05:26 2013 +0100| [133035c40d28a6ae745a9c00f928a306fcbd0878] | committer: Clément Bœsch
lavfi/curves: add forgotten strong_contrast preset.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=133035c40d28a6ae745a9c00f928a306fcbd0878
---
doc/filters.texi | 1 +
libavfilter/vf_curves.c | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/doc/filters.texi b/doc/filters.texi
index 450f6ab..02f0a29 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2355,6 +2355,7 @@ Available presets are:
@item linear_contrast
@item medium_contrast
@item negative
+ at item strong_contrast
@item vintage
@end table
Default is unset.
diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c
index 6137262..48db0f3 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",
More information about the ffmpeg-cvslog
mailing list