Home
last modified time | relevance | path

Searched refs:captureResult (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/camera/tests/fuzzer/
Dcamera_captureResult_fuzzer.cpp42 CaptureResult* captureResult = new CaptureResult(); in LLVMFuzzerTestOneInput() local
45 captureResult->mMetadata = CameraMetadata(); in LLVMFuzzerTestOneInput()
48 captureResult->mResultExtras = CaptureResultExtras(); in LLVMFuzzerTestOneInput()
49 captureResult->mResultExtras.errorPhysicalCameraId = fdp.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
50 captureResult->mResultExtras.isValid(); in LLVMFuzzerTestOneInput()
51 invokeReadWriteNullParcel<CaptureResultExtras>(&(captureResult->mResultExtras)); in LLVMFuzzerTestOneInput()
56 captureResult->mPhysicalMetadatas.push_back(PhysicalCaptureResultInfo()); in LLVMFuzzerTestOneInput()
60 invokeReadWriteNullParcel<CaptureResult>(captureResult); in LLVMFuzzerTestOneInput()
61 invokeReadWriteParcel<CaptureResult>(captureResult); in LLVMFuzzerTestOneInput()
62 CaptureResult captureResult2(*captureResult); in LLVMFuzzerTestOneInput()
[all …]
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/
DCaptureResultImageMatcher.java89 public void setCameraCaptureCallback(@NonNull TotalCaptureResult captureResult) { in setCameraCaptureCallback() argument
90 setCameraCaptureCallback(captureResult, 0); in setCameraCaptureCallback()
93 public void setCameraCaptureCallback(@NonNull TotalCaptureResult captureResult, in setCameraCaptureCallback() argument
100 long timestamp = getTimeStampFromCaptureResult(captureResult); in setCameraCaptureCallback()
103 mPendingImageInfos.put(timestamp, captureResult); in setCameraCaptureCallback()
104 mCaptureStageIdMap.put(captureResult, captureStageId); in setCameraCaptureCallback()
110 private long getTimeStampFromCaptureResult(TotalCaptureResult captureResult) { in getTimeStampFromCaptureResult() argument
111 Long timestamp = captureResult.get(CaptureResult.SENSOR_TIMESTAMP); in getTimeStampFromCaptureResult()
181 TotalCaptureResult captureResult = mPendingImageInfos.valueAt(i); in matchImages() local
182 long timestamp = getTimeStampFromCaptureResult(captureResult); in matchImages()
[all …]
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DCaptureResultWrapper.java43 public CaptureResultWrapper(CaptureResult captureResult) { in CaptureResultWrapper() argument
44 mCameraId = captureResult.getCameraId(); in CaptureResultWrapper()
45 mResults = captureResult.getNativeMetadata(); in CaptureResultWrapper()
46 mRequest = captureResult.getRequest(); in CaptureResultWrapper()
47 mSequenceId = captureResult.getSequenceId(); in CaptureResultWrapper()
48 mFrameNumber = captureResult.getFrameNumber(); in CaptureResultWrapper()
DCaptureBundle.aidl25 CameraMetadataWrapper captureResult;
/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/
DImageCaptureExtenderImplStub.java81 TotalCaptureResult captureResult =
82 captureBundle.captureResult.toTotalCaptureResult();
87 Long shutterTimestamp = captureResult.get(CaptureResult.SENSOR_TIMESTAMP);
90 if (captureResult.get(key) != null) {
91 cameraMetadataWrapper.set(key, captureResult.get(key));
116 captureResult.get(CaptureResult.SENSOR_TIMESTAMP);
DSimpleSessionProcessorStub.java204 CaptureResult captureResult = partialResult.toCaptureResult(); in startTrigger() local
210 TotalCaptureResult captureResult = totalCaptureResult.toTotalCaptureResult(); in startTrigger() local
212 notifyOnCaptureCompleted(captureSequenceId, captureResult, captureCallback); in startTrigger()
273 CaptureResult captureResult = partialResult.toCaptureResult(); in startRepeating() local
279 TotalCaptureResult captureResult = totalCaptureResult.toTotalCaptureResult(); in startRepeating() local
281 notifyOnCaptureCompleted(captureSequenceId, captureResult, captureCallback); in startRepeating()
346 TotalCaptureResult captureResult = totalCaptureResultWrapper.toTotalCaptureResult(); in startCapture() local
348 notifyOnCaptureCompleted(captureSequenceId, captureResult, captureCallback); in startCapture()
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraRenderThread.cc551 CaptureResult captureResult; in processTask() local
552 captureResult.fmqResultSize = 0; in processTask()
553 captureResult.frameNumber = request.getFrameNumber(); in processTask()
555 captureResult.partialResult = 1; in processTask()
556 captureResult.inputBuffer.streamId = -1; in processTask()
557 captureResult.physicalCameraMetadata.resize(0); in processTask()
558 captureResult.result = createCaptureResultMetadata( in processTask()
562 captureResult.outputBuffers.resize(buffers.size()); in processTask()
566 StreamBuffer& resBuffer = captureResult.outputBuffers[i]; in processTask()
582 captureResult.result, request.getRequestSettings(), in processTask()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputUtils.cpp260 CaptureResult captureResult; in sendPartialCaptureResult() local
261 captureResult.mResultExtras = resultExtras; in sendPartialCaptureResult()
262 captureResult.mMetadata = partialResult; in sendPartialCaptureResult()
265 status_t res = fixupMonochromeTags(states, states.deviceInfo, captureResult.mMetadata); in sendPartialCaptureResult()
291 captureResult.mMetadata.erase(key); in sendPartialCaptureResult()
295 if (captureResult.mMetadata.entryCount() > 0) { in sendPartialCaptureResult()
296 insertResultLocked(states, &captureResult, frameNumber); in sendPartialCaptureResult()
342 CaptureResult captureResult; in sendCaptureResult() local
343 captureResult.mResultExtras = resultExtras; in sendCaptureResult()
344 captureResult.mMetadata = pendingMetadata; in sendCaptureResult()
[all …]
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/serviceforward/
DForwardImageCaptureExtender.java317 TotalCaptureResult captureResult = cameraMetadataWrapper.toTotalCaptureResult(); in getAvailableCaptureResultKeys() local
319 for (CaptureResult.Key<?> key : captureResult.getKeys()) { in getAvailableCaptureResultKeys()
352 bundle.captureResult = in process()
365 TotalCaptureResult captureResult = result.toTotalCaptureResult(); in process()
366 for (CaptureResult.Key<?> key : captureResult.getKeys()) { in process()
367 resultList.add(new Pair(key, captureResult.get(key))); in process()
DForwardPreviewExtender.java267 TotalCaptureResult captureResult = result.toTotalCaptureResult(); in process()
268 for (CaptureResult.Key<?> key : captureResult.getKeys()) { in process()
269 resultList.add(new Pair(key, captureResult.get(key))); in process()
DForwardSessionProcessor.java328 TotalCaptureResult captureResult = cameraMetadataWrapper.toTotalCaptureResult(); in onCaptureCompleted() local
331 for (CaptureResult.Key key : captureResult.getKeys()) { in onCaptureCompleted()
332 resultmap.put(key, captureResult.get(key)); in onCaptureCompleted()
DForwardAdvancedExtender.java265 TotalCaptureResult captureResult = cameraMetadataWrapper.toTotalCaptureResult(); in getAvailableCaptureResultKeys() local
268 for (CaptureResult.Key<?> key : captureResult.getKeys()) { in getAvailableCaptureResultKeys()
/frameworks/av/services/camera/libcameraservice/tests/
DDistortionMapperTest.cpp113 CameraMetadata captureResult; in TEST() local
115 ASSERT_NE(m.updateCalibration(captureResult), OK); in TEST()
117 captureResult.update(ANDROID_LENS_INTRINSIC_CALIBRATION, in TEST()
119 captureResult.update(ANDROID_LENS_DISTORTION, in TEST()
122 ASSERT_EQ(m.updateCalibration(captureResult), OK); in TEST()
/frameworks/base/core/java/android/hardware/camera2/extension/
DCaptureBundle.aidl26 CameraMetadataNative captureResult;
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionJpegProcessor.java103 Byte jpegQuality = captureBundles.get(0).captureResult.get(CaptureResult.JPEG_QUALITY); in getJpegParameters()
110 Integer orientation = captureBundles.get(0).captureResult.get( in getJpegParameters()
120 Long timeStamp = bundle.captureResult.get(CaptureResult.SENSOR_TIMESTAMP); in getJpegParameters()
DCameraExtensionSessionImpl.java2168 bundle.captureResult = entry.second.getNativeMetadata(); in initializeParcelable()
2170 bundle.captureResult.set(CaptureResult.JPEG_ORIENTATION, jpegOrientation); in initializeParcelable()
2173 bundle.captureResult.set(CaptureResult.JPEG_QUALITY, jpegQuality); in initializeParcelable()
/frameworks/av/camera/include/camera/
DCaptureResult.h182 CaptureResult(CaptureResult &&captureResult);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java1298 CaptureResult captureResult = new CaptureResult(mMetadata, /*sequenceId*/0); in testCaptureResult() local
1300 List<CaptureResult.Key<?>> allKeys = captureResult.getKeys(); in testCaptureResult()
1302 for (CaptureResult.Key<?> key : captureResult.getKeys()) { in testCaptureResult()
1305 "testCaptureResult: key " + key + " value" + captureResult.get(key)); in testCaptureResult()
1313 (int)captureResult.get(CaptureResult.CONTROL_AE_MODE)); in testCaptureResult()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1850 public static void verifyJpegKeys(Image image, CaptureResult captureResult, Size expectedSize, in verifyJpegKeys() argument
1871 Size resultThumbnailSize = captureResult.get(CaptureResult.JPEG_THUMBNAIL_SIZE); in verifyJpegKeys()
1888 if (collector.expectKeyValueNotNull(captureResult, CaptureResult.JPEG_GPS_LOCATION) != in verifyJpegKeys()
1892 captureResult.get(CaptureResult.JPEG_GPS_LOCATION))); in verifyJpegKeys()
1896 captureResult.get(CaptureResult.JPEG_ORIENTATION)); in verifyJpegKeys()
1898 expectedExifData.jpegQuality, captureResult.get(CaptureResult.JPEG_QUALITY)); in verifyJpegKeys()
1901 captureResult.get(CaptureResult.JPEG_THUMBNAIL_QUALITY)); in verifyJpegKeys()
1905 verifyJpegExifExtraTags(exif, expectedSize, captureResult, staticInfo, collector); in verifyJpegKeys()
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/
DCameraExtensionsProxyService.java2321 new TotalCaptureResult(captureBundle.captureResult,