Searched refs:jpegSize (Results 1 – 2 of 2) sorted by relevance
249 size_t jpegSize = findJpegSize(imgBuffer.data, imgBuffer.width); in processNewCapture() local250 if (jpegSize == 0) { // failed to find size, default to whole buffer in processNewCapture()251 jpegSize = imgBuffer.width; in processNewCapture()254 if (jpegSize > heapSize) { in processNewCapture()257 __FUNCTION__, jpegSize, heapSize); in processNewCapture()258 jpegSize = heapSize; in processNewCapture()262 captureBuffer = new MemoryBase(mCaptureHeap, 0, jpegSize); in processNewCapture()264 memcpy(captureMemory, imgBuffer.data, jpegSize); in processNewCapture()
544 Size jpegSize = sizeIterator.next(); in calculatePictureSize() local549 configuredJpegSizes.add(jpegSize); in calculatePictureSize()561 for (Size jpegSize : configuredJpegSizes) { in calculatePictureSize()562 maxConfiguredJpegWidth = jpegSize.getWidth() > maxConfiguredJpegWidth ? in calculatePictureSize()563 jpegSize.getWidth() : maxConfiguredJpegWidth; in calculatePictureSize()564 maxConfiguredJpegHeight = jpegSize.getHeight() > maxConfiguredJpegHeight ? in calculatePictureSize()565 jpegSize.getHeight() : maxConfiguredJpegHeight; in calculatePictureSize()