/frameworks/av/camera/ndk/ |
D | NdkCameraMetadata.cpp | 75 /*out*/size_t* numPhysicalCameras, /*out*/const char*const** physicalCameraIds) { in ACameraMetadata_isLogicalMultiCamera() argument 77 if (numPhysicalCameras == nullptr || physicalCameraIds == nullptr) { in ACameraMetadata_isLogicalMultiCamera() 79 __FUNCTION__, numPhysicalCameras, physicalCameraIds); in ACameraMetadata_isLogicalMultiCamera() 87 return staticMetadata->isLogicalMultiCamera(numPhysicalCameras, physicalCameraIds); in ACameraMetadata_isLogicalMultiCamera()
|
/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 …]
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraMetadata.cpp | 422 ACameraMetadata::isLogicalMultiCamera(size_t* count, const char*const** physicalCameraIds) const { in isLogicalMultiCamera() 427 if (count == nullptr || physicalCameraIds == nullptr) { in isLogicalMultiCamera() 429 count, physicalCameraIds); in isLogicalMultiCamera() 435 *physicalCameraIds = mStaticPhysicalCameraIds.data(); in isLogicalMultiCamera()
|
D | ACameraMetadata.h | 69 bool isLogicalMultiCamera(size_t* count, const char* const** physicalCameraIds) const;
|
D | ACameraDevice.cpp | 107 const char*const* physicalCameraIds; in CameraDevice() local 108 if (mChars->isLogicalMultiCamera(&physicalIdCnt, &physicalCameraIds)) { in CameraDevice() 110 mPhysicalIds.push_back(physicalCameraIds[i]); in CameraDevice() 1104 std::vector<std::string> physicalCameraIds; in onMessageReceived() local 1108 physicalCameraIds.push_back(physicalId8.c_str()); in onMessageReceived() 1121 physicalCameraIdPtrs.push_back(physicalCameraIds[i].c_str()); in onMessageReceived()
|
/frameworks/av/camera/ndk/include/camera/ |
D | NdkCameraMetadata.h | 254 /*out*/size_t* numPhysicalCameras, /*out*/const char* const** physicalCameraIds)
|
D | NdkCameraCaptureSession.h | 676 size_t physicalResultCount, const char** physicalCameraIds,
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Device.h | 1045 std::set<String8> physicalCameraIds; member 1089 physicalCameraIds(physicalCameraIdSet), 1108 bool callback, nsecs_t maxExpectedDuration, std::set<String8>& physicalCameraIds,
|
D | Camera3Device.cpp | 136 std::vector<std::string> physicalCameraIds; in initialize() local 137 bool isLogical = manager->isLogicalCamera(mId.string(), &physicalCameraIds); in initialize() 139 for (auto& physicalId : physicalCameraIds) { in initialize() 3122 std::set<String8>& physicalCameraIds, bool isStillCapture, in registerInFlight() argument 3129 hasAppCallback, maxExpectedDuration, physicalCameraIds, isStillCapture, isZslCapture, in registerInFlight() 3684 if (request.physicalCameraIds.size() != result->num_physcam_metadata) { in processCaptureResult() 3686 request.physicalCameraIds.size(), result->num_physcam_metadata); in processCaptureResult() 3697 request.physicalCameraIds.find(physicalId); in processCaptureResult() 3698 if (cameraIdIter != request.physicalCameraIds.end()) { in processCaptureResult() 3699 request.physicalCameraIds.erase(cameraIdIter); in processCaptureResult() [all …]
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.cpp | 541 std::vector<std::string> physicalCameraIds; in checkPhysicalCameraIdLocked() local 543 mProviderManager->isLogicalCamera(mCameraIdStr.string(), &physicalCameraIds); in checkPhysicalCameraIdLocked() 545 std::find(physicalCameraIds.begin(), physicalCameraIds.end(), in checkPhysicalCameraIdLocked() 546 physicalCameraId.string()) == physicalCameraIds.end()) { in checkPhysicalCameraIdLocked()
|
/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/common/ |
D | CameraProviderManager.h | 273 bool isLogicalCamera(const std::string& id, std::vector<std::string>* physicalCameraIds);
|
D | CameraProviderManager.cpp | 1047 std::vector<std::string>* physicalCameraIds) { in isLogicalCamera() argument 1053 if (deviceInfo->mIsLogicalCamera && physicalCameraIds != nullptr) { in isLogicalCamera() 1054 *physicalCameraIds = deviceInfo->mPhysicalIds; in isLogicalCamera()
|