From 478b53f935264bdfe4efe394f8d804a1361a6770 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 8 Apr 2017 13:57:36 +0200 Subject: Document memory requirements, minor style fixes, more use of BUFSIZ, fix warnings, and fix potential buffer overflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/blind-crop.1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'man/blind-crop.1') 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) -- cgit v1.2.3-70-g09d2