[FFmpeg-devel] [PATCH] doc/filters: add bit-slicing example in lutyuv docs

Stefano Sabatini stefasab at gmail.com
Wed Mar 13 22:36:52 CET 2013


---
 doc/filters.texi |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/filters.texi b/doc/filters.texi
index 3c5955e..ba1c4be 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3848,6 +3848,12 @@ Correct luminance gamma by a 0.5 factor:
 @example
 lutyuv=y=gammaval(0.5)
 @end example
+
+ at item
+Discard least significant bits of luma:
+ at example
+lutyuv=y='bitand(val, 128+64+32)'
+ at end example
 @end itemize
 
 @section mp
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list