summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-08-24 10:36:31 +0200
committerPaul B Mahol <onemda@gmail.com>2016-08-25 11:16:09 +0200
commit5d7743019b327b3333947f5e96ca6289654c4aa7 (patch)
treebff8a3bfdfeaaca336c8d8ad7e41c962062747f1 /doc
parent01aee8148d4fa439cce678a11f5110656c98de1f (diff)
avfilter: add lut2 filter
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi38
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 21efb5ba01..d4eca3a3c9 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -9253,6 +9253,44 @@ lutyuv=u='(val-maxval/2)*2+maxval/2':v='(val-maxval/2)*2+maxval/2'
@end example
@end itemize
+@section lut2
+
+Compute and apply a lookup table from two video inputs.
+
+This filter accepts the following parameters:
+@table @option
+@item c0
+set first pixel component expression
+@item c1
+set second pixel component expression
+@item c2
+set third pixel component expression
+@item c3
+set fourth pixel component expression, corresponds to the alpha component
+@end table
+
+Each of them specifies the expression to use for computing the lookup table for
+the corresponding pixel component values.
+
+The exact component associated to each of the @var{c*} options depends on the
+format in inputs.
+
+The expressions can contain the following constants:
+
+@table @option
+@item w
+@item h
+The input width and height.
+
+@item x
+The first input value for the pixel component.
+
+@item y
+The second input value for the pixel component.
+@end table
+
+All expressions default to "x".
+
@section maskedclamp
Clamp the first input stream with the second input and third input stream.