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

  /external/libjpeg-turbo/
turbojpeg.h 650 * If you choose option 1, <tt>*jpegSize</tt> should be set to the size of your
655 * @param jpegSize pointer to an unsigned long variable that holds the size of
657 * buffer, then <tt>*jpegSize</tt> should be set to the size of the buffer.
658 * Upon return, <tt>*jpegSize</tt> will contain the size of the JPEG image (in
661 * <tt>*jpegSize</tt> is ignored.
677 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags);
718 * If you choose option 1, <tt>*jpegSize</tt> should be set to the size of your
723 * @param jpegSize pointer to an unsigned long variable that holds the size of
725 * buffer, then <tt>*jpegSize</tt> should be set to the size of the buffer.
726 * Upon return, <tt>*jpegSize</tt> will contain the size of the JPEG image (i
    [all...]
turbojpeg-jni.c 193 unsigned long jpegSize=0;
209 jpegSize=tjBufSize(width, height, jpegSubsamp);
210 if((*env)->GetArrayLength(env, dst)<(jsize)jpegSize)
219 pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, jpegQual,
226 return (jint)jpegSize;
292 unsigned long jpegSize=0;
313 jpegSize=tjBufSize(width, height, subsamp);
314 if((*env)->GetArrayLength(env, dst)<(jsize)jpegSize)
345 subsamp, &jpegBuf, &jpegSize, jpegQual, flags|TJFLAG_NOREALLOC)==-1)
360 return (jint)jpegSize;
    [all...]
turbojpeg.c 759 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags)
771 || pixelFormat>=TJ_NUMPF || jpegBuf==NULL || jpegSize==NULL
803 alloc=0; *jpegSize=tjBufSize(width, height, jpegSubsamp);
805 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc);
837 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags)
852 *jpegSize=size;
1075 int subsamp, unsigned char **jpegBuf, unsigned long *jpegSize, int jpegQual,
1094 || subsamp>=NUMSUBOPT || jpegBuf==NULL || jpegSize==NULL || jpegQual<0
1116 alloc=0; *jpegSize=tjBufSize(width, height, subsamp);
1118 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)
455 unsigned long jpegSize, int w, int h, int pf, char *basename, int subsamp,
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,
524 unsigned long jpegSize, int w, int h, int pf, char *basename, int subsamp,
538 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp,
  /external/libvncserver/common/
turbojpeg.h 333 * If you choose option 1, <tt>*jpegSize</tt> should be set to the
337 * @param jpegSize pointer to an unsigned long variable that holds the size of
339 * pre-allocated buffer, then <tt>*jpegSize</tt> should be set to the
340 * size of the buffer. Upon return, <tt>*jpegSize</tt> will contain the
354 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags);
395 * @param jpegSize size of the JPEG image (in bytes)
407 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height,
429 * @param jpegSize size of the JPEG image (in bytes)
467 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf,
514 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height)
    [all...]
turbojpeg.c 540 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags)
552 || pixelFormat>=TJ_NUMPF || jpegBuf==NULL || jpegSize==NULL
602 *jpegSize=tjBufSize(width, height, jpegSubsamp)
616 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags)
622 *jpegSize=size;
685 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height,
694 if(jpegBuf==NULL || jpegSize<=0 || width==NULL || height==NULL
704 this->jsrc.bytes_in_buffer=jpegSize;
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)
273 unsigned long jpegSize, int w, int h, int pf, char *basename, int subsamp,
288 _tj(tjDecompressHeader2(handle, jpegBuf, jpegSize, &_hdrw, &_hdrh,
299 _tj(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0,
314 unsigned long jpegSize, int w, int h, int pf, char *basename, int subsamp,
324 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp,
328 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp, flags,
382 unsigned long jpegSize=0;
400 jpegSize=tjBufSize(w, h, subsamp)
    [all...]
  /frameworks/av/services/camera/libcameraservice/api1/client2/
JpegProcessor.cpp 281 size_t jpegSize = findJpegSize(imgBuffer.data, imgBuffer.width);
282 if (jpegSize == 0) { // failed to find size, default to whole buffer
283 jpegSize = imgBuffer.width;
286 if (jpegSize > heapSize) {
289 __FUNCTION__, jpegSize, heapSize);
290 jpegSize = heapSize;
294 captureBuffer = new MemoryBase(mCaptureHeap, 0, jpegSize);
296 memcpy(captureMemory, imgBuffer.data, jpegSize);
  /external/libjpeg-turbo/java/
TJBench.java 133 static void decomp(byte[] srcBuf, byte[][] jpegBuf, int[] jpegSize,
174 tjd.setSourceImage(jpegBuf[tile], jpegSize[tile]);
200 jpegBuf = null; jpegSize = null;
279 int[] jpegSize;
306 jpegSize = new int[ntilesw * ntilesh];
345 jpegSize[tile] = tjc.getCompressedSize();
346 totalJpegSize += jpegSize[tile];
403 fos.write(jpegBuf[0], 0, jpegSize[0]);
411 decomp(srcBuf, jpegBuf, jpegSize, tmpBuf, w, h, subsamp, jpegQual,
423 int[] jpegSize = null
    [all...]
TJExample.java 321 int jpegSize;
332 jpegSize = tjc.getCompressedSize();
337 fos.write(jpegBuf, 0, jpegSize);
TJUnitTest.java 706 int jpegSize, int w, int h, int pf,
727 tjd.setSourceImage(jpegBuf, jpegSize);
788 int jpegSize, int w, int h, int pf,
801 decompTest(tjd, jpegBuf, jpegSize, w, h, pf, baseName, subsamp,
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
RequestThreadManager.java 572 Size jpegSize = sizeIterator.next();
577 configuredJpegSizes.add(jpegSize);
589 for (Size jpegSize : configuredJpegSizes) {
590 maxConfiguredJpegWidth = jpegSize.getWidth() > maxConfiguredJpegWidth ?
591 jpegSize.getWidth() : maxConfiguredJpegWidth;
592 maxConfiguredJpegHeight = jpegSize.getHeight() > maxConfiguredJpegHeight ?
593 jpegSize.getHeight() : maxConfiguredJpegHeight;
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
Camera2RecordingTest.java 608 for (Size jpegSize : mOrderedStillSizes) {
609 Long jpegFrameDuration = minFrameDurationMap.get(jpegSize);
610 assertTrue("Cannot find minimum frame duration for jpeg size " + jpegSize,
613 videoSnapshotSz = jpegSize;
616 if (jpegSize.equals(videoSz)) {
    [all...]
Camera2StillCaptureTest.java 580 * @param jpegSize The JPEG capture size to be verified against.
582 private static void validateJpegCapture(Image image, Size jpegSize) {
583 CameraTestUtils.validateImage(image, jpegSize.getWidth(), jpegSize.getHeight(),
  /cts/tests/camera/src/android/hardware/camera2/cts/
RecordingTest.java     [all...]
StillCaptureTest.java     [all...]
CaptureResultTest.java 291 Size jpegSize = mOrderedStillSizes.get(0);
296 jpegReader = makeImageReader(jpegSize, ImageFormat.JPEG,
    [all...]
CameraDeviceTest.java 801 Size jpegSize = getSortedSizesForFormat(cameraId, mCameraManager, ImageFormat.JPEG,
    [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']]],
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
CameraTestUtils.java     [all...]
  /cts/tests/camera/utils/src/android/hardware/camera2/cts/
CameraTestUtils.java     [all...]
  /device/google/marlin/camera/QCamera2/HAL3/
QCamera3HWI.cpp     [all...]
  /device/huawei/angler/camera/QCamera2/HAL3/
QCamera3HWI.cpp     [all...]
  /device/lge/bullhead/camera/QCamera2/HAL3/
QCamera3HWI.cpp     [all...]

Completed in 781 milliseconds