deviceName 2250 modules/core/src/ocl.cpp std::string platform, deviceName; deviceName 2256 modules/core/src/ocl.cpp !parseOpenCLDeviceConfiguration(std::string(configuration), platform, deviceTypes, deviceName) deviceName 2262 modules/core/src/ocl.cpp if (deviceName.length() == 1) deviceName 2270 modules/core/src/ocl.cpp for (size_t i = 0; i < deviceName.length(); i++) deviceName 2272 modules/core/src/ocl.cpp if (!isdigit(deviceName[i])) deviceName 2280 modules/core/src/ocl.cpp deviceID = atoi(deviceName.c_str()); deviceName 2377 modules/core/src/ocl.cpp if ( (isID || name.find(deviceName) != std::string::npos) && useGPU) deviceName 2395 modules/core/src/ocl.cpp std::cerr << std::endl << " Device name: " << (deviceName.length() == 0 ? "any" : deviceName) << std::endl; deviceName 139 modules/videoio/src/cap_gphoto2.cpp DigitalCameraCapture(const String &deviceName); deviceName 155 modules/videoio/src/cap_gphoto2.cpp int findDevice(const char * deviceName) const; deviceName 372 modules/videoio/src/cap_gphoto2.cpp DigitalCameraCapture::DigitalCameraCapture(const String & deviceName) deviceName 375 modules/videoio/src/cap_gphoto2.cpp int index = findDevice(deviceName.c_str()); deviceName 905 modules/videoio/src/cap_gphoto2.cpp int DigitalCameraCapture::findDevice(const char * deviceName) const deviceName 910 modules/videoio/src/cap_gphoto2.cpp if (deviceName != 0) deviceName 915 modules/videoio/src/cap_gphoto2.cpp if (model != 0 && strstr(model, deviceName)) deviceName 1215 modules/videoio/src/cap_gphoto2.cpp Ptr<IVideoCapture> createGPhoto2Capture(const String & deviceName) deviceName 1217 modules/videoio/src/cap_gphoto2.cpp Ptr<IVideoCapture> capture = makePtr<gphoto2::DigitalCameraCapture>(deviceName); deviceName 311 modules/videoio/src/cap_libv4l.cpp char* deviceName; deviceName 396 modules/videoio/src/cap_libv4l.cpp char deviceName[MAX_DEVICE_DRIVER_NAME]; deviceName 401 modules/videoio/src/cap_libv4l.cpp sprintf(deviceName, "/dev/video%1d", CameraNumber); deviceName 403 modules/videoio/src/cap_libv4l.cpp deviceHandle = open(deviceName, O_RDONLY); deviceName 419 modules/videoio/src/cap_libv4l.cpp static int try_init_v4l(CvCaptureCAM_V4L* capture, char *deviceName) deviceName 433 modules/videoio/src/cap_libv4l.cpp capture->deviceHandle = v4l1_open(deviceName, O_RDWR); deviceName 463 modules/videoio/src/cap_libv4l.cpp static int try_init_v4l2(CvCaptureCAM_V4L* capture, char *deviceName) deviceName 475 modules/videoio/src/cap_libv4l.cpp capture->deviceHandle = v4l2_open (deviceName, O_RDWR /* required */ | O_NONBLOCK, 0); deviceName 665 modules/videoio/src/cap_libv4l.cpp static int _capture_V4L2 (CvCaptureCAM_V4L *capture, char *deviceName) deviceName 669 modules/videoio/src/cap_libv4l.cpp capture->deviceName = strdup(deviceName); deviceName 671 modules/videoio/src/cap_libv4l.cpp detect_v4l2 = try_init_v4l2(capture, deviceName); deviceName 689 modules/videoio/src/cap_libv4l.cpp fprintf( stderr, "VIDEOIO ERROR: V4L2: device %s is unable to capture video memory.\n",deviceName); deviceName 787 modules/videoio/src/cap_libv4l.cpp fprintf (stderr, "%s does not support memory mapping\n", deviceName); deviceName 800 modules/videoio/src/cap_libv4l.cpp fprintf (stderr, "Insufficient buffer memory on %s\n", deviceName); deviceName 807 modules/videoio/src/cap_libv4l.cpp fprintf (stderr, "Insufficient buffer memory on %s -- decreaseing buffers\n", deviceName); deviceName 873 modules/videoio/src/cap_libv4l.cpp static int _capture_V4L (CvCaptureCAM_V4L *capture, char *deviceName) deviceName 877 modules/videoio/src/cap_libv4l.cpp detect_v4l = try_init_v4l(capture, deviceName); deviceName 882 modules/videoio/src/cap_libv4l.cpp ": device %s: Unable to open for READ ONLY\n", deviceName); deviceName 890 modules/videoio/src/cap_libv4l.cpp ": device %s: Unable to query number of channels\n", deviceName); deviceName 899 modules/videoio/src/cap_libv4l.cpp "device %s is unable to capture video memory.\n",deviceName); deviceName 1031 modules/videoio/src/cap_libv4l.cpp char deviceName[MAX_DEVICE_DRIVER_NAME]; deviceName 1067 modules/videoio/src/cap_libv4l.cpp sprintf(deviceName, "/dev/video%1d", index); deviceName 1079 modules/videoio/src/cap_libv4l.cpp if (_capture_V4L2 (capture, deviceName) == -1) { deviceName 1082 modules/videoio/src/cap_libv4l.cpp if (_capture_V4L (capture, deviceName) == -1) { deviceName 1501 modules/videoio/src/cap_libv4l.cpp char deviceName[MAX_DEVICE_DRIVER_NAME]; deviceName 1502 modules/videoio/src/cap_libv4l.cpp sprintf(deviceName, "%s", capture->deviceName); deviceName 1504 modules/videoio/src/cap_libv4l.cpp _capture_V4L2(capture, deviceName); deviceName 1848 modules/videoio/src/cap_libv4l.cpp free(capture->deviceName); deviceName 1849 modules/videoio/src/cap_libv4l.cpp capture->deviceName = NULL; deviceName 374 modules/videoio/src/cap_v4l.cpp char deviceName[MAX_DEVICE_DRIVER_NAME]; deviceName 379 modules/videoio/src/cap_v4l.cpp sprintf(deviceName, "/dev/video%1d", CameraNumber); deviceName 381 modules/videoio/src/cap_v4l.cpp deviceHandle = open(deviceName, O_RDONLY); deviceName 443 modules/videoio/src/cap_v4l.cpp static int try_init_v4l(CvCaptureCAM_V4L* capture, char *deviceName) deviceName 456 modules/videoio/src/cap_v4l.cpp capture->deviceHandle = open(deviceName, O_RDWR); deviceName 487 modules/videoio/src/cap_v4l.cpp static int try_init_v4l2(CvCaptureCAM_V4L* capture, char *deviceName) deviceName 498 modules/videoio/src/cap_v4l.cpp capture->deviceHandle = open (deviceName, O_RDWR /* required */ | O_NONBLOCK, 0); deviceName 502 modules/videoio/src/cap_v4l.cpp fprintf(stderr, "(DEBUG) try_init_v4l2 open \"%s\": %s\n", deviceName, strerror(errno)); deviceName 512 modules/videoio/src/cap_v4l.cpp fprintf(stderr, "(DEBUG) try_init_v4l2 VIDIOC_QUERYCAP \"%s\": %s\n", deviceName, strerror(errno)); deviceName 522 modules/videoio/src/cap_v4l.cpp fprintf(stderr, "(DEBUG) try_init_v4l2 VIDIOC_G_INPUT \"%s\": %s\n", deviceName, strerror(errno)); deviceName 534 modules/videoio/src/cap_v4l.cpp fprintf(stderr, "(DEBUG) try_init_v4l2 VIDIOC_ENUMINPUT \"%s\": %s\n", deviceName, strerror(errno)); deviceName 793 modules/videoio/src/cap_v4l.cpp static int _capture_V4L2 (CvCaptureCAM_V4L *capture, char *deviceName) deviceName 797 modules/videoio/src/cap_v4l.cpp detect_v4l2 = try_init_v4l2(capture, deviceName); deviceName 837 modules/videoio/src/cap_v4l.cpp fprintf( stderr, "VIDEOIO ERROR: V4L2: device %s is unable to capture video memory.\n",deviceName); deviceName 908 modules/videoio/src/cap_v4l.cpp fprintf (stderr, "%s does not support memory mapping\n", deviceName); deviceName 921 modules/videoio/src/cap_v4l.cpp fprintf (stderr, "Insufficient buffer memory on %s\n", deviceName); deviceName 928 modules/videoio/src/cap_v4l.cpp fprintf (stderr, "Insufficient buffer memory on %s -- decreaseing buffers\n", deviceName); deviceName 989 modules/videoio/src/cap_v4l.cpp static int _capture_V4L (CvCaptureCAM_V4L *capture, char *deviceName) deviceName 993 modules/videoio/src/cap_v4l.cpp detect_v4l = try_init_v4l(capture, deviceName); deviceName 999 modules/videoio/src/cap_v4l.cpp ": device %s: Unable to open for READ ONLY\n", deviceName); deviceName 1008 modules/videoio/src/cap_v4l.cpp ": device %s: Unable to query number of channels\n", deviceName); deviceName 1017 modules/videoio/src/cap_v4l.cpp "device %s is unable to capture video memory.\n",deviceName); deviceName 1114 modules/videoio/src/cap_v4l.cpp char deviceName[MAX_DEVICE_DRIVER_NAME]; deviceName 1145 modules/videoio/src/cap_v4l.cpp sprintf(deviceName, "/dev/video%1d", index); deviceName 1154 modules/videoio/src/cap_v4l.cpp if (_capture_V4L2 (capture, deviceName) == -1) { deviceName 1159 modules/videoio/src/cap_v4l.cpp if (_capture_V4L (capture, deviceName) == -1) { deviceName 191 modules/videoio/src/precomp.hpp Ptr<IVideoCapture> createGPhoto2Capture(const String& deviceName); deviceName 46 samples/cpp/autofocus.cpp const char * deviceName; deviceName 248 samples/cpp/autofocus.cpp GlobalArgs.deviceName = "Nikon"; deviceName 295 samples/cpp/autofocus.cpp GlobalArgs.deviceName = arg; deviceName 312 samples/cpp/autofocus.cpp VideoCapture cap(GlobalArgs.deviceName); deviceName 315 samples/cpp/autofocus.cpp cout << "Cannot find device " << GlobalArgs.deviceName << endl;