[FFmpeg-cvslog] doc/filters: add RGB geq example
Stefano Sabatini
git at videolan.org
Mon May 20 11:13:32 CEST 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun May 19 22:54:49 2013 +0200| [6e7c534955d9bae3a6964a7ff8c35d7bf3f3bddc] | committer: Stefano Sabatini
doc/filters: add RGB geq example
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6e7c534955d9bae3a6964a7ff8c35d7bf3f3bddc
---
doc/filters.texi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/filters.texi b/doc/filters.texi
index cc71a2f..301887d 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
+
+ at item
+Modify RGB components depending on pixel position:
+ at example
+geq=r='X/W*r(X,Y)':g='(1-X/W)*g(X,Y)':b='(H-Y)/H*b(X,Y)'
+ at end example
@end itemize
@section gradfun
More information about the ffmpeg-cvslog
mailing list