Radial gradient by Víctor Paesa.
Linear gradient by Paul Gentemann.
Also-by: Víctor Paesa <[email protected]>
Also-by: Paul Gentemann <[email protected]>
Signed-off-by: Lou Logan <[email protected]>
---
doc/filters.texi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/doc/filters.texi b/doc/filters.texi
index bb486ea..5a7ad58 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -5124,6 +5124,19 @@ 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
+
+@item
+Create a radial gradient that is the same size as the input:
+@example
+geq=lum=255*gauss((X/W-0.5)*3)*gauss((Y/H-0.5)*3)/gauss(0)/gauss(0),format=gray
+@end example
+
+@item
+Create a linear gradient to use as a mask for another filter, then
+compose with @ref{overlay}:
+@example
+geq=lum=255*(Y/H),format=gray[grad];[0:v]boxblur=4[blur];[blur][grad]alphamerge[alpha];[0:v][alpha]overlay
+@end example
@end itemize
@section gradfun
--
2.1.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel