Lines Matching refs:pActiveCamera
220 sp<EvsV4lCamera> pActiveCamera = pRecord->activeInstance.promote(); in openCamera() local
221 if (pActiveCamera != nullptr) { in openCamera()
223 closeCamera(pActiveCamera); in openCamera()
227 pActiveCamera = new EvsV4lCamera(cameraId.c_str()); in openCamera()
228 pRecord->activeInstance = pActiveCamera; in openCamera()
229 if (pActiveCamera == nullptr) { in openCamera()
233 return pActiveCamera; in openCamera()
259 sp<EvsV4lCamera> pActiveCamera = pRecord->activeInstance.promote(); in closeCamera() local
261 if (pActiveCamera == nullptr) { in closeCamera()
263 } else if (pActiveCamera != pCamera) { in closeCamera()
268 pActiveCamera->shutdown(); in closeCamera()