[FFmpeg-cvslog] doc/filters: create a dedicated examples section for lut*, and itemize

Stefano Sabatini git at videolan.org
Fri Feb 1 18:54:44 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Fri Feb  1 18:35:15 2013 +0100| [986540b65f6eb6d9fed40d7da9e58b9bbcee35ae] | committer: Stefano Sabatini

doc/filters: create a dedicated examples section for lut*, and itemize

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

 doc/filters.texi |   42 +++++++++++++++++++++++++++++++++---------
 1 file changed, 33 insertions(+), 9 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index 3334787..c6f0d24 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3348,34 +3348,58 @@ expression
 
 All expressions default to "val".
 
-Some examples follow:
+ at subsection Examples
+
+ at itemize
+ at item
+Negate input video:
 @example
-# negate input video
 lutrgb="r=maxval+minval-val:g=maxval+minval-val:b=maxval+minval-val"
 lutyuv="y=maxval+minval-val:u=maxval+minval-val:v=maxval+minval-val"
+ at end example
 
-# the above is the same as
+The above is the same as:
+ at example
 lutrgb="r=negval:g=negval:b=negval"
 lutyuv="y=negval:u=negval:v=negval"
+ at end example
 
-# negate luminance
+ at item
+Negate luminance:
+ at example
 lutyuv=y=negval
+ at end example
 
-# remove chroma components, turns the video into a graytone image
+ at item
+Remove chroma components, turns the video into a graytone image:
+ at example
 lutyuv="u=128:v=128"
+ at end example
 
-# apply a luma burning effect
+ at item
+Apply a luma burning effect:
+ at example
 lutyuv="y=2*val"
+ at end example
 
-# remove green and blue components
+ at item
+Remove green and blue components:
+ at example
 lutrgb="g=0:b=0"
+ at end example
 
-# set a constant alpha channel value on input
+ at item
+Set a constant alpha channel value on input:
+ at example
 format=rgba,lutrgb=a="maxval-minval/2"
+ at end example
 
-# correct luminance gamma by a 0.5 factor
+ at item
+Correct luminance gamma by a 0.5 factor:
+ at example
 lutyuv=y=gammaval(0.5)
 @end example
+ at end itemize
 
 @section mp
 



More information about the ffmpeg-cvslog mailing list