aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-11-10 23:46:41 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-11-13 11:21:57 +0100
commit8cd3685a3ff889b61f6b6f5f083275fe9d505883 (patch)
tree73fa2e9334aee28569936699a22a77a50df75eab /doc/filters.texi
parentfe55c3197698e60753ed4ba78a588481bb975e20 (diff)
downloadffmpeg-8cd3685a3ff889b61f6b6f5f083275fe9d505883.tar.gz
lavfi: add elbg filter
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 1c1510eb7f..32e35464f9 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3790,6 +3790,32 @@ ffmpeg -i video.avi -filter_complex 'extractplanes=y+u+v[y][u][v]' -map '[y]' y.
@end example
@end itemize
+@section elbg
+
+Apply a posterize effect using the ELBG (Enhanced LBG) algorithm.
+
+For each input image, the filter will compute the optimal mapping from
+the input to the output given the codebook length, that is the number
+of distinct output colors.
+
+This filter accepts the following options.
+
+@table @option
+@item codebook_length, l
+Set codebook length. The value must be a positive integer, and
+represents the number of distinct output colors. Default value is 256.
+
+@item nb_steps, n
+Set the maximum number of iterations to apply for computing the optimal
+mapping. The higher the value the better the result and the higher the
+computation time. Default value is 1.
+
+@item seed, s
+Set a random seed, must be an integer included between 0 and
+UINT32_MAX. If not specified, or if explicitly set to -1, the filter
+will try to use a good random seed on a best effort basis.
+@end table
+
@section fade
Apply fade-in/out effect to input video.