/external/libjpeg-turbo/ |
D | turbojpeg.h | 677 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags); 741 unsigned char **jpegBuf, unsigned long *jpegSize, int jpegQual, int flags); 811 int subsamp, unsigned char **jpegBuf, unsigned long *jpegSize, int jpegQual, 1068 const unsigned char *jpegBuf, unsigned long jpegSize, int *width, 1135 const unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, 1185 const unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, 1241 const unsigned char *jpegBuf, unsigned long jpegSize, 1420 const unsigned char *jpegBuf, unsigned long jpegSize, int n, 1519 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height); 1522 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height, [all …]
|
D | turbojpeg-jni.c | 193 unsigned long jpegSize=0; in TJCompressor_compress() local 209 jpegSize=tjBufSize(width, height, jpegSubsamp); in TJCompressor_compress() 210 if((*env)->GetArrayLength(env, dst)<(jsize)jpegSize) in TJCompressor_compress() 219 pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, jpegQual, in TJCompressor_compress() 226 return (jint)jpegSize; in TJCompressor_compress() 292 unsigned long jpegSize=0; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local 313 jpegSize=tjBufSize(width, height, subsamp); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 314 if((*env)->GetArrayLength(env, dst)<(jsize)jpegSize) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 345 subsamp, &jpegBuf, &jpegSize, jpegQual, flags|TJFLAG_NOREALLOC)==-1) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 360 return (jint)jpegSize; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() [all …]
|
D | turbojpeg.c | 768 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress2() argument 780 || pixelFormat>=TJ_NUMPF || jpegBuf==NULL || jpegSize==NULL in tjCompress2() 812 alloc=0; *jpegSize=tjBufSize(width, height, jpegSubsamp); in tjCompress2() 814 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); in tjCompress2() 846 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress() argument 861 *jpegSize=size; in tjCompress() 1084 int subsamp, unsigned char **jpegBuf, unsigned long *jpegSize, int jpegQual, in tjCompressFromYUVPlanes() argument 1103 || subsamp>=NUMSUBOPT || jpegBuf==NULL || jpegSize==NULL || jpegQual<0 in tjCompressFromYUVPlanes() 1125 alloc=0; *jpegSize=tjBufSize(width, height, subsamp); in tjCompressFromYUVPlanes() 1127 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); in tjCompressFromYUVPlanes() [all …]
|
D | tjunittest.c | 381 void writeJPEG(unsigned char *jpegBuf, unsigned long jpegSize, char *filename) in writeJPEG() argument 384 if(!file || fwrite(jpegBuf, jpegSize, 1, file)!=1) in writeJPEG() 455 unsigned long jpegSize, int w, int h, int pf, char *basename, int subsamp, in _decompTest() argument 464 _tj(tjDecompressHeader2(handle, jpegBuf, jpegSize, &_hdrw, &_hdrh, in _decompTest() 489 _tj(tjDecompressToYUV2(handle, jpegBuf, jpegSize, yuvBuf, scaledWidth, in _decompTest() 508 _tj(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, in _decompTest() 524 unsigned long jpegSize, int w, int h, int pf, char *basename, int subsamp, in decompTest() argument 538 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp, in decompTest()
|
D | ChangeLog.md | 545 assume that the `jpegSize` parameter was equal to the size of the buffer, when
|
/external/libvncserver/test/ |
D | tjunittest.c | 224 void writeJPEG(unsigned char *jpegBuf, unsigned long jpegSize, char *filename) in writeJPEG() argument 227 if(!file || fwrite(jpegBuf, jpegSize, 1, file)!=1) in writeJPEG() 273 unsigned long jpegSize, int w, int h, int pf, char *basename, int subsamp, in _decompTest() argument 288 _tj(tjDecompressHeader2(handle, jpegBuf, jpegSize, &_hdrw, &_hdrh, in _decompTest() 299 _tj(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, in _decompTest() 314 unsigned long jpegSize, int w, int h, int pf, char *basename, int subsamp, in decompTest() argument 324 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp, in decompTest() 328 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp, flags, in decompTest() 382 unsigned long jpegSize=0; in bufSizeTest() local 400 jpegSize=tjBufSize(w, h, subsamp); in bufSizeTest() [all …]
|
/external/libvncserver/common/ |
D | turbojpeg.h | 354 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags); 407 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height, 467 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, 514 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height); 517 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf,
|
D | turbojpeg.c | 540 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress2() argument 552 || pixelFormat>=TJ_NUMPF || jpegBuf==NULL || jpegSize==NULL in tjCompress2() 602 *jpegSize=tjBufSize(width, height, jpegSubsamp) in tjCompress2() 616 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) in tjCompress() argument 622 *jpegSize=size; in tjCompress() 685 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height, in tjDecompressHeader2() argument 694 if(jpegBuf==NULL || jpegSize<=0 || width==NULL || height==NULL in tjDecompressHeader2() 704 this->jsrc.bytes_in_buffer=jpegSize; in tjDecompressHeader2() 724 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height) in tjDecompressHeader() argument 727 return tjDecompressHeader2(handle, jpegBuf, jpegSize, width, height, in tjDecompressHeader() [all …]
|
/external/libjpeg-turbo/java/ |
D | TJBench.java | 135 static void decomp(byte[] srcBuf, byte[][] jpegBuf, int[] jpegSize, in decomp() argument 179 tjd.setSourceImage(jpegBuf[tile], jpegSize[tile]); in decomp() 205 jpegBuf = null; jpegSize = null; in decomp() 284 int[] jpegSize; in fullTest() local 313 jpegSize = new int[ntilesw * ntilesh]; in fullTest() 352 jpegSize[tile] = tjc.getCompressedSize(); in fullTest() 353 totalJpegSize += jpegSize[tile]; in fullTest() 410 fos.write(jpegBuf[0], 0, jpegSize[0]); in fullTest() 418 decomp(srcBuf, jpegBuf, jpegSize, tmpBuf, w, h, subsamp, jpegQual, in fullTest() 430 int[] jpegSize = null; in decompTest() local [all …]
|
D | TJExample.java | 321 int jpegSize; in main() local 332 jpegSize = tjc.getCompressedSize(); in main() 337 fos.write(jpegBuf, 0, jpegSize); in main()
|
D | TJUnitTest.java | 706 int jpegSize, int w, int h, int pf, in decompTest() argument 727 tjd.setSourceImage(jpegBuf, jpegSize); in decompTest() 788 int jpegSize, int w, int h, int pf, in decompTest() argument 801 decompTest(tjd, jpegBuf, jpegSize, w, h, pf, baseName, subsamp, in decompTest()
|