HomeSort by relevance Sort by last modified time
    Searched refs:jpegBuf (Results 1 - 14 of 14) sorted by null

  /external/libjpeg-turbo/
turbojpeg.h 638 * @param jpegBuf address of a pointer to an image buffer that will receive the
643 * -# set <tt>*jpegBuf</tt> to NULL to tell TurboJPEG to allocate the buffer
651 * you should always check <tt>*jpegBuf</tt> upon return from this function, as
655 * the JPEG image buffer. If <tt>*jpegBuf</tt> points to a pre-allocated
658 * bytes.) If <tt>*jpegBuf</tt> points to a JPEG image buffer that is being
675 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf,
706 * @param jpegBuf address of a pointer to an image buffer that will receive the
711 * -# set <tt>*jpegBuf</tt> to NULL to tell TurboJPEG to allocate the buffer
719 * you should always check <tt>*jpegBuf</tt> upon return from this function, as
723 * the JPEG image buffer. If <tt>*jpegBuf</tt> points to a pre-allocate
    [all...]
turbojpeg-jni.c 195 unsigned char *srcBuf=NULL, *jpegBuf=NULL;
214 bailif0(jpegBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0));
219 pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, jpegQual,
224 if(jpegBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, jpegBuf, 0);
295 unsigned char *jpegBuf=NULL;
340 bailif0(jpegBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0));
345 subsamp, &jpegBuf, &jpegSize, jpegQual, flags|TJFLAG_NOREALLOC)==-1)
349 if(jpegBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, jpegBuf, 0)
    [all...]
turbojpeg.c 758 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf,
771 || pixelFormat>=TJ_NUMPF || jpegBuf==NULL || jpegSize==NULL
807 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc);
836 int width, int pitch, int height, int pixelSize, unsigned char *jpegBuf,
844 getPixelFormat(pixelSize, flags), jpegBuf, jpegSubsamp, flags);
849 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual,
1080 int subsamp, unsigned char **jpegBuf, unsigned long *jpegSize, int jpegQual,
1099 || subsamp>=NUMSUBOPT || jpegBuf==NULL || jpegSize==NULL || jpegQual<0
1122 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 99 if (jpegBuf == null)
101 transformedSizes = transform(jpegBuf, jpegBufSize, dstBufs, transforms,
TJDecompressor.java 103 jpegBuf = jpegImage;
105 decompressHeader(jpegBuf, jpegBufSize);
130 jpegBuf = null;
207 if (jpegBuf == null)
209 return jpegBuf;
374 if (jpegBuf == null && yuvImage == null)
387 decompress(jpegBuf, jpegBufSize, dstBuf, x, y, desiredWidth, pitch,
390 decompress(jpegBuf, jpegBufSize, dstBuf, desiredWidth, pitch,
467 if (jpegBuf == null)
481 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]);
201 for (i = 0; i < jpegBuf.length; i++)
202 jpegBuf[i] = null;
203 jpegBuf = null; jpegSize = null;
281 byte[][] jpegBuf;
308 jpegBuf = new byte[ntilesw * ntilesh][TJ.bufSize(tilew, tileh, subsamp)];
347 tjc.compress(jpegBuf[tile], flags);
409 fos.write(jpegBuf[0], 0, jpegSize[0]);
417 decomp(srcBuf, jpegBuf, jpegSize, tmpBuf, w, h, subsamp, jpegQual
    [all...]
TJExample.java 323 byte[] jpegBuf;
332 jpegBuf = tjc.compress(flags);
338 fos.write(jpegBuf, 0, jpegSize);
TJUnitTest.java 619 private static void writeJPEG(byte[] jpegBuf, int jpegBufSize,
623 fos.write(jpegBuf, 0, jpegBufSize);
696 private static void decompTest(TJDecompressor tjd, byte[] jpegBuf,
718 tjd.setSourceImage(jpegBuf, jpegSize);
778 private static void decompTest(TJDecompressor tjd, byte[] jpegBuf,
792 decompTest(tjd, jpegBuf, jpegSize, w, h, pf, baseName, subsamp,
    [all...]
  /packages/apps/DevCamera/src/com/android/devcamera/
Api2Camera.java 674 final byte[] jpegBuf;
676 jpegBuf = buffer.array();
678 jpegBuf = new byte[buffer.capacity()];
679 buffer.get(jpegBuf);
681 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#gad02cd42b69f193a0623a9c801788df3a',1,'tjTransform(tjhandle handle, const unsigned char *jpegBuf, unsigned long jpegSize, int n, unsigned char **dstBufs, unsigned long *dstSizes, tjtransform *transforms, int flags):&#160;turbojpeg.h'],['../group___turbo_j_p_e_g.html#gaa29f3189c41be12ec5dee7caec318a31',1,'tjtransform():&#160;turbojpeg.h']]],

Completed in 1254 milliseconds