/frameworks/av/camera/tests/fuzzer/ |
D | camera_c2CaptureRequest_fuzzer.cpp | 37 sp<CaptureRequest> captureRequest = new CaptureRequest(); in LLVMFuzzerTestOneInput() local 59 captureRequest->mPhysicalCameraSettings.push_back({id, cameraMetadata}); in LLVMFuzzerTestOneInput() 65 captureRequest->mIsReprocess = fdp.ConsumeBool(); in LLVMFuzzerTestOneInput() 67 parcelCamCaptureReq.writeInt32(captureRequest->mIsReprocess); in LLVMFuzzerTestOneInput() 70 captureRequest->mSurfaceConverted = fdp.ConsumeBool(); in LLVMFuzzerTestOneInput() 71 if (fdp.ConsumeBool() && captureRequest->mSurfaceConverted) { in LLVMFuzzerTestOneInput() 76 if (!captureRequest->mSurfaceConverted) { in LLVMFuzzerTestOneInput() 91 captureRequest->mSurfaceList.push_back(surface); in LLVMFuzzerTestOneInput() 113 captureRequest->mStreamIdxList.push_back(streamIdx); in LLVMFuzzerTestOneInput() 114 captureRequest->mSurfaceIdxList.push_back(surfaceIdx); in LLVMFuzzerTestOneInput() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Device.cpp | 3517 nextRequest.captureRequest->mSettingsList.begin()->metadata.unlock( in updateNextRequest() 3521 cleanupPhysicalSettings(nextRequest.captureRequest, &halRequest); in updateNextRequest() 3603 captureRequest->mSettingsList.begin()->metadata.find(ANDROID_REQUEST_ID); in threadLoop() 3613 sp<CaptureRequest> captureRequest = nextRequest.captureRequest; in threadLoop() local 3614 captureRequest->mTestPatternChanged = overrideTestPattern(captureRequest); in threadLoop() 3619 captureRequest->mRotateAndCropChanged = in threadLoop() 3621 false : overrideAutoRotateAndCrop(captureRequest); in threadLoop() 3622 captureRequest->mAutoframingChanged = overrideAutoframing(captureRequest); in threadLoop() 3624 injectSessionParams(captureRequest, mInjectedSessionParams); in threadLoop() 3632 if (updateSessionParameters(mNextRequests[0].captureRequest->mSettingsList.begin()->metadata)) { in threadLoop() [all …]
|
D | Camera3Device.h | 1082 sp<CaptureRequest> captureRequest; member
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | utils.cpp | 28 AidlCaptureRequest convertToAidl(const CaptureRequest *captureRequest) { in convertToAidl() argument 31 captureRequest->mCaptureRequest.physicalCameraSettings; in convertToAidl() 32 aidlCaptureRequest.streamAndWindowIds = captureRequest->mCaptureRequest.streamAndWindowIds; in convertToAidl()
|
D | utils.h | 54 AidlCaptureRequest convertToAidl(const CaptureRequest *captureRequest);
|
/frameworks/base/core/java/android/hardware/camera2/extension/ |
D | SessionProcessor.java | 342 public abstract void setParameters(@NonNull CaptureRequest captureRequest); in setParameters() argument 361 public abstract int startTrigger(@NonNull CaptureRequest captureRequest, in startTrigger() argument 454 public void setParameters(CaptureRequest captureRequest) throws RemoteException { in setParameters() argument 455 SessionProcessor.this.setParameters(captureRequest); in setParameters() 459 public int startTrigger(CaptureRequest captureRequest, ICaptureCallback callback) in startTrigger() argument 461 return SessionProcessor.this.startTrigger(captureRequest, in startTrigger()
|
D | ISessionProcessorImpl.aidl | 42 void setParameters(in CaptureRequest captureRequest); in setParameters() argument 43 int startTrigger(in CaptureRequest captureRequest, in ICaptureCallback callback); in startTrigger() argument
|
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/ |
D | ISessionProcessorImpl.aidl | 36 void setParameters(in CaptureRequest captureRequest); in setParameters() argument 37 int startTrigger(in CaptureRequest captureRequest, in ICaptureCallback callback); in startTrigger() argument
|
/frameworks/hardware/interfaces/cameraservice/vts/functional/ |
D | VtsAidlCameraServiceTargetTest.cpp | 325 static void initializeCaptureRequestPartial(CaptureRequest* captureRequest, int32_t streamId, in initializeCaptureRequestPartial() argument 327 captureRequest->physicalCameraSettings.resize(1); in initializeCaptureRequestPartial() 328 captureRequest->physicalCameraSettings[0].id = cameraId; in initializeCaptureRequestPartial() 329 captureRequest->streamAndWindowIds.resize(1); in initializeCaptureRequestPartial() 330 captureRequest->streamAndWindowIds[0].streamId = streamId; in initializeCaptureRequestPartial() 331 captureRequest->streamAndWindowIds[0].windowId = 0; in initializeCaptureRequestPartial() 333 captureRequest->physicalCameraSettings[0] in initializeCaptureRequestPartial() 502 CaptureRequest& captureRequest = captureRequests[i]; in BasicCameraTests() local 503 initializeCaptureRequestPartial(&captureRequest, streamId, it.cameraId, in BasicCameraTests() 522 CaptureRequest captureRequest; in BasicCameraTests() local [all …]
|
D | VtsHalCameraServiceV2_0TargetTest.cpp | 317 void initializeCaptureRequestPartial(CaptureRequest* captureRequest, int32_t streamId, in initializeCaptureRequestPartial() argument 319 captureRequest->physicalCameraSettings.resize(1); in initializeCaptureRequestPartial() 320 captureRequest->physicalCameraSettings[0].id = cameraId; in initializeCaptureRequestPartial() 321 captureRequest->streamAndWindowIds.resize(1); in initializeCaptureRequestPartial() 322 captureRequest->streamAndWindowIds[0].streamId = streamId; in initializeCaptureRequestPartial() 323 captureRequest->streamAndWindowIds[0].windowId = 0; in initializeCaptureRequestPartial() 325 captureRequest->physicalCameraSettings[0].settings.fmqMetadataSize(settingsSize); in initializeCaptureRequestPartial() 497 CaptureRequest& captureRequest = captureRequests[i]; in TEST_P() local 498 initializeCaptureRequestPartial(&captureRequest, streamId, it.cameraId, in TEST_P() 518 CaptureRequest captureRequest; in TEST_P() local [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/aidl/ |
D | AidlCamera3Device.cpp | 1266 camera::device::CaptureRequest* captureRequest; in processBatchCaptureRequests() local 1267 captureRequest = &captureRequests[i]; in processBatchCaptureRequests() 1273 captureRequest->settings.metadata.resize(0); in processBatchCaptureRequests() 1274 captureRequest->fmqSettingsSize = settingsSize; in processBatchCaptureRequests() 1283 captureRequest->settings.metadata.assign(settingsP, settingsP + settingsSize); in processBatchCaptureRequests() 1284 captureRequest->fmqSettingsSize = 0u; in processBatchCaptureRequests() 1288 captureRequest->settings.metadata.resize(0); in processBatchCaptureRequests() 1289 captureRequest->fmqSettingsSize = 0u; in processBatchCaptureRequests() 1292 captureRequest ->inputWidth = request->input_width; in processBatchCaptureRequests() 1293 captureRequest->inputHeight = request->input_height; in processBatchCaptureRequests() [all …]
|
D | AidlCamera3Device.h | 155 /*out*/aidl::android::hardware::camera::device::CaptureRequest* captureRequest,
|
/frameworks/av/services/camera/libcameraservice/device3/hidl/ |
D | HidlCamera3Device.cpp | 1355 /*out*/device::V3_2::CaptureRequest* captureRequest, in wrapAsHidlRequest() argument 1359 if (captureRequest == nullptr || handlesCreated == nullptr || inflightBuffers == nullptr) { in wrapAsHidlRequest() 1361 "must not be null", __FUNCTION__, captureRequest, handlesCreated, inflightBuffers); in wrapAsHidlRequest() 1365 captureRequest->frameNumber = request->frame_number; in wrapAsHidlRequest() 1367 captureRequest->fmqSettingsSize = 0; in wrapAsHidlRequest() 1376 captureRequest->inputBuffer.streamId = streamId; in wrapAsHidlRequest() 1377 captureRequest->inputBuffer.bufferId = bufferId; in wrapAsHidlRequest() 1378 captureRequest->inputBuffer.buffer = (isNewBuffer) ? buf : nullptr; in wrapAsHidlRequest() 1379 captureRequest->inputBuffer.status = BufferStatus::OK; in wrapAsHidlRequest() 1386 captureRequest->inputBuffer.acquireFence = acquireFence; in wrapAsHidlRequest() [all …]
|
/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/ |
D | SimpleSessionProcessorStub.java | 136 public void setParameters(CaptureRequest captureRequest) throws RemoteException { in setParameters() argument 139 for (CaptureRequest.Key<?> key : captureRequest.getKeys()) { in setParameters() 141 mParameters.put(key, captureRequest.get(key)); in setParameters() 171 public int startTrigger(CaptureRequest captureRequest, ICaptureCallback captureCallback) in startTrigger() argument 186 for (CaptureRequest.Key key : captureRequest.getKeys()) { in startTrigger() 188 requestBuilder.setParameter(key, captureRequest.get(key)); in startTrigger()
|
/frameworks/ex/camera2/extensions/eyesFreeVidSample/src/android/camera/extensions/impl/service/ |
D | EyesFreeVidSessionProcessor.java | 458 public int startTrigger(@NonNull CaptureRequest captureRequest, in startTrigger() argument 463 getTriggersRequestKeys(captureRequest), CameraDevice.TEMPLATE_PREVIEW); in startTrigger() 521 getTriggersRequestKeys(@NonNull CaptureRequest captureRequest) { in getTriggersRequestKeys() argument 526 for (CaptureRequest.Key<?> key : captureRequest.getKeys()) { in getTriggersRequestKeys() 528 Object value = captureRequest.get(key); in getTriggersRequestKeys() 538 public void setParameters(@NonNull CaptureRequest captureRequest) { in setParameters() argument 544 captureRequest.getKeys(); in setParameters() 547 Object value = captureRequest.get(key); in setParameters()
|
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/serviceforward/ |
D | RequestProcessorAdapter.java | 127 CaptureRequest captureRequest = mRequest.parameters.toCaptureRequest(); in getParameters() local 129 for (CaptureRequest.Key<?> key : captureRequest.getKeys()) { in getParameters() 130 parameters.put(key, captureRequest.get(key)); in getParameters()
|
D | ForwardSessionProcessor.java | 112 CaptureRequest captureRequest = sessionConfig.sessionParameter.toCaptureRequest(); in initSession() local 113 for (CaptureRequest.Key<?> key : captureRequest.getKeys()) { in initSession() 115 sessionConfigBuilder.addSessionParameter(objKey, captureRequest.get(objKey)); in initSession()
|
D | ForwardAdvancedExtender.java | 242 CaptureRequest captureRequest = cameraMetadataWrapper.toCaptureRequest(); in getAvailableCaptureRequestKeys() local 245 for (CaptureRequest.Key<?> key : captureRequest.getKeys()) { in getAvailableCaptureRequestKeys()
|
D | ForwardImageCaptureExtender.java | 292 CaptureRequest captureRequest = cameraMetadataWrapper.toCaptureRequest(); in getAvailableCaptureRequestKeys() local 294 for (CaptureRequest.Key<?> key : captureRequest.getKeys()) { in getAvailableCaptureRequestKeys()
|
/frameworks/av/services/camera/virtualcamera/ |
D | VirtualCameraSessionContext.cc | 54 captureRequest) { in importBuffersFromCaptureRequest() 57 for (const StreamBuffer& buffer : captureRequest.outputBuffers) { in importBuffersFromCaptureRequest()
|
D | VirtualCameraSessionContext.h | 61 captureRequest) EXCLUDES(mLock);
|
D | VirtualCameraSession.cc | 525 for (const auto& captureRequest : in_requests) { in processCaptureRequest() local 526 auto status = processCaptureRequest(captureRequest); in processCaptureRequest()
|
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/ |
D | CameraExtensionsProxyService.java | 1680 public void setParameters(CaptureRequest captureRequest) { 1682 for (CaptureRequest.Key captureRequestKey : captureRequest.getKeys()) { 1683 paramMap.put(captureRequestKey, captureRequest.get(captureRequestKey)); 1690 public int startTrigger(CaptureRequest captureRequest, ICaptureCallback callback) { 1692 for (CaptureRequest.Key captureRequestKey : captureRequest.getKeys()) { 1693 triggerMap.put(captureRequestKey, captureRequest.get(captureRequestKey));
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraExtensionSessionImpl.java | 751 CaptureRequest captureRequest = null; in capture() local 756 captureRequest = createRequest(mCameraDevice, captureStageList, in capture() 764 seqId = mCaptureSession.capture(captureRequest, new PreviewRequestHandler(request, in capture()
|