Home | History | Annotate | Download | only in java

Lines Matching refs:System

62     return (double)System.nanoTime() / 1.0e9;
201 System.gc();
204 System.out.format("%-6s%s",
208 System.out.format("%s\n",
211 System.out.print("\n");
213 System.out.format("%s --> Frame rate: %f fps\n",
216 System.out.format(" Throughput: %f Megapixels/sec\n",
219 System.out.format("YUV Decode --> Frame rate: %f fps\n",
221 System.out.format(" Throughput: %f Megapixels/sec\n",
245 System.out.println("Compression error written to " + tempStr + ".");
290 System.out.format(">>>>> %s (%s) <--> JPEG %s Q%d <<<<<\n", pfStr,
310 System.out.format("%-4s (%s) %-5s %-3d ", pfStr,
314 System.arraycopy(srcBuf, w * ps * i, tmpBuf, pitch * i, w * ps);
360 System.out.format("%-5d %-5d ", tilew, tileh);
363 System.out.format("%-6s%s",
366 System.out.format("%-6s%s",
369 System.out.format("%-6s%s",
373 System.out.format("\n%s size: %d x %d\n", doTile ? "Tile" : "Image",
376 System.out.format("Encode YUV --> Frame rate: %f fps\n",
378 System.out.format(" Output image size: %d bytes\n",
380 System.out.format(" Compression ratio: %f:1\n",
382 System.out.format(" Throughput: %f Megapixels/sec\n",
384 System.out.format(" Output bit stream: %f Megabits/sec\n",
387 System.out.format("%s --> Frame rate: %f fps\n",
390 System.out.format(" Output image size: %d bytes\n",
392 System.out.format(" Compression ratio: %f:1\n",
394 System.out.format(" Throughput: %f Megapixels/sec\n",
396 System.out.format(" Output bit stream: %f Megabits/sec\n",
406 System.out.println("Reference image written to " + tempStr);
450 System.out.println("All performance values in Mpixels/sec\n");
451 System.out.format("Bitmap JPEG JPEG %s %s Xform Comp Decomp ",
455 System.out.print("Decode");
456 System.out.print("\n");
457 System.out.print("Format CS Subsamp Width Height Perf Ratio Perf ");
459 System.out.print("Perf");
460 System.out.println("\n");
462 System.out.format(">>>>> JPEG %s --> %s (%s) <<<<<\n",
477 System.out.format("\n%s size: %d x %d", (doTile ? "Tile" : "Image"),
480 System.out.format(" --> %d x %d", sf.getScaled(_w),
482 System.out.println("");
484 System.out.format("%-4s (%s) %-5s %-5s ", pixFormatStr[pf],
487 System.out.format("%-5d %-5d ", tilew, tileh);
563 System.out.format("%-6s%s%-6s%s",
569 System.out.format("Transform --> Frame rate: %f fps\n",
571 System.out.format(" Output image size: %d bytes\n",
573 System.out.format(" Compression ratio: %f:1\n",
575 System.out.format(" Throughput: %f Megapixels/sec\n",
577 System.out.format(" Output bit stream: %f Megabits/sec\n",
582 System.out.print("N/A N/A ");
586 System.arraycopy(srcBuf, 0, jpegBuf[0], 0, srcSize);
597 System.out.println("N/A");
613 System.out.println("\nUSAGE: java " + className);
614 System.out.println(" <Inputfile (BMP)> <Quality> [options]\n");
615 System.out.println(" java " + className);
616 System.out.println(" <Inputfile (JPG)> [options]\n");
617 System.out.println("Options:\n");
618 System.out.println("-alloc = Dynamically allocate JPEG image buffers");
619 System.out.println("-bottomup = Test bottom-up compression/decompression");
620 System.out.println("-tile = Test performance of the codec when the image is encoded as separate");
621 System.out.println(" tiles of varying sizes.");
622 System.out.println("-rgb, -bgr, -rgbx, -bgrx, -xbgr, -xrgb =");
623 System.out.println(" Test the specified color conversion path in the codec (default = BGR)");
624 System.out.println("-fastupsample = Use the fastest chrominance upsampling algorithm available in");
625 System.out.println(" the underlying codec");
626 System.out.println("-fastdct = Use the fastest DCT/IDCT algorithms available in the underlying");
627 System.out.println(" codec");
628 System.out.println("-accuratedct = Use the most accurate DCT/IDCT algorithms available in the");
629 System.out.println(" underlying codec");
630 System.out.println("-subsamp <s> = When testing JPEG compression, this option specifies the level");
631 System.out.println(" of chrominance subsampling to use (<s> = 444, 422, 440, 420, 411, or");
632 System.out.println(" GRAY). The default is to test Grayscale, 4:2:0, 4:2:2, and 4:4:4 in");
633 System.out.println(" sequence.");
634 System.out.println("-quiet = Output results in tabular rather than verbose format");
635 System.out.println("-yuv = Test YUV encoding/decoding functions");
636 System.out.println("-yuvpad <p> = If testing YUV encoding/decoding, this specifies the number of");
637 System.out.println(" bytes to which each row of each plane in the intermediate YUV image is");
638 System.out.println(" padded (default = 1)");
639 System.out.println("-scale M/N = Scale down the width/height of the decompressed JPEG image by a");
640 System.out.print (" factor of M/N (M/N = ");
642 System.out.format("%d/%d", scalingFactors[i].getNum(),
645 System.out.print(" or ");
648 System.out.print(", ");
650 System.out.print("or ");
653 System.out.print("\n ");
655 System.out.println(")");
656 System.out.println("-hflip, -vflip, -transpose, -transverse, -rot90, -rot180, -rot270 =");
657 System.out.println(" Perform the corresponding lossless transform prior to");
658 System.out.println(" decompression (these options are mutually exclusive)");
659 System.out.println("-grayscale = Perform lossless grayscale conversion prior to decompression");
660 System.out.println(" test (can be combined with the other transforms above)");
661 System.out.println("-benchtime <t> = Run each benchmark for at least <t> seconds (default = 5.0)");
662 System.out.println("-warmup <w> = Execute each benchmark <w> times to prime the cache before");
663 System.out.println(" taking performance measurements (default = 1)");
664 System.out.println("-componly = Stop after running compression tests. Do not test decompression.");
665 System.out.println("-nowrite = Do not write reference or output images (improves consistency");
666 System.out.println(" of performance measurements.)\n");
667 System.out.println("NOTE: If the quality is specified as a range (e.g. 90-100), a separate");
668 System.out.println("test will be performed for all quality values in the range.\n");
669 System.exit(1);
688 System.out.println("");
715 System.out.println("Using fast upsampling code\n");
719 System.out.println("Using fastest DCT/IDCT algorithm\n");
723 System.out.println("Using most accurate DCT/IDCT algorithm\n");
796 System.out.println("Testing YUV planar encoding/decoding\n");
833 System.out.format("Warmup runs = %d\n\n", warmup);
845 System.out.println("Disabling tiled compression/decompression tests, because those tests do not");
846 System.out.println("work when scaled decompression is enabled.");
860 System.out.println("All performance values in Mpixels/sec\n");
861 System.out.format("Bitmap JPEG JPEG %s %s ",
864 System.out.print("Encode ");
865 System.out.print("Comp Comp Decomp ");
867 System.out.print("Decode");
868 System.out.print("\n");
869 System.out.print("Format Subsamp Qual Width Height ");
871 System.out.print("Perf ");
872 System.out.print("Perf Ratio Perf ");
874 System.out.print("Perf");
875 System.out.println("\n");
880 System.out.println("");
881 System.exit(retval);
884 System.gc();
888 System.out.println("");
892 System.out.println("");
893 System.gc();
896 System.out.println("");
897 System.gc();
900 System.out.println("");
901 System.gc();
904 System.out.println("");
908 System.out.println("ERROR: " + e.getMessage());
913 System.exit(retval);