Lines Matching refs:subsamp
66 static String formatName(int subsamp, int cs) { in formatName() argument
68 return subNameLong[subsamp]; in formatName()
70 return csName[cs] + " " + subNameLong[subsamp]; in formatName()
136 byte[] dstBuf, int w, int h, int subsamp, int jpegQual, in decomp() argument
165 yuvImage = new YUVImage(width, yuvpad, height, subsamp); in decomp()
181 yuvImage.setBuf(yuvImage.getBuf(), width, yuvpad, height, subsamp); in decomp() local
242 tempStr = new String(fileName + "_" + subName[subsamp] + qualStr + in decomp()
251 if (subsamp == TJ.SAMP_GRAY) { in decomp()
279 static void fullTest(byte[] srcBuf, int w, int h, int subsamp, int jpegQual, in fullTest() argument
299 subNameLong[subsamp], jpegQual); in fullTest()
312 jpegBuf = new byte[ntilesw * ntilesh][TJ.bufSize(tilew, tileh, subsamp)]; in fullTest()
319 subNameLong[subsamp], jpegQual); in fullTest()
323 tjc.setSubsamp(subsamp); in fullTest()
326 yuvImage = new YUVImage(tilew, yuvpad, tileh, subsamp); in fullTest()
345 subsamp); in fullTest() local
407 String tempStr = fileName + "_" + subName[subsamp] + "_" + "Q" + in fullTest()
418 decomp(srcBuf, jpegBuf, jpegSize, tmpBuf, w, h, subsamp, jpegQual, in fullTest()
432 int w = 0, h = 0, subsamp = -1, cs = -1, _w, _h, _tilew, _tileh, in decompTest() local
455 subsamp = tjt.getSubsamp(); in decompTest()
472 formatName(subsamp, cs), pixFormatStr[pf], in decompTest()
495 csName[cs], subNameLong[subsamp]); in decompTest()
499 _subsamp = subsamp; in decompTest()
536 jpegBuf = new byte[_ntilesw * _ntilesh][TJ.bufSize(_tilew, _tileh, subsamp)]; in decompTest()
592 jpegBuf = new byte[1][TJ.bufSize(_tilew, _tileh, subsamp)]; in decompTest()
686 int subsamp = -1; in main() local
819 subsamp = TJ.SAMP_GRAY; in main()
821 subsamp = TJ.SAMP_444; in main()
823 subsamp = TJ.SAMP_422; in main()
825 subsamp = TJ.SAMP_440; in main()
827 subsamp = TJ.SAMP_420; in main()
829 subsamp = TJ.SAMP_411; in main()
894 if (subsamp >= 0 && subsamp < TJ.NUMSAMP) { in main()
896 fullTest(srcBuf, w, h, subsamp, i, argv[0]); in main()