TJBench: Usage screen tweak

Indicate that -maxmemory and -maxpixels take an integer argument.
This commit is contained in:
DRC
2024-08-26 10:14:11 -04:00
parent de4bbac55e
commit 548f732432
2 changed files with 4 additions and 4 deletions

View File

@@ -781,11 +781,11 @@ final class TJBench {
System.out.println("-componly = Stop after running compression tests. Do not test decompression.");
System.out.println("-lossless = Generate lossless JPEG images when compressing (implies");
System.out.println(" -subsamp 444). PSV is the predictor selection value (1-7).");
System.out.println("-maxmemory = Memory limit (in megabytes) for intermediate buffers used with");
System.out.println("-maxmemory N = Memory limit (in megabytes) for intermediate buffers used with");
System.out.println(" progressive JPEG compression and decompression, Huffman table");
System.out.println(" optimization, lossless JPEG compression, and lossless transformation");
System.out.println(" [default = no limit]");
System.out.println("-maxpixels = Input image size limit (in pixels) [default = no limit]");
System.out.println("-maxpixels N = Input image size limit (in pixels) [default = no limit]");
System.out.println("-nowrite = Do not write reference or output images (improves consistency of");
System.out.println(" benchmark results)");
System.out.println("-rgb, -bgr, -rgbx, -bgrx, -xbgr, -xrgb =");

View File

@@ -918,11 +918,11 @@ static void usage(char *progName)
printf("-componly = Stop after running compression tests. Do not test decompression.\n");
printf("-lossless = Generate lossless JPEG images when compressing (implies\n");
printf(" -subsamp 444). PSV is the predictor selection value (1-7).\n");
printf("-maxmemory = Memory limit (in megabytes) for intermediate buffers used with\n");
printf("-maxmemory N = Memory limit (in megabytes) for intermediate buffers used with\n");
printf(" progressive JPEG compression and decompression, Huffman table\n");
printf(" optimization, lossless JPEG compression, and lossless transformation\n");
printf(" [default = no limit]\n");
printf("-maxpixels = Input image size limit (in pixels) [default = no limit]\n");
printf("-maxpixels N = Input image size limit (in pixels) [default = no limit]\n");
printf("-nowrite = Do not write reference or output images (improves consistency of\n");
printf(" benchmark results)\n");
printf("-rgb, -bgr, -rgbx, -bgrx, -xbgr, -xrgb =\n");