/external/libjpeg-turbo/ |
turbojpeg.h | 639 * @param jpegBuf address of a pointer to an image buffer that will receive the 644 * -# set <tt>*jpegBuf</tt> to NULL to tell TurboJPEG to allocate the buffer 652 * you should always check <tt>*jpegBuf</tt> upon return from this function, as 656 * the JPEG image buffer. If <tt>*jpegBuf</tt> points to a pre-allocated 659 * bytes.) If <tt>*jpegBuf</tt> points to a JPEG image buffer that is being 676 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, 707 * @param jpegBuf address of a pointer to an image buffer that will receive the 712 * -# set <tt>*jpegBuf</tt> to NULL to tell TurboJPEG to allocate the buffer 720 * you should always check <tt>*jpegBuf</tt> upon return from this function, as 724 * the JPEG image buffer. If <tt>*jpegBuf</tt> points to a pre-allocate [all...] |
turbojpeg-jni.c | 191 unsigned char *srcBuf=NULL, *jpegBuf=NULL; 210 bailif0(jpegBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0)); 215 pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, jpegQual, 220 if(jpegBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, jpegBuf, 0); 290 unsigned char *srcPlanes[3], *jpegBuf=NULL; 335 bailif0(jpegBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0)); 340 subsamp, &jpegBuf, &jpegSize, jpegQual, flags|TJFLAG_NOREALLOC)==-1) 344 if(jpegBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, jpegBuf, 0) [all...] |
turbojpeg.c | 732 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, 745 || pixelFormat>=TJ_NUMPF || jpegBuf==NULL || jpegSize==NULL 779 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); 809 int width, int pitch, int height, int pixelSize, unsigned char *jpegBuf, 817 getPixelFormat(pixelSize, flags), jpegBuf, jpegSubsamp, flags); 822 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual, 1046 unsigned char **jpegBuf, unsigned long *jpegSize, int jpegQual, int flags) 1064 || subsamp>=NUMSUBOPT || jpegBuf==NULL || jpegSize==NULL || jpegQual<0 1088 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); [all...] |
tjunittest.c | 381 void writeJPEG(unsigned char *jpegBuf, unsigned long jpegSize, char *filename) 384 if(!file || fwrite(jpegBuf, jpegSize, 1, file)!=1) 454 void _decompTest(tjhandle handle, unsigned char *jpegBuf, 464 _tj(tjDecompressHeader2(handle, jpegBuf, jpegSize, &_hdrw, &_hdrh, 489 _tj(tjDecompressToYUV2(handle, jpegBuf, jpegSize, yuvBuf, scaledWidth, 508 _tj(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, 523 void decompTest(tjhandle handle, unsigned char *jpegBuf, 538 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp,
|
/external/libvncserver/common/ |
turbojpeg.h | 322 * @param jpegBuf address of a pointer to an image buffer that will receive the 327 * -# set <tt>*jpegBuf</tt> to NULL to tell TurboJPEG to allocate the 335 * set #TJFLAG_NOREALLOC, you should always check <tt>*jpegBuf</tt> upon 338 * the JPEG image buffer. If <tt>*jpegBuf</tt> points to a 353 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, 394 * @param jpegBuf pointer to a buffer containing a JPEG image 407 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height, 428 * @param jpegBuf pointer to a buffer containing the JPEG image to decompress 467 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, 514 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height) [all...] |
turbojpeg.c | 539 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, 552 || pixelFormat>=TJ_NUMPF || jpegBuf==NULL || jpegSize==NULL 585 this->jdst.next_output_byte=*jpegBuf; 615 int width, int pitch, int height, int pixelSize, unsigned char *jpegBuf, 620 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual, 685 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height, 694 if(jpegBuf==NULL || jpegSize<=0 || width==NULL || height==NULL 705 this->jsrc.next_input_byte=jpegBuf; 724 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height) 727 return tjDecompressHeader2(handle, jpegBuf, jpegSize, width, height [all...] |
/external/libvncserver/test/ |
tjunittest.c | 224 void writeJPEG(unsigned char *jpegBuf, unsigned long jpegSize, char *filename) 227 if(!file || fwrite(jpegBuf, jpegSize, 1, file)!=1) 272 void _decompTest(tjhandle handle, unsigned char *jpegBuf, 288 _tj(tjDecompressHeader2(handle, jpegBuf, jpegSize, &_hdrw, &_hdrh, 299 _tj(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, 313 void decompTest(tjhandle handle, unsigned char *jpegBuf, 324 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp, 328 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp, flags, 380 unsigned char *srcBuf=NULL, *jpegBuf=NULL; 397 if((jpegBuf=(unsigned char *)malloc(tjBufSize(w, h, subsamp)) [all...] |
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
TJTransformer.java | 98 if (jpegBuf == null) 100 transformedSizes = transform(jpegBuf, jpegBufSize, dstBufs, transforms,
|
TJDecompressor.java | 101 jpegBuf = jpegImage; 103 decompressHeader(jpegBuf, jpegBufSize); 127 jpegBuf = null; 204 if (jpegBuf == null) 206 return jpegBuf; 373 if (jpegBuf == null && yuvImage == null) 386 decompress(jpegBuf, jpegBufSize, dstBuf, x, y, desiredWidth, pitch, 389 decompress(jpegBuf, jpegBufSize, dstBuf, desiredWidth, pitch, 465 if (jpegBuf == null) 479 decompressToYUV(jpegBuf, jpegBufSize, dstImage.getPlanes() [all...] |
/external/libjpeg-turbo/java/ |
TJBench.java | 133 static void decomp(byte[] srcBuf, byte[][] jpegBuf, int[] jpegSize, 174 tjd.setSourceImage(jpegBuf[tile], jpegSize[tile]); 198 for (i = 0; i < jpegBuf.length; i++) 199 jpegBuf[i] = null; 200 jpegBuf = null; jpegSize = null; 276 byte[][] jpegBuf; 303 jpegBuf = new byte[ntilesw * ntilesh][TJ.bufSize(tilew, tileh, subsamp)]; 342 tjc.compress(jpegBuf[tile], flags); 401 fos.write(jpegBuf[0], 0, jpegSize[0]); 409 decomp(srcBuf, jpegBuf, jpegSize, tmpBuf, w, h, subsamp, jpegQual [all...] |
TJExample.java | 322 byte[] jpegBuf; 331 jpegBuf = tjc.compress(flags); 337 fos.write(jpegBuf, 0, jpegSize);
|
TJUnitTest.java | 628 private static void writeJPEG(byte[] jpegBuf, int jpegBufSize, 632 fos.write(jpegBuf, 0, jpegBufSize); 705 private static void decompTest(TJDecompressor tjd, byte[] jpegBuf, 727 tjd.setSourceImage(jpegBuf, jpegSize); 787 private static void decompTest(TJDecompressor tjd, byte[] jpegBuf, 801 decompTest(tjd, jpegBuf, jpegSize, w, h, pf, baseName, subsamp, [all...] |
/packages/apps/DevCamera/src/com/android/devcamera/ |
Api2Camera.java | 620 final byte[] jpegBuf; 622 jpegBuf = buffer.array(); 624 jpegBuf = new byte[buffer.capacity()]; 625 buffer.get(jpegBuf); 627 mMyCameraCallback.jpegAvailable(jpegBuf, img.getWidth(), img.getHeight()); [all...] |
/external/libjpeg-turbo/doc/html/search/ |
all_74.js | 73 ['tjtransform',['tjtransform',['../structtjtransform.html',1,'tjtransform'],['../group___turbo_j_p_e_g.html#gae403193ceb4aafb7e0f56ab587b48616',1,'tjTransform(tjhandle handle, unsigned char *jpegBuf, unsigned long jpegSize, int n, unsigned char **dstBufs, unsigned long *dstSizes, tjtransform *transforms, int flags): turbojpeg.h'],['../group___turbo_j_p_e_g.html#gaa29f3189c41be12ec5dee7caec318a31',1,'tjtransform(): turbojpeg.h']]],
|