/external/chromium_org/third_party/libjpeg_turbo/ |
turbojpeg.h | 542 * If you choose option 1, <tt>*jpegSize</tt> should be set to the 546 * @param jpegSize pointer to an unsigned long variable that holds the size of 548 * pre-allocated buffer, then <tt>*jpegSize</tt> should be set to the 549 * size of the buffer. Upon return, <tt>*jpegSize</tt> will contain the 563 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags); 668 * @param jpegSize size of the JPEG image (in bytes) 680 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height, 702 * @param jpegSize size of the JPEG image (in bytes) 741 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, 760 * @param jpegSize size of the JPEG image (in bytes [all...] |
turbojpeg-jni.c | 104 unsigned long jpegSize=0; 120 jpegSize=tjBufSize(width, height, jpegSubsamp); 121 if((*env)->GetArrayLength(env, dst)<(jsize)jpegSize) 128 pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, jpegQual, 140 return (jint)jpegSize; 159 unsigned long jpegSize=0; 177 jpegSize=tjBufSize(width, height, jpegSubsamp); 178 if((*env)->GetArrayLength(env, dst)<(jsize)jpegSize) 185 stride*sizeof(jint), height, pf, &jpegBuf, &jpegSize, jpegSubsamp, 197 return (jint)jpegSize; [all...] |
turbojpeg.c | 576 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) 588 || pixelFormat>=TJ_NUMPF || jpegBuf==NULL || jpegSize==NULL 620 alloc=0; *jpegSize=tjBufSize(width, height, jpegSubsamp); 622 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); 652 unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) 667 *jpegSize=size; 879 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height, 888 if(jpegBuf==NULL || jpegSize<=0 || width==NULL || height==NULL 898 jpeg_mem_src_tj(dinfo, jpegBuf, jpegSize); 917 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height [all...] |
tjunittest.c | 320 void writeJPEG(unsigned char *jpegBuf, unsigned long jpegSize, char *filename) 323 if(!file || fwrite(jpegBuf, jpegSize, 1, file)!=1) 394 unsigned long jpegSize, int w, int h, int pf, char *basename, int subsamp, 416 _tj(tjDecompressHeader2(handle, jpegBuf, jpegSize, &_hdrw, &_hdrh, 430 _tj(tjDecompressToYUV(handle, jpegBuf, jpegSize, dstBuf, flags)); 434 _tj(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, 458 unsigned long jpegSize, int w, int h, int pf, char *basename, int subsamp, 468 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp, 472 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp, flags,
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
JpegProcessor.cpp | 249 size_t jpegSize = findJpegSize(imgBuffer.data, imgBuffer.width); 250 if (jpegSize == 0) { // failed to find size, default to whole buffer 251 jpegSize = imgBuffer.width; 254 if (jpegSize > heapSize) { 257 __FUNCTION__, jpegSize, heapSize); 258 jpegSize = heapSize; 262 captureBuffer = new MemoryBase(mCaptureHeap, 0, jpegSize); 264 memcpy(captureMemory, imgBuffer.data, jpegSize);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
RequestThreadManager.java | 544 Size jpegSize = sizeIterator.next(); 549 configuredJpegSizes.add(jpegSize); 561 for (Size jpegSize : configuredJpegSizes) { 562 maxConfiguredJpegWidth = jpegSize.getWidth() > maxConfiguredJpegWidth ? 563 jpegSize.getWidth() : maxConfiguredJpegWidth; 564 maxConfiguredJpegHeight = jpegSize.getHeight() > maxConfiguredJpegHeight ? 565 jpegSize.getHeight() : maxConfiguredJpegHeight; [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
StillCaptureTest.java | [all...] |
CaptureResultTest.java | 274 Size jpegSize = mOrderedStillSizes.get(0); 279 jpegReader = makeImageReader(jpegSize, ImageFormat.JPEG, [all...] |
/hardware/samsung_slsi/exynos5/libcamera2/ |
ExynosCameraHWInterface2.cpp | [all...] |