Home | History | Annotate | Download | only in java

Lines Matching refs:tjd

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