Home
last modified time | relevance | path

Searched refs:jpegSize (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp258 size_t jpegSize = findJpegSize(imgBuffer.data, imgBuffer.width); in processNewCapture() local
259 if (jpegSize == 0) { // failed to find size, default to whole buffer in processNewCapture()
260 jpegSize = imgBuffer.width; in processNewCapture()
263 if (jpegSize > heapSize) { in processNewCapture()
266 __FUNCTION__, jpegSize, heapSize); in processNewCapture()
267 jpegSize = heapSize; in processNewCapture()
271 captureBuffer = new MemoryBase(mCaptureHeap, 0, jpegSize); in processNewCapture()
273 memcpy(captureMemory, imgBuffer.data, jpegSize); in processNewCapture()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java590 Size jpegSize = sizeIterator.next(); in calculatePictureSize() local
595 configuredJpegSizes.add(jpegSize); in calculatePictureSize()
607 for (Size jpegSize : configuredJpegSizes) { in calculatePictureSize()
608 maxConfiguredJpegWidth = jpegSize.getWidth() > maxConfiguredJpegWidth ? in calculatePictureSize()
609 jpegSize.getWidth() : maxConfiguredJpegWidth; in calculatePictureSize()
610 maxConfiguredJpegHeight = jpegSize.getHeight() > maxConfiguredJpegHeight ? in calculatePictureSize()
611 jpegSize.getHeight() : maxConfiguredJpegHeight; in calculatePictureSize()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp257 auto jpegSize = android::camera2::JpegProcessor::findJpegSize(inputFrame.jpegBuffer.data, in processInputFrame() local
259 if (jpegSize == 0) { in processInputFrame()
261 jpegSize = inputFrame.jpegBuffer.width; in processInputFrame()
268 maxDepthJpegSize = std::max<size_t> (jpegSize, in processInputFrame()
316 depthPhoto.mMainJpegSize = jpegSize; in processInputFrame()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2RecordingTest.java612 for (Size jpegSize : mOrderedStillSizes) { in videoSnapshotTestByCamera()
613 Long jpegFrameDuration = minFrameDurationMap.get(jpegSize); in videoSnapshotTestByCamera()
614 assertTrue("Cannot find minimum frame duration for jpeg size " + jpegSize, in videoSnapshotTestByCamera()
617 videoSnapshotSz = jpegSize; in videoSnapshotTestByCamera()
620 if (jpegSize.equals(videoSz)) { in videoSnapshotTestByCamera()
DCamera2StillCaptureTest.java582 private static void validateJpegCapture(Image image, Size jpegSize) { in validateJpegCapture() argument
583 CameraTestUtils.validateImage(image, jpegSize.getWidth(), jpegSize.getHeight(), in validateJpegCapture()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java2005 private static void verifyJpegExifExtraTags(ExifInterface exif, Size jpegSize, in verifyJpegExifExtraTags() argument
2065 collector.expectEquals("Exif size should match jpeg capture size", jpegSize, exifSize); in verifyJpegExifExtraTags()