summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-08-19 10:23:03 +0200
committerPaul B Mahol <onemda@gmail.com>2020-12-20 21:44:13 +0100
commit6e96e3d970c5500bfc48d2428119fe995eb230c1 (patch)
tree926ebfe9ae11c8d98680d9f92a6583d9df60063f /doc
parentab6a56773fe8eaa287a784229caeb85cf6db370d (diff)
avfilter: add shufflepixels video filter
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 89391deecb..b831b2d18e 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -17806,6 +17806,33 @@ ffmpeg -i INPUT -vf "shuffleframes=9 1 2 3 4 5 6 7 8 0" OUTPUT
@end example
@end itemize
+@section shufflepixels
+
+Reorder pixels in video frames.
+
+This filter accepts the following options:
+
+@table @option
+@item direction, d
+Set shuffle direction. Can be forward or inverse direction.
+Default direction is forward.
+
+@item mode, m
+Set shuffle mode. Can be horizontal, vertical or block mode.
+
+@item width, w
+@item height, h
+Set shuffle block_size. In case of horizontal shuffle mode only width
+part of size is used, and in case of vertical shuffle mode only height
+part of size is used.
+
+@item seed, s
+Set random seed used with shuffling pixels. Mainly useful to set to be able
+to reverse filtering process to get original input.
+For example, to reverse forward shuffle you need to use same parameters
+and exact same seed and to set direction to inverse.
+@end table
+
@section shuffleplanes
Reorder and/or duplicate video planes.