/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 | 189 unsigned long jpegSize=0; 205 jpegSize=tjBufSize(width, height, jpegSubsamp); 206 if((*env)->GetArrayLength(env, dst)<(jsize)jpegSize) 215 pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, jpegQual, 222 return (jint)jpegSize; 288 unsigned long jpegSize=0; 308 jpegSize=tjBufSize(width, height, subsamp); 309 if((*env)->GetArrayLength(env, dst)<(jsize)jpegSize) 340 subsamp, &jpegBuf, &jpegSize, jpegQual, flags|TJFLAG_NOREALLOC)==-1) 355 return (jint)jpegSize; [all...] |
turbojpeg.c | 733 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) 745 || pixelFormat>=TJ_NUMPF || jpegBuf==NULL || jpegSize==NULL 777 alloc=0; *jpegSize=tjBufSize(width, height, jpegSubsamp); 779 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); 810 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) 825 *jpegSize=size; 1046 unsigned char **jpegBuf, unsigned long *jpegSize, int jpegQual, int flags) 1064 || subsamp>=NUMSUBOPT || jpegBuf==NULL || jpegSize==NULL || jpegQual<0 1086 alloc=0; *jpegSize=tjBufSize(width, height, subsamp); 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) 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; 277 int[] jpegSize; 304 jpegSize = new int[ntilesw * ntilesh]; 343 jpegSize[tile] = tjc.getCompressedSize(); 344 totalJpegSize += jpegSize[tile]; 401 fos.write(jpegBuf[0], 0, jpegSize[0]); 409 decomp(srcBuf, jpegBuf, jpegSize, tmpBuf, w, h, subsamp, jpegQual, 421 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 | 684 Size jpegSize = getSortedSizesForFormat(cameraId, mCameraManager, ImageFormat.JPEG, 696 imageReaders.add(ImageReader.newInstance(jpegSize.getWidth(), jpegSize.getHeight(), [all...] |
CameraTestUtils.java | [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']]],
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
CameraTestUtils.java | [all...] |
/device/huawei/angler/camera/QCamera2/HAL3/ |
QCamera3HWI.cpp | [all...] |
/device/lge/bullhead/camera/QCamera2/HAL3/ |
QCamera3HWI.cpp | [all...] |
/hardware/qcom/camera/QCamera2/HAL3/ |
QCamera3HWI.cpp | [all...] |
/hardware/qcom/camera/msmcobalt/QCamera2/HAL3/ |
QCamera3HWI.cpp | [all...] |