summaryrefslogtreecommitdiff
path: root/src/asdcp-test.cpp
diff options
context:
space:
mode:
authormsheby <msheby@cinecert.com>2007-10-25 18:44:45 +0000
committermsheby <>2007-10-25 18:44:45 +0000
commitdeadc1bf01e8bc68905c7d33578ffb77b8317c8f (patch)
treee23733b29ffed1a996599c00a3c74490dcff3a3d /src/asdcp-test.cpp
parentc5e3e4e83032b790c62bd55795a20dd912010c9f (diff)
Win32 portability fixes
Diffstat (limited to 'src/asdcp-test.cpp')
-rwxr-xr-xsrc/asdcp-test.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/asdcp-test.cpp b/src/asdcp-test.cpp
index 22743aa..ffd3246 100755
--- a/src/asdcp-test.cpp
+++ b/src/asdcp-test.cpp
@@ -60,7 +60,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
using namespace ASDCP;
-const ui32_t FRAME_BUFFER_SIZE = 4*1024*1024;
+const ui32_t FRAME_BUFFER_SIZE = 4 * Kumu::Megabyte;
//------------------------------------------------------------------------------------------
//
@@ -133,16 +133,18 @@ USAGE: %s -c <output-file> [-3] [-b <buffer-size>] [-d <duration>] [-e|-E]\n\
\n\
%s -t <input-file>\n\
\n\
- %s -x <file-prefix> [-b <buffer-size>] [-d <duration>]\n\
+ %s -x <file-prefix> [-3] [-b <buffer-size>] [-d <duration>]\n\
[-f <starting-frame>] [-m] [-p <frame-rate>] [-R] [-s <num>] [-S|-1]\n\
[-v] [-W] <input-file>\n\
\n", PACKAGE, PACKAGE, PACKAGE, PACKAGE, PACKAGE, PACKAGE, PACKAGE);
fprintf(stream, "\
Major modes:\n\
- -3 - Create a stereoscopic image file. Expects two dir-\n\
- ectories of JP2K codestreams (directories must have\n\
+ -3 - With -c, create a stereoscopic image file. Expects two\n\
+ directories of JP2K codestreams (directories must have\n\
an equal number of frames; left eye is first).\n\
+ - With -x, force stereoscopic interpretation of a JP2K\n\
+ track file.\n\
-c <output-file> - Create an AS-DCP track file from input(s)\n\
-g - Generate a random 16 byte value to stdout\n\
-G - Perform GOP start lookup test on MXF+Interop MPEG file\n\