summaryrefslogtreecommitdiff
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-25 21:21:29 +0100
committerAnton Khirnov <anton@khirnov.net>2013-04-09 19:05:32 +0200
commit20b46f8f4fff6aeeab9ea418dc359eda8887ced6 (patch)
treeb29961aa0ee4b3c8194a990fdfc8cc54534b8126 /doc/filters.texi
parentee0e8d4b15a87932ab6066cd6eae3cab08726319 (diff)
vf_lut: switch to an AVOptions-based system.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi28
1 files changed, 10 insertions, 18 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 07761cf2cf..194e151f8f 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1243,40 +1243,32 @@ to an output value, and apply it to input video.
@var{lutyuv} applies a lookup table to a YUV input video, @var{lutrgb}
to an RGB input video.
-These filters accept in input a ":"-separated list of options, which
-specify the expressions used for computing the lookup table for the
-corresponding pixel component values.
-
-The @var{lut} filter requires either YUV or RGB pixel formats in
-input, and accepts the options:
+These filters accept the following options:
@table @option
@item @var{c0} (first pixel component)
@item @var{c1} (second pixel component)
@item @var{c2} (third pixel component)
@item @var{c3} (fourth pixel component, corresponds to the alpha component)
-@end table
-
-The exact component associated to each option depends on the format in
-input.
-The @var{lutrgb} filter requires RGB pixel formats in input, and
-accepts the options:
-@table @option
@item @var{r} (red component)
@item @var{g} (green component)
@item @var{b} (blue component)
@item @var{a} (alpha component)
-@end table
-The @var{lutyuv} filter requires YUV pixel formats in input, and
-accepts the options:
-@table @option
@item @var{y} (Y/luminance component)
@item @var{u} (U/Cb component)
@item @var{v} (V/Cr component)
-@item @var{a} (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 input.
+
+The @var{lut} filter requires either YUV or RGB pixel formats in input,
+@var{lutrgb} requires RGB pixel formats in input, and @var{lutyuv} requires YUV.
+
The expressions can contain the following constants and functions:
@table @option