aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-05-19 22:54:49 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-05-20 11:12:09 +0200
commit6e7c534955d9bae3a6964a7ff8c35d7bf3f3bddc (patch)
tree09016729c94c1e898919c895b6483c3fc84ec2c7 /doc
parent281fc4e95845872b4e347099993563b8fbeacd7d (diff)
downloadffmpeg-6e7c534955d9bae3a6964a7ff8c35d7bf3f3bddc.tar.gz
doc/filters: add RGB geq example
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index cc71a2f6f2..301887d696 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -4111,6 +4111,12 @@ Generate a quick emboss effect:
@example
format=gray,geq=lum_expr='(p(X,Y)+(256-p(X-4,Y-4)))/2'
@end example
+
+@item
+Modify RGB components depending on pixel position:
+@example
+geq=r='X/W*r(X,Y)':g='(1-X/W)*g(X,Y)':b='(H-Y)/H*b(X,Y)'
+@end example
@end itemize
@section gradfun