Home | History | Annotate | Download | only in java

Lines Matching refs:subsamp

66   static String formatName(int subsamp, int cs) {
68 return subNameLong[subsamp];
70 return csName[cs] + " " + subNameLong[subsamp];
134 byte[] dstBuf, int w, int h, int subsamp, int jpegQual,
160 yuvImage = new YUVImage(width, yuvpad, height, subsamp);
176 yuvImage.setBuf(yuvImage.getBuf(), width, yuvpad, height, subsamp);
235 tempStr = new String(fileName + "_" + subName[subsamp] + qualStr +
244 if (subsamp == TJ.SAMP_GRAY) {
272 static void fullTest(byte[] srcBuf, int w, int h, int subsamp, int jpegQual,
290 subNameLong[subsamp], jpegQual);
303 jpegBuf = new byte[ntilesw * ntilesh][TJ.bufSize(tilew, tileh, subsamp)];
310 subNameLong[subsamp], jpegQual);
314 tjc.setSubsamp(subsamp);
317 yuvImage = new YUVImage(tilew, yuvpad, tileh, subsamp);
336 subsamp);
398 String tempStr = fileName + "_" + subName[subsamp] + "_" + "Q" +
409 decomp(srcBuf, jpegBuf, jpegSize, tmpBuf, w, h, subsamp, jpegQual,
423 int w = 0, h = 0, subsamp = -1, cs = -1, _w, _h, _tilew, _tileh,
444 subsamp = tjt.getSubsamp();
455 System.out.print("Format CS Subsamp Width Height Perf Ratio Perf ");
461 formatName(subsamp, cs), pixFormatStr[pf],
484 csName[cs], subNameLong[subsamp]);
488 _subsamp = subsamp;
525 jpegBuf = new byte[_ntilesw * _ntilesh][TJ.bufSize(_tilew, _tileh, subsamp)];
581 jpegBuf = new byte[1][TJ.bufSize(_tilew, _tileh, subsamp)];
628 System.out.println("-subsamp <s> = When testing JPEG compression, this option specifies the level");
673 int subsamp = -1;
803 if (argv[i].equalsIgnoreCase("-subsamp") && i < argv.length - 1) {
806 subsamp = TJ.SAMP_GRAY;
808 subsamp = TJ.SAMP_444;
810 subsamp = TJ.SAMP_422;
812 subsamp = TJ.SAMP_440;
814 subsamp = TJ.SAMP_420;
816 subsamp = TJ.SAMP_411;
863 System.out.print("Format Subsamp Qual Width Height ");
879 if (subsamp >= 0 && subsamp < TJ.NUMSAMP) {
881 fullTest(srcBuf, w, h, subsamp, i, argv[0]);