Searched refs:jpegSize (Results 1 – 2 of 2) sorted by relevance
250 size_t jpegSize = findJpegSize(imgBuffer.data, imgBuffer.width); in processNewCapture() local251 if (jpegSize == 0) { // failed to find size, default to whole buffer in processNewCapture()252 jpegSize = imgBuffer.width; in processNewCapture()255 if (jpegSize > heapSize) { in processNewCapture()258 __FUNCTION__, jpegSize, heapSize); in processNewCapture()259 jpegSize = heapSize; in processNewCapture()263 captureBuffer = new MemoryBase(mCaptureHeap, 0, jpegSize); in processNewCapture()265 memcpy(captureMemory, imgBuffer.data, jpegSize); in processNewCapture()
560 Size jpegSize = sizeIterator.next(); in calculatePictureSize() local565 configuredJpegSizes.add(jpegSize); in calculatePictureSize()577 for (Size jpegSize : configuredJpegSizes) { in calculatePictureSize()578 maxConfiguredJpegWidth = jpegSize.getWidth() > maxConfiguredJpegWidth ? in calculatePictureSize()579 jpegSize.getWidth() : maxConfiguredJpegWidth; in calculatePictureSize()580 maxConfiguredJpegHeight = jpegSize.getHeight() > maxConfiguredJpegHeight ? in calculatePictureSize()581 jpegSize.getHeight() : maxConfiguredJpegHeight; in calculatePictureSize()