summaryrefslogtreecommitdiffstats
path: root/DOCS/man/en
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-07 14:09:46 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-07 14:09:46 +0000
commit3a7a8a2bf42aeae632a58d6f78c2aaa57dda90e0 (patch)
tree0d21781140d9ca4a04a9867c4dbe5a875b15ef47 /DOCS/man/en
parent58fd527f98d24234ccec305c2f74158a43750c16 (diff)
downloadmpv-3a7a8a2bf42aeae632a58d6f78c2aaa57dda90e0.tar.bz2
mpv-3a7a8a2bf42aeae632a58d6f78c2aaa57dda90e0.tar.xz
Document geq filter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21531 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/man/en')
-rw-r--r--DOCS/man/en/mplayer.131
1 files changed, 31 insertions, 0 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1
index f69f91aab1..7373a88bf4 100644
--- a/DOCS/man/en/mplayer.1
+++ b/DOCS/man/en/mplayer.1
@@ -5489,6 +5489,30 @@ some equation like "2+2*sin(PI*qp)"
.RE
.
.TP
+.B geq=equation
+generic equation change filter
+.RSs
+.IPs <equation>
+Some equation, e.g.\& 'p(W-X\,Y)' to flip the image horizontally.
+You can use whitespace to make the equation more readable.
+There are a couple of constants that can be used in the equation:
+.RSss
+PI: the number pi
+.br
+E: the number e
+.br
+X / Y: the coordinates of the current sample
+.br
+W / H: width and height of the image
+.br
+SW / SH: width/height scale depending on the currently filtered plane, e.g.\&
+1,1 and 0.5,0.5 for YUV 4:2:0.
+.br
+p(x,y): returns the value of the pixel at location x/y of the current plane.
+.REss
+.RE
+.
+.TP
.B "test\ \ \ "
Generate various test patterns.
.
@@ -10229,6 +10253,13 @@ mplayer \-rawaudio format=0xff \-demuxer rawaudio \-af pan=2:.32:.32:.39:.06:.06
You might want to play a bit with the pan values (e.g multiply with a value) to
increase volume or avoid clipping.
.
+.PP
+.B checkerboard invert with geq filter:
+.nf
+mplayer \-vf geq='128+(p(X\,Y)-128)*(0.5-gt(mod(X/SW\,128)\,64))*(0.5-gt(mod(Y/SH\,128)\,64))*4'
+.fi
+.
+.
.SH EXAMPLES OF MENCODER USAGE
.
.PP