/frameworks/av/camera/ndk/ |
D | NdkCameraMetadata.cpp | 145 /*out*/size_t* numPhysicalCameras, /*out*/const char*const** physicalCameraIds) { in ACameraMetadata_isLogicalMultiCamera() argument 147 if (numPhysicalCameras == nullptr || physicalCameraIds == nullptr) { in ACameraMetadata_isLogicalMultiCamera() 149 __FUNCTION__, numPhysicalCameras, physicalCameraIds); in ACameraMetadata_isLogicalMultiCamera() 157 return staticMetadata->isLogicalMultiCamera(numPhysicalCameras, physicalCameraIds); in ACameraMetadata_isLogicalMultiCamera()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | SessionConfigurationUtils.cpp | 25 metadataGetter getMetadata, const std::vector<std::string> &physicalCameraIds, in convertToHALStreamCombination() argument 30 deviceInfo, getMetadata, physicalCameraIds, streamConfiguration, earlyExit); in convertToHALStreamCombination()
|
D | SessionConfigurationUtils.h | 41 metadataGetter getMetadata, const std::vector<std::string> &physicalCameraIds,
|
/frameworks/av/camera/ndk/ndk_vendor/tests/ |
D | AImageReaderVendorTest.cpp | 305 const char** physicalCameraIds, const ACameraMetadata** physicalResults) { in __anon511359ea0302() 310 ASSERT_TRUE(physicalCameraIds[i] != nullptr); in __anon511359ea0302() 313 ch->mPhysicalCameraIds.end(), physicalCameraIds[i]), in __anon511359ea0302() 696 const char*const* physicalCameraIds = nullptr; in findCandidateLogicalCamera() local 698 &physicalCameraIdCnt, &physicalCameraIds); in findCandidateLogicalCamera() 704 ASSERT_GT(strlen(physicalCameraIds[j]), 0); in findCandidateLogicalCamera() 706 mCameraManager, physicalCameraIds[j], &physicalCameraMetadata); in findCandidateLogicalCamera() 712 candidatePhysicalIds->push_back(physicalCameraIds[j]); in findCandidateLogicalCamera() 731 std::vector<const char*> physicalCameraIds; in testLogicalCameraPhysicalStream() local 733 findCandidateLogicalCamera(&cameraId, &staticMetadata, &physicalCameraIds); in testLogicalCameraPhysicalStream() [all …]
|
D | ACameraManagerTest.cpp | 211 const char *const* physicalCameraIds = nullptr; in TEST_F() local 213 chars, &physicalCameraCnt, &physicalCameraIds)) { in TEST_F() 218 physicalCameraIdPairs.emplace(cameraId, physicalCameraIds[j]); in TEST_F()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | InFlightRequest.h | 101 std::set<String8> physicalCameraIds; member 157 physicalCameraIds(physicalCameraIdSet),
|
D | Camera3OutputUtils.cpp | 543 if (request.physicalCameraIds.size() != result->num_physcam_metadata) { in processCaptureResult() 545 request.physicalCameraIds.size(), result->num_physcam_metadata); in processCaptureResult() 556 request.physicalCameraIds.find(physicalId); in processCaptureResult() 557 if (cameraIdIter != request.physicalCameraIds.end()) { in processCaptureResult() 558 request.physicalCameraIds.erase(cameraIdIter); in processCaptureResult() 1035 auto iter = r.physicalCameraIds.find(cameraId); in notifyError() 1036 if (iter == r.physicalCameraIds.end()) { in notifyError() 1042 r.physicalCameraIds.erase(iter); in notifyError()
|
D | Camera3Device.h | 1022 bool callback, nsecs_t maxExpectedDuration, std::set<String8>& physicalCameraIds,
|
D | Camera3Device.cpp | 139 std::vector<std::string> physicalCameraIds; in initialize() local 140 bool isLogical = manager->isLogicalCamera(mId.string(), &physicalCameraIds); in initialize() 142 for (auto& physicalId : physicalCameraIds) { in initialize() 2777 std::set<String8>& physicalCameraIds, bool isStillCapture, in registerInFlight() argument 2785 hasAppCallback, maxExpectedDuration, physicalCameraIds, isStillCapture, isZslCapture, in registerInFlight()
|
/frameworks/av/camera/ndk/include/camera/ |
D | NdkCameraMetadata.h | 259 /*out*/size_t* numPhysicalCameras, /*out*/const char* const** physicalCameraIds)
|
D | NdkCameraCaptureSession.h | 676 size_t physicalResultCount, const char** physicalCameraIds,
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraMetadata.cpp | 451 ACameraMetadata::isLogicalMultiCamera(size_t* count, const char*const** physicalCameraIds) const { in isLogicalMultiCamera() 456 if (count == nullptr || physicalCameraIds == nullptr) { in isLogicalMultiCamera() 458 count, physicalCameraIds); in isLogicalMultiCamera() 464 *physicalCameraIds = mStaticPhysicalCameraIds.data(); in isLogicalMultiCamera()
|
D | ACameraMetadata.h | 78 bool isLogicalMultiCamera(size_t* count, const char* const** physicalCameraIds) const;
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.h | 214 metadataGetter getMetadata, const std::vector<std::string> &physicalCameraIds, 315 static binder::Status checkPhysicalCameraId(const std::vector<std::string> &physicalCameraIds,
|
D | CameraDeviceClient.cpp | 576 const std::vector<std::string> &physicalCameraIds, const String8 &physicalCameraId, in checkPhysicalCameraId() argument 581 if (std::find(physicalCameraIds.begin(), physicalCameraIds.end(), in checkPhysicalCameraId() 582 physicalCameraId.string()) == physicalCameraIds.end()) { in checkPhysicalCameraId() 649 metadataGetter getMetadata, const std::vector<std::string> &physicalCameraIds, in convertToHALStreamCombination() argument 708 res = checkPhysicalCameraId(physicalCameraIds, physicalCameraId, in convertToHALStreamCombination() 822 std::vector<std::string> physicalCameraIds; in isSessionConfigurationSupported() local 823 mProviderManager->isLogicalCamera(mCameraIdStr.string(), &physicalCameraIds); in isSessionConfigurationSupported() 825 mDevice->info(), getMetadata, physicalCameraIds, streamConfiguration, &earlyExit); in isSessionConfigurationSupported() 982 std::vector<std::string> physicalCameraIds; in createStream() local 983 mProviderManager->isLogicalCamera(mCameraIdStr.string(), &physicalCameraIds); in createStream() [all …]
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.cpp | 1143 std::vector<std::string>* physicalCameraIds) { in isLogicalCameraLocked() argument 1147 if (deviceInfo->mIsLogicalCamera && physicalCameraIds != nullptr) { in isLogicalCameraLocked() 1148 *physicalCameraIds = deviceInfo->mPhysicalIds; in isLogicalCameraLocked() 1154 std::vector<std::string>* physicalCameraIds) { in isLogicalCamera() argument 1156 return isLogicalCameraLocked(id, physicalCameraIds); in isLogicalCamera() 2892 std::vector<std::string> physicalCameraIds; in convertToHALStreamCombinationAndCameraIdsLocked() local 2893 isLogicalCameraLocked(cameraIdAndSessionConfig.mCameraId, &physicalCameraIds); in convertToHALStreamCombinationAndCameraIdsLocked() 2898 physicalCameraIds, streamConfiguration, &shouldExit); in convertToHALStreamCombinationAndCameraIdsLocked()
|
D | CameraProviderManager.h | 318 bool isLogicalCamera(const std::string& id, std::vector<std::string>* physicalCameraIds); 649 bool isLogicalCameraLocked(const std::string& id, std::vector<std::string>* physicalCameraIds);
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraDevice.cpp | 1103 std::vector<std::string> physicalCameraIds; in onMessageReceived() local 1106 physicalCameraIds.push_back(physicalResultInfo[i].physicalCameraId); in onMessageReceived() 1118 physicalCameraIdPtrs.push_back(physicalCameraIds[i].c_str()); in onMessageReceived()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 3899 std::vector<std::string> physicalCameraIds; in notifyPhysicalCameraStatusLocked() local 3900 if (!mCameraProviderManager->isLogicalCamera(state.first.c_str(), &physicalCameraIds)) { in notifyPhysicalCameraStatusLocked() 3904 if (std::find(physicalCameraIds.begin(), physicalCameraIds.end(), cameraId.c_str()) in notifyPhysicalCameraStatusLocked() 3905 == physicalCameraIds.end()) { in notifyPhysicalCameraStatusLocked()
|