/external/libjpeg-turbo/java/ |
TJUnitTest.java | 636 private static int compTest(TJCompressor tjc, byte[] dstBuf, int w, 665 tjc.setSourceImage(img, 0, 0, 0, 0); 669 tjc.setSourceImage(srcBuf, 0, 0, w, 0, h, pf); 673 tjc.setSubsamp(subsamp); 674 tjc.setJPEGQuality(jpegQual); 678 YUVImage yuvImage = tjc.encodeYUV(pad, flags); 689 tjc.setSourceImage(yuvImage); 694 tjc.compress(dstBuf, flags); 695 size = tjc.getCompressedSize(); 808 TJCompressor tjc = null local 853 TJCompressor tjc = null; local [all...] |
TJExample.java | 320 TJCompressor tjc = new TJCompressor(); local 324 tjc.setSubsamp(outSubsamp); 325 tjc.setJPEGQuality(outQual); 327 tjc.setSourceImage(img, 0, 0, 0, 0); 329 tjc.setSourceImage(bmpBuf, 0, 0, width, 0, height, TJ.PF_BGRX); 331 jpegBuf = tjc.compress(flags); 332 jpegSize = tjc.getCompressedSize(); 333 tjc.close();
|
TJBench.java | 274 TJCompressor tjc; local 292 tjc = new TJCompressor(); 313 tjc.setJPEGQuality(jpegQual); 314 tjc.setSubsamp(subsamp); 332 tjc.setSourceImage(srcBuf, x, y, width, pitch, height, pf); 337 tjc.encodeYUV(yuvImage, flags); 340 tjc.setSourceImage(yuvImage); 342 tjc.compress(jpegBuf[tile], flags); 343 jpegSize[tile] = tjc.getCompressedSize(); [all...] |