summaryrefslogtreecommitdiff
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-08-17 18:01:01 +0200
committerPaul B Mahol <onemda@gmail.com>2017-08-19 12:42:24 +0200
commite3a4afca07b2753269f5f05c6fd5ca3034734c00 (patch)
tree29f3ab29928f5405b06052b3d6b75e6efc5f6a90 /doc/filters.texi
parent3c99523a2864af729a8576c3fffe81fb884fa0d5 (diff)
avfilter: add pseudocolor filter
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi45
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index ba29a75274..3b5a38fc9f 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -11785,6 +11785,51 @@ Set value which will be multiplied with filtered result.
Set value which will be added to filtered result.
@end table
+@section pseudocolor
+
+Alter frame colors in video with pseudocolors.
+
+This filter accept the following options:
+
+@table @option
+@item c0
+set pixel first component expression
+
+@item c1
+set pixel second component expression
+
+@item c2
+set pixel third component expression
+
+@item c3
+set pixel fourth component expression, corresponds to the alpha component
+
+@item i
+set component to use as base for altering colors
+@end table
+
+Each of them specifies the expression to use for computing the lookup table for
+the corresponding pixel component values.
+
+The expressions can contain the following constants and functions:
+
+@table @option
+@item w
+@item h
+The input width and height.
+
+@item val
+The input value for the pixel component.
+
+@item ymin, umin, vmin, amin
+The minimum allowed component value.
+
+@item ymax, umax, vmax, amax
+The maximum allowed component value.
+@end table
+
+All expressions default to "val".
+
@section psnr
Obtain the average, maximum and minimum PSNR (Peak Signal to Noise