Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp281 size_t jpegSize = findJpegSize(imgBuffer.data, imgBuffer.width); in processNewCapture() local
282 if (jpegSize == 0) { // failed to find size, default to whole buffer in processNewCapture()
283 jpegSize = imgBuffer.width; in processNewCapture()
286 if (jpegSize > heapSize) { in processNewCapture()
289 __FUNCTION__, jpegSize, heapSize); in processNewCapture()
290 jpegSize = heapSize; in processNewCapture()
294 captureBuffer = new MemoryBase(mCaptureHeap, 0, jpegSize); in processNewCapture()
296 memcpy(captureMemory, imgBuffer.data, jpegSize); in processNewCapture()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java572 Size jpegSize = sizeIterator.next(); in calculatePictureSize() local
577 configuredJpegSizes.add(jpegSize); in calculatePictureSize()
589 for (Size jpegSize : configuredJpegSizes) { in calculatePictureSize()
590 maxConfiguredJpegWidth = jpegSize.getWidth() > maxConfiguredJpegWidth ? in calculatePictureSize()
591 jpegSize.getWidth() : maxConfiguredJpegWidth; in calculatePictureSize()
592 maxConfiguredJpegHeight = jpegSize.getHeight() > maxConfiguredJpegHeight ? in calculatePictureSize()
593 jpegSize.getHeight() : maxConfiguredJpegHeight; in calculatePictureSize()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2RecordingTest.java608 for (Size jpegSize : mOrderedStillSizes) { in videoSnapshotTestByCamera()
609 Long jpegFrameDuration = minFrameDurationMap.get(jpegSize); in videoSnapshotTestByCamera()
610 assertTrue("Cannot find minimum frame duration for jpeg size " + jpegSize, in videoSnapshotTestByCamera()
613 videoSnapshotSz = jpegSize; in videoSnapshotTestByCamera()
616 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.java1933 private static void verifyJpegExifExtraTags(ExifInterface exif, Size jpegSize, in verifyJpegExifExtraTags() argument
1993 collector.expectEquals("Exif size should match jpeg capture size", jpegSize, exifSize); in verifyJpegExifExtraTags()