Lines Matching refs:dstBuf
629 static int compTest(TJCompressor tjc, byte[] dstBuf, int w, int h, int pf, in compTest() argument
664 Arrays.fill(dstBuf, (byte)0); in compTest()
687 tjc.compress(dstBuf, flags); in compTest()
692 writeJPEG(dstBuf, size, tempStr); in compTest()
708 byte[] dstBuf = null; in decompTest()
757 dstBuf = tjd.decompress(scaledWidth, 0, scaledHeight, pf, flags); in decompTest()
769 (!bi && checkBuf(dstBuf, scaledWidth, in decompTest()
802 byte[] dstBuf; in doTest()
804 dstBuf = new byte[TJ.bufSize(w, h, subsamp)]; in doTest()
819 size = compTest(tjc, dstBuf, w, h, pf, baseName, subsamp, 100, in doTest()
821 decompTest(tjd, dstBuf, size, w, h, pf, baseName, subsamp, flags); in doTest()
824 decompTest(tjd, dstBuf, size, w, h, pf + (TJ.PF_RGBA - TJ.PF_RGBX), in doTest()
842 byte[] srcBuf, dstBuf = null; in bufSizeTest()
860 dstBuf = new byte[TJ.bufSize(w, h, subsamp)]; in bufSizeTest()
870 tjc.compress(dstBuf, 0); in bufSizeTest()
876 dstBuf = new byte[TJ.bufSize(h, w, subsamp)]; in bufSizeTest()
884 tjc.compress(dstBuf, 0); in bufSizeTest()
887 dstBuf = null; in bufSizeTest()