summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-03-13 22:36:06 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-03-17 00:26:31 +0100
commit356922e237690e95c5e814845d4f320526e40906 (patch)
tree2234993e8db9bc33fcc2ec70a3e668142ee0e7e0
parentb2098d2417a085d33d99738dd7f963c7b260a0bf (diff)
doc/filters: add bit-slicing example in lutyuv docs
-rw-r--r--doc/filters.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 0dbec8ef06..fa8f69be44 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3850,6 +3850,12 @@ Correct luminance gamma by a 0.5 factor:
@example
lutyuv=y=gammaval(0.5)
@end example
+
+@item
+Discard least significant bits of luma:
+@example
+lutyuv=y='bitand(val, 128+64+32)'
+@end example
@end itemize
@section mp