/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
TJTransformer.java | 132 TJDecompressor[] tjd = new TJDecompressor[transforms.length]; local 135 tjd[i] = new TJDecompressor(dstBufs[i], transformedSizes[i]); 136 return tjd;
|
/external/libjpeg-turbo/java/ |
TJExample.java | 255 TJDecompressor tjd; local 263 tjd = tjdx[0]; 265 tjd = new TJDecompressor(inputBuf); 267 width = tjd.getWidth(); 268 height = tjd.getHeight(); 269 int inSubsamp = tjd.getSubsamp(); 280 fos.write(tjd.getJPEGBuf(), 0, tjd.getJPEGSize()); 289 img = tjd.decompress(width, height, BufferedImage.TYPE_INT_RGB, 292 bmpBuf = tjd.decompress(width, 0, height, TJ.PF_BGRX, flags) [all...] |
TJUnitTest.java | 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) 809 TJDecompressor tjd = null; local [all...] |
TJBench.java | 137 TJDecompressor tjd; local 148 tjd = new TJDecompressor(); 174 tjd.setSourceImage(jpegBuf[tile], jpegSize[tile]); 177 tjd.decompressToYUV(yuvImage, flags); 179 tjd.setSourceImage(yuvImage); 180 tjd.decompress(dstBuf, x, y, width, pitch, height, pf, flags); 184 tjd.decompress(dstBuf, x, y, width, pitch, height, pf, flags); 197 tjd = null; [all...] |