[FFmpeg-cvslog] doc/filters: apply various rendering changes to the showspectrum docs

Stefano Sabatini git at videolan.org
Tue Feb 5 00:13:44 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Tue Feb  5 00:10:31 2013 +0100| [0e2b0033f161e9630904221628a1575807851b92] | committer: 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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0e2b0033f161e9630904221628a1575807851b92
---

 doc/filters.texi |   36 +++++++++++++++++++++++++++++-------
 1 file changed, 29 insertions(+), 7 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index c04930f..76a73e6 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -6052,22 +6052,42 @@ The filter accepts the following named parameters:
 @table @option
 @item size, s
 Specify the video size for the output. Default value is @code{640x512}.
+
 @item slide
 Specify if the spectrum should slide along the window. Default value is
 @code{0}.
+
 @item mode
-Specify display mode. Can be either @code{combined}: all channels are
-displayed in the same row, or @code{separate}: all channels are displayed
-in separate rows. Default value is @code{combined}.
+Specify display mode.
+
+It accepts the following values:
+ at table @samp
+ at item combined
+all channels are displayed in the same row
+ at item separate
+all channels are displayed in separate rows
+ at end table
+
+Default value is @samp{combined}.
+
 @item color
-Specify display color mode. Can be either @code{channel}: each channel
-is displayed in a separate color, or @code{intensity}: each channel is
-displayed using the same color scheme. Default value is @code{channel}.
+Specify display color mode.
+
+It accepts the following values:
+ at table @samp
+ at item channel
+each channel is displayed in a separate color
+ at item intensity
+each channel is is displayed using the same color scheme
+ at end table
+
+Default value is @samp{channel}.
+
 @item scale
 Specify scale used for calculating intensity color values.
 
 It accepts the following values:
- at table @option
+ at table @samp
 @item lin
 linear
 @item sqrt
@@ -6078,6 +6098,8 @@ cubic root
 logarithmic
 @end table
 
+Default value is @samp{sqrt}.
+
 @item saturation
 Set saturation modifier for displayed colors. Negative values provide
 alternative color scheme. @code{0} is no saturation at all.



More information about the ffmpeg-cvslog mailing list