Lines Matching refs:srcBuf
631 byte[] srcBuf = null; in compTest()
658 srcBuf = new byte[w * h * ps + 1]; in compTest()
659 initBuf(srcBuf, w, w * ps, h, pf, flags); in compTest()
660 tjc.setSourceImage(srcBuf, 0, 0, w, 0, h, pf); in compTest()
842 byte[] srcBuf, dstBuf = null; in bufSizeTest()
856 srcBuf = new byte[w * h * 4]; in bufSizeTest()
862 srcBuf[i] = (byte)(r.nextInt(2) * 255); in bufSizeTest()
864 tjc.setSourceImage(srcBuf, 0, 0, w, 0, h, TJ.PF_BGRX); in bufSizeTest()
872 srcBuf = new byte[h * w * 4]; in bufSizeTest()
878 srcBuf[i] = (byte)(r.nextInt(2) * 255); in bufSizeTest()
880 tjc.setSourceImage(srcBuf, 0, 0, h, 0, w, TJ.PF_BGRX); in bufSizeTest()