Searched refs:mHalCamera (Results 1 – 6 of 6) sorted by relevance
56 mHalCamera.try_emplace(cam->getId(), cam); in VirtualCamera()88 for (auto&& [key, hwCamera] : mHalCamera) { in shutdown()119 mHalCamera.clear(); in shutdown()125 for (auto&& [key, cam] : mHalCamera) { in getHalCameras()261 if (mHalCamera.size() > 1) { in getCameraInfo()267 auto halCamera = mHalCamera.begin()->second.promote(); in getCameraInfo()283 for (auto&& [key, hwCamera] : mHalCamera) { in setMaxFramesInFlight()344 auto iter = mHalCamera.begin(); in startVideoStream()345 while (iter != mHalCamera.end()) { in startVideoStream()371 auto rb = mHalCamera.begin(); in startVideoStream()[all …]
107 std::unordered_map<std::string, wp<HalCamera>> mHalCamera; variable
54 mHalCamera.insert_or_assign(cam->getId(), cam); in VirtualCamera()120 auto pHwCamera = mHalCamera.begin()->second.lock(); in forcePrimaryClient()122 LOG(ERROR) << "Camera device " << mHalCamera.begin()->first << " is not alive."; in forcePrimaryClient()140 auto pHwCamera = mHalCamera.begin()->second.lock(); in getCameraInfo()159 auto pHwCamera = mHalCamera.begin()->second.lock(); in getExtendedInfo()161 LOG(ERROR) << "Camera device " << mHalCamera.begin()->first << " is not alive."; in getExtendedInfo()177 auto pHwCamera = mHalCamera.begin()->second.lock(); in getIntParameter()179 LOG(ERROR) << "Camera device " << mHalCamera.begin()->first << " is not alive."; in getIntParameter()196 auto pHwCamera = mHalCamera.begin()->second.lock(); in getIntParameterRange()198 LOG(ERROR) << "Camera device " << mHalCamera.begin()->first << " is not alive."; in getIntParameterRange()[all …]
33 VirtualCamera::VirtualCamera(sp<HalCamera> halCamera) : mHalCamera(halCamera) {} in VirtualCamera()55 mHalCamera->doneWithFrame(heldBuffer); in shutdown()61 mHalCamera->clientStreamEnding(); in shutdown()65 mHalCamera = nullptr; in shutdown()103 return mHalCamera->getHwCamera()->getCameraInfo(info_cb); in getCameraInfo()111 bool result = mHalCamera->changeFramesInFlight(bufferCountChange); in setMaxFramesInFlight()137 Return<EvsResult> result = mHalCamera->clientStreamStarting(); in startVideoStream()172 mHalCamera->doneWithFrame(buffer); in doneWithFrame()198 mHalCamera->clientStreamEnding(); in stopVideoStream()206 return mHalCamera->getHwCamera()->getExtendedInfo(opaqueIdentifier); in getExtendedInfo()[all …]
49 sp<HalCamera> getHalCamera() { return mHalCamera; }; in getHalCamera()66 sp<HalCamera> mHalCamera; // The low level camera interface that backs this proxy
98 bool isLogicalCamera() const { return mHalCamera.size() > 1; } in isLogicalCamera()99 bool isValid() const { return !mHalCamera.empty(); } in isValid()102 std::unordered_map<std::string, std::weak_ptr<HalCamera>> mHalCamera; variable