Searched refs:tjd (Results 1 – 4 of 4) sorted by relevance
/external/libjpeg-turbo/java/ |
D | TJExample.java | 290 TJDecompressor tjd; in main() local 298 tjd = tjds[0]; in main() 301 tjd = new TJDecompressor(jpegBuf); in main() 303 width = tjd.getWidth(); in main() 304 height = tjd.getHeight(); in main() 305 int inSubsamp = tjd.getSubsamp(); in main() 306 int inColorspace = tjd.getColorspace(); in main() 320 fos.write(tjd.getJPEGBuf(), 0, tjd.getJPEGSize()); in main() 334 img = tjd.decompress(width, height, BufferedImage.TYPE_INT_RGB, in main() 337 imgBuf = tjd.decompress(width, 0, height, TJ.PF_BGRX, flags); in main() [all …]
|
D | TJUnitTest.java | 698 static void decompTest(TJDecompressor tjd, byte[] jpegBuf, int jpegSize, in decompTest() argument 719 tjd.setSourceImage(jpegBuf, jpegSize); in decompTest() 720 if (tjd.getWidth() != w || tjd.getHeight() != h || in decompTest() 721 tjd.getSubsamp() != subsamp) in decompTest() 726 temp1 = tjd.getScaledWidth(temp1, temp2); in decompTest() 727 temp2 = tjd.getScaledHeight(temp1, temp2); in decompTest() 736 YUVImage yuvImage = tjd.decompressToYUV(scaledWidth, pad, scaledHeight, in decompTest() 747 tjd.setSourceImage(yuvImage); in decompTest() 755 img = tjd.decompress(scaledWidth, scaledHeight, imgType, flags); in decompTest() 757 dstBuf = tjd.decompress(scaledWidth, 0, scaledHeight, pf, flags); in decompTest() [all …]
|
D | TJBench.java | 167 TJDecompressor tjd; in decomp() local 178 tjd = new TJDecompressor(); in decomp() 211 tjd.setSourceImage(jpegBuf[tile], jpegSize[tile]); in decomp() 216 tjd.decompressToYUV(yuvImage, flags); in decomp() 219 tjd.setSourceImage(yuvImage); in decomp() 221 tjd.decompress(dstBuf, x, y, width, pitch, height, pf, flags); in decomp() 227 tjd.decompress(dstBuf, x, y, width, pitch, height, pf, flags); in decomp() 245 tjd = null; in decomp()
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJTransformer.java | 133 TJDecompressor[] tjd = new TJDecompressor[transforms.length]; in transform() local 136 tjd[i] = new TJDecompressor(dstBufs[i], transformedSizes[i]); in transform() 137 return tjd; in transform()
|