Lines Matching refs:srcBuf
640 byte[] srcBuf = null; in compTest()
667 srcBuf = new byte[w * h * ps + 1]; in compTest()
668 initBuf(srcBuf, w, w * ps, h, pf, flags); in compTest()
669 tjc.setSourceImage(srcBuf, 0, 0, w, 0, h, pf); in compTest()
851 byte[] srcBuf, dstBuf = null; in bufSizeTest()
865 srcBuf = new byte[w * h * 4]; in bufSizeTest()
871 srcBuf[i] = (byte)(r.nextInt(2) * 255); in bufSizeTest()
873 tjc.setSourceImage(srcBuf, 0, 0, w, 0, h, TJ.PF_BGRX); in bufSizeTest()
881 srcBuf = new byte[h * w * 4]; in bufSizeTest()
887 srcBuf[i] = (byte)(r.nextInt(2) * 255); in bufSizeTest()
889 tjc.setSourceImage(srcBuf, 0, 0, h, 0, w, TJ.PF_BGRX); in bufSizeTest()