aboutsummaryrefslogtreecommitdiffstats
path: root/man/blind-crop.1
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-04-08 13:57:36 +0200
committerMattias Andrée <maandree@kth.se>2017-04-08 13:57:36 +0200
commit478b53f935264bdfe4efe394f8d804a1361a6770 (patch)
tree31c87de7b67f928ff93b4564e0929d7db2a369f8 /man/blind-crop.1
parentUpdate TODO: blind-from-sent (diff)
downloadblind-478b53f935264bdfe4efe394f8d804a1361a6770.tar.gz
blind-478b53f935264bdfe4efe394f8d804a1361a6770.tar.bz2
blind-478b53f935264bdfe4efe394f8d804a1361a6770.tar.xz
Document memory requirements, minor style fixes, more use of BUFSIZ, fix warnings, and fix potential buffer overflow
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/blind-crop.1')
-rw-r--r--man/blind-crop.115
1 files changed, 15 insertions, 0 deletions
diff --git a/man/blind-crop.1 b/man/blind-crop.1
index 8e2a34e..fc635a9 100644
--- a/man/blind-crop.1
+++ b/man/blind-crop.1
@@ -49,6 +49,21 @@ pixels rightward of the output video's left-most pixel,
and the subvideo's top-most pixel will be positioned
.I top
pixels downward of the output video's left-most pixel.
+.SH REQUIREMENTS
+.B blind-crop
+requires enough free memory to load two full frames into
+memory, one of the size of the source video's frames,
+and one of the size of the target video's frames. However,
+if
+.B -s
+or
+.B -S
+is used, only memory for one full frame, of the size of
+the source video's frames, are required. A frame requires
+32 bytes per pixel it contains.
+.B blind-crop
+has not been optimised for memory usage, but instead
+for code simplicity.
.SH SEE ALSO
.BR blind (7),
.BR blind-extend (1)