Lines Matching refs:tjd
705 private static void decompTest(TJDecompressor tjd, byte[] jpegBuf, in decompTest() argument
727 tjd.setSourceImage(jpegBuf, jpegSize); in decompTest()
728 if (tjd.getWidth() != w || tjd.getHeight() != h || in decompTest()
729 tjd.getSubsamp() != subsamp) in decompTest()
734 temp1 = tjd.getScaledWidth(temp1, temp2); in decompTest()
735 temp2 = tjd.getScaledHeight(temp1, temp2); in decompTest()
744 YUVImage yuvImage = tjd.decompressToYUV(scaledWidth, pad, scaledHeight, in decompTest()
755 tjd.setSourceImage(yuvImage); in decompTest()
763 img = tjd.decompress(scaledWidth, scaledHeight, imgType, flags); in decompTest()
765 dstBuf = tjd.decompress(scaledWidth, 0, scaledHeight, pf, flags); in decompTest()
787 private static void decompTest(TJDecompressor tjd, byte[] jpegBuf, in decompTest() argument
801 decompTest(tjd, jpegBuf, jpegSize, w, h, pf, baseName, subsamp, in decompTest()
809 TJDecompressor tjd = null; in doTest() local
817 tjd = new TJDecompressor(); in doTest()
830 decompTest(tjd, dstBuf, size, w, h, pf, baseName, subsamp, flags); in doTest()
833 decompTest(tjd, dstBuf, size, w, h, pf + (TJ.PF_RGBA - TJ.PF_RGBX), in doTest()
842 if (tjd != null) tjd.close(); in doTest()
846 if (tjd != null) tjd.close(); in doTest()