Commit 0e2b0033 authored by Stefano Sabatini's avatar Stefano Sabatini

doc/filters: apply various rendering changes to the showspectrum docs

In particular: always use @table @samp for showing constant tables, add a
few empty lines for improving readability, and specify default value when
missing.
parent 2d22e97f
...@@ -6052,22 +6052,42 @@ The filter accepts the following named parameters: ...@@ -6052,22 +6052,42 @@ The filter accepts the following named parameters:
@table @option @table @option
@item size, s @item size, s
Specify the video size for the output. Default value is @code{640x512}. Specify the video size for the output. Default value is @code{640x512}.
@item slide @item slide
Specify if the spectrum should slide along the window. Default value is Specify if the spectrum should slide along the window. Default value is
@code{0}. @code{0}.
@item mode @item mode
Specify display mode. Can be either @code{combined}: all channels are Specify display mode.
displayed in the same row, or @code{separate}: all channels are displayed
in separate rows. Default value is @code{combined}. It accepts the following values:
@table @samp
@item combined
all channels are displayed in the same row
@item separate
all channels are displayed in separate rows
@end table
Default value is @samp{combined}.
@item color @item color
Specify display color mode. Can be either @code{channel}: each channel Specify display color mode.
is displayed in a separate color, or @code{intensity}: each channel is
displayed using the same color scheme. Default value is @code{channel}. It accepts the following values:
@table @samp
@item channel
each channel is displayed in a separate color
@item intensity
each channel is is displayed using the same color scheme
@end table
Default value is @samp{channel}.
@item scale @item scale
Specify scale used for calculating intensity color values. Specify scale used for calculating intensity color values.
It accepts the following values: It accepts the following values:
@table @option @table @samp
@item lin @item lin
linear linear
@item sqrt @item sqrt
...@@ -6078,6 +6098,8 @@ cubic root ...@@ -6078,6 +6098,8 @@ cubic root
logarithmic logarithmic
@end table @end table
Default value is @samp{sqrt}.
@item saturation @item saturation
Set saturation modifier for displayed colors. Negative values provide Set saturation modifier for displayed colors. Negative values provide
alternative color scheme. @code{0} is no saturation at all. alternative color scheme. @code{0} is no saturation at all.
......
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