Lines Matching refs:devices
137 std::vector<Device>* devices) { in ScanDeviceDirectory() argument
148 devices->push_back(Device(device_name, device_name)); in ScanDeviceDirectory()
241 static void ScanV4L2Devices(std::vector<Device>* devices) { in ScanV4L2Devices() argument
271 devices->push_back( in ScanV4L2Devices()
280 if (devices->size() == 0) { in ScanV4L2Devices()
282 ScanDeviceDirectory("/dev/", devices); in ScanV4L2Devices()
285 LOG(LS_INFO) << "Total V4L2 devices found : " << devices->size(); in ScanV4L2Devices()
288 bool LinuxDeviceManager::GetVideoCaptureDevices(std::vector<Device>* devices) { in GetVideoCaptureDevices() argument
289 devices->clear(); in GetVideoCaptureDevices()
290 ScanV4L2Devices(devices); in GetVideoCaptureDevices()
291 return FilterDevices(devices, kFilteredVideoDevicesName); in GetVideoCaptureDevices()