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()
517 Size jpegSize = LegacyCameraDevice.getSurfaceSize(callbackSurface); in calculatePictureSize() local518 configuredJpegSizes.add(jpegSize); in calculatePictureSize()533 for (Size jpegSize : configuredJpegSizes) { in calculatePictureSize()534 maxConfiguredJpegWidth = jpegSize.getWidth() > maxConfiguredJpegWidth ? in calculatePictureSize()535 jpegSize.getWidth() : maxConfiguredJpegWidth; in calculatePictureSize()536 maxConfiguredJpegHeight = jpegSize.getHeight() > maxConfiguredJpegHeight ? in calculatePictureSize()537 jpegSize.getHeight() : maxConfiguredJpegHeight; in calculatePictureSize()