Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-02-25 13:14:24 +0400
committerPaul B Mahol <onemda@gmail.com>2013-02-25 16:54:40 +0400
commiteac93932b0118756448932a3622a136ecf022c88 (patch)
treea8c8ba08efa86cd7392118acba6214f0e3f94466 /doc
parent875f88318506a89ed3896221398d49f8e3f20b8f (diff)
lavfi/geq: improve support for formats with alpha plane
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi17
1 files changed, 12 insertions, 5 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 5fda913b90..bcbe21af8a 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3047,7 +3047,7 @@ For more information see:
@section geq
-The filter takes one, two or three equations as parameter, separated by ':'.
+The filter takes one, two, three or four equations as parameter, separated by ':'.
The first equation is mandatory and applies to the luma plane. The two
following are respectively for chroma blue and chroma red planes.
@@ -3060,11 +3060,14 @@ the luminance expression
the chrominance blue expression
@item cr_expr
the chrominance red expression
+@item alpha_expr
+the alpha expression
@end table
If one of the chrominance expression is not defined, it falls back on the other
-one. If none of them are specified, they will evaluate the luminance
-expression.
+one. If no alpha expression is specified it will evaluate to opaque value.
+If none of chrominance expressions are
+specified, they will evaluate the luminance expression.
The expressions can use the following variables and functions:
@@ -3097,11 +3100,15 @@ plane.
@item cb(x, y)
Return the value of the pixel at location (@var{x},@var{y}) of the
-blue-difference chroma plane.
+blue-difference chroma plane. Returns 0 if there is no such plane.
@item cr(x, y)
Return the value of the pixel at location (@var{x},@var{y}) of the
-red-difference chroma plane.
+red-difference chroma plane. Returns 0 if there is no such plane.
+
+@item alpha(x, y)
+Return the value of the pixel at location (@var{x},@var{y}) of the alpha
+plane. Returns 0 if there is no such plane.
@end table
For functions, if @var{x} and @var{y} are outside the area, the value will be