aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-04-11 18:27:31 +0000
committerPaul B Mahol <onemda@gmail.com>2013-04-12 09:47:41 +0000
commitae8d435ba8bc3a7ead9b5c6ad6ce54b4cc8111af (patch)
treef4532281326e2431b19930a421a3d4b205e4b013
parent04924bc923efeb55e76a8bd6867da6fb2db724dd (diff)
downloadffmpeg-ae8d435ba8bc3a7ead9b5c6ad6ce54b4cc8111af.tar.gz
doc/filters: add quick emboss example
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--doc/filters.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 6b4f553a28..cf3a3f03c0 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3388,6 +3388,12 @@ Generate a fancy enigmatic moving light:
@example
nullsrc=s=256x256,geq=random(1)/hypot(X-cos(N*0.07)*W/2-W/2\,Y-sin(N*0.09)*H/2-H/2)^2*1000000*sin(N*0.02):128:128
@end example
+
+@item
+Generate a quick emboss effect:
+@example
+format=gray,geq=lum_expr='(p(X,Y)+(256-p(X-4,Y-4)))/2'
+@end example
@end itemize
@section gradfun