aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-04-08 23:02:48 +0200
committerMattias Andrée <maandree@kth.se>2017-04-08 23:02:48 +0200
commit0804a80954bf9b8c11392d77a4933ec0a4ff635b (patch)
treed19ab7658b07089af643deba41ec73f696925e54 /man
parentDocument memory requirements, minor style fixes, more use of BUFSIZ, fix warnings, and fix potential buffer overflow (diff)
downloadblind-0804a80954bf9b8c11392d77a4933ec0a4ff635b.tar.gz
blind-0804a80954bf9b8c11392d77a4933ec0a4ff635b.tar.bz2
blind-0804a80954bf9b8c11392d77a4933ec0a4ff635b.tar.xz
Add blind-translate and fix errors
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--man/blind-arithm.12
-rw-r--r--man/blind-crop.13
-rw-r--r--man/blind-extend.13
-rw-r--r--man/blind-gauss-blur.12
-rw-r--r--man/blind-invert-luma.12
-rw-r--r--man/blind-set-alpha.12
-rw-r--r--man/blind-set-luma.12
-rw-r--r--man/blind-set-saturation.12
-rw-r--r--man/blind-time-blur.12
-rw-r--r--man/blind-translate.150
10 files changed, 61 insertions, 9 deletions
diff --git a/man/blind-arithm.1 b/man/blind-arithm.1
index df5887f..3abd5b9 100644
--- a/man/blind-arithm.1
+++ b/man/blind-arithm.1
@@ -21,7 +21,7 @@ on the two videos.
.P
If stdin is longer than
.IR right-hand-stream ,
-the remainder or stdin is printed without any changes.
+the remainder of stdin is printed without any changes.
If stdin is shorter than
.IR right-hand-stream ,
the remainder of
diff --git a/man/blind-crop.1 b/man/blind-crop.1
index fc635a9..64eb2e9 100644
--- a/man/blind-crop.1
+++ b/man/blind-crop.1
@@ -66,7 +66,8 @@ has not been optimised for memory usage, but instead
for code simplicity.
.SH SEE ALSO
.BR blind (7),
-.BR blind-extend (1)
+.BR blind-extend (1),
+.BR blind-translate (1)
.SH AUTHORS
Mattias Andrée
.RI < maandree@kth.se >
diff --git a/man/blind-extend.1 b/man/blind-extend.1
index 3e09843..f99ae34 100644
--- a/man/blind-extend.1
+++ b/man/blind-extend.1
@@ -63,7 +63,8 @@ has not been optimised for memory usage, but instead
for code simplicity.
.SH SEE ALSO
.BR blind (7),
-.BR blind-crop (1)
+.BR blind-crop (1),
+.BR blind-translate (1)
.SH AUTHORS
Mattias Andrée
.RI < maandree@kth.se >
diff --git a/man/blind-gauss-blur.1 b/man/blind-gauss-blur.1
index 6405f00..99d0161 100644
--- a/man/blind-gauss-blur.1
+++ b/man/blind-gauss-blur.1
@@ -29,7 +29,7 @@ deviation is 0, the pixel is not blurred.
.P
If stdin is longer than
.IR sd-stream ,
-the remainder or stdin is printed without any changes.
+the remainder of stdin is printed without any changes.
If stdin is shorter than
.IR sd-stream ,
the remainder of
diff --git a/man/blind-invert-luma.1 b/man/blind-invert-luma.1
index 995fcfc..24f5260 100644
--- a/man/blind-invert-luma.1
+++ b/man/blind-invert-luma.1
@@ -19,7 +19,7 @@ linearly extrapolated.
.P
If stdin is longer than
.IR mask-stream ,
-the remainder or stdin is printed without any changes.
+the remainder of stdin is printed without any changes.
If stdin is shorter than
.IR mask-stream ,
the remainder of
diff --git a/man/blind-set-alpha.1 b/man/blind-set-alpha.1
index 143472b..724856e 100644
--- a/man/blind-set-alpha.1
+++ b/man/blind-set-alpha.1
@@ -16,7 +16,7 @@ the mask video.
.P
If stdin is longer than
.IR alpha-stream ,
-the remainder or stdin is printed without any changes.
+the remainder of stdin is printed without any changes.
If stdin is shorter than
.IR alpha-stream ,
the remainder of
diff --git a/man/blind-set-luma.1 b/man/blind-set-luma.1
index dd3392c..8158291 100644
--- a/man/blind-set-luma.1
+++ b/man/blind-set-luma.1
@@ -15,7 +15,7 @@ pixel and frame in the mask video.
.P
If stdin is longer than
.IR luma-stream ,
-the remainder or stdin is printed without any changes.
+the remainder of stdin is printed without any changes.
If stdin is shorter than
.IR luma-stream ,
the remainder of
diff --git a/man/blind-set-saturation.1 b/man/blind-set-saturation.1
index a7496dc..51f58b6 100644
--- a/man/blind-set-saturation.1
+++ b/man/blind-set-saturation.1
@@ -16,7 +16,7 @@ pixel and frame in the mask video.
.P
If stdin is longer than
.IR saturation-stream ,
-the remainder or stdin is printed without any changes.
+the remainder of stdin is printed without any changes.
If stdin is shorter than
.IR saturation-stream ,
the remainder of
diff --git a/man/blind-time-blur.1 b/man/blind-time-blur.1
index a3da715..d87036e 100644
--- a/man/blind-time-blur.1
+++ b/man/blind-time-blur.1
@@ -18,7 +18,7 @@ in the mask video, and then printed stdout.
.P
If stdin is longer than
.IR alpha-stream ,
-the remainder or stdin is printed without any changes.
+the remainder of stdin is printed without any changes.
If stdin is shorter than
.IR alpha-stream ,
the remainder of
diff --git a/man/blind-translate.1 b/man/blind-translate.1
new file mode 100644
index 0000000..0bc4b92
--- /dev/null
+++ b/man/blind-translate.1
@@ -0,0 +1,50 @@
+.TH BLIND-TRANSLATE 1 blind
+.SH NAME
+blind-translate - Perform framewise translate of a video
+.SH SYNOPSIS
+.B blind-translate
+[-pw]
+.I translation-stream
+.SH DESCRIPTION
+.B blind-translate
+reads a video from stdin and translation operands from
+.IR translation-stream ,
+and perform framewise translation of the video and
+prints the resulting video to stdout.
+.P
+.I translation-stream
+is a video that is 1 pixel wide and 1 pixel high.
+The first pixel value in a frame is used as the
+translation value for the X-axis in the same frame
+in the video, and the second pixel value is used
+as the translation value for the Y-axis. The
+remaining two pixel values are ignored.
+.P
+If stdin is longer than
+.IR translation-stream ,
+the remainder of stdin is printed with the last translation
+or no translation if
+.I translation-stream
+does not contain any translations. If stdin is shorter than
+.IR translation-stream ,
+the remainder of
+.I translation-stream
+is ignored but may be partially read.
+.SH OPTIONS
+.TP
+.B -w
+Wrap video around the edges.
+.TP
+.B -p
+The values in
+.I translation-stream
+is to be treat as the position, measured form the
+top-left corner, in the input video that shall be
+used at the top-left corner of the output video.
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-crop (1),
+.BR blind-extend (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >