Home
last modified time | relevance | path

Searched refs:physicalCameraIds (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/camera/ndk/
DNdkCameraMetadata.cpp145 /*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/
DSessionConfigurationUtils.cpp25 metadataGetter getMetadata, const std::vector<std::string> &physicalCameraIds, in convertToHALStreamCombination() argument
30 deviceInfo, getMetadata, physicalCameraIds, streamConfiguration, earlyExit); in convertToHALStreamCombination()
DSessionConfigurationUtils.h41 metadataGetter getMetadata, const std::vector<std::string> &physicalCameraIds,
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp305 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 …]
DACameraManagerTest.cpp211 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/
DInFlightRequest.h101 std::set<String8> physicalCameraIds; member
157 physicalCameraIds(physicalCameraIdSet),
DCamera3OutputUtils.cpp543 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()
DCamera3Device.h1022 bool callback, nsecs_t maxExpectedDuration, std::set<String8>& physicalCameraIds,
DCamera3Device.cpp139 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/
DNdkCameraMetadata.h259 /*out*/size_t* numPhysicalCameras, /*out*/const char* const** physicalCameraIds)
DNdkCameraCaptureSession.h676 size_t physicalResultCount, const char** physicalCameraIds,
/frameworks/av/camera/ndk/impl/
DACameraMetadata.cpp451 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()
DACameraMetadata.h78 bool isLogicalMultiCamera(size_t* count, const char* const** physicalCameraIds) const;
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h214 metadataGetter getMetadata, const std::vector<std::string> &physicalCameraIds,
315 static binder::Status checkPhysicalCameraId(const std::vector<std::string> &physicalCameraIds,
DCameraDeviceClient.cpp576 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/
DCameraProviderManager.cpp1143 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()
DCameraProviderManager.h318 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/
DACameraDevice.cpp1103 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/
DCameraService.cpp3899 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()