Commit 902fa77f authored by Stefano Sabatini's avatar Stefano Sabatini

doc/filters: fix syntax and description for the lut* options

parent b868275d
...@@ -3272,10 +3272,14 @@ corresponding pixel component values. ...@@ -3272,10 +3272,14 @@ corresponding pixel component values.
The @var{lut} filter requires either YUV or RGB pixel formats in The @var{lut} filter requires either YUV or RGB pixel formats in
input, and accepts the options: input, and accepts the options:
@table @option @table @option
@item @var{c0} (first pixel component) @item c0
@item @var{c1} (second pixel component) set first pixel component expression
@item @var{c2} (third pixel component) @item c1
@item @var{c3} (fourth pixel component, corresponds to the alpha component) 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 @end table
The exact component associated to each option depends on the format in The exact component associated to each option depends on the format in
...@@ -3284,19 +3288,27 @@ input. ...@@ -3284,19 +3288,27 @@ input.
The @var{lutrgb} filter requires RGB pixel formats in input, and The @var{lutrgb} filter requires RGB pixel formats in input, and
accepts the options: accepts the options:
@table @option @table @option
@item @var{r} (red component) @item r
@item @var{g} (green component) set red component expression
@item @var{b} (blue component) @item g
@item @var{a} (alpha component) set green component expression
@item b
set blue component expression
@item a
alpha component expression
@end table @end table
The @var{lutyuv} filter requires YUV pixel formats in input, and The @var{lutyuv} filter requires YUV pixel formats in input, and
accepts the options: accepts the options:
@table @option @table @option
@item @var{y} (Y/luminance component) @item y
@item @var{u} (U/Cb component) set Y/luminance component expression
@item @var{v} (V/Cr component) @item u
@item @var{a} (alpha component) set U/Cb component expression
@item v
set V/Cr component expression
@item a
set alpha component expression
@end table @end table
The expressions can contain the following constants and functions: The expressions can contain the following constants and functions:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment