deviceHandle 312 modules/videoio/src/cap_libv4l.cpp int deviceHandle; deviceHandle 394 modules/videoio/src/cap_libv4l.cpp int deviceHandle; deviceHandle 403 modules/videoio/src/cap_libv4l.cpp deviceHandle = open(deviceName, O_RDONLY); deviceHandle 404 modules/videoio/src/cap_libv4l.cpp if (deviceHandle != -1) { deviceHandle 410 modules/videoio/src/cap_libv4l.cpp if (deviceHandle != -1) deviceHandle 411 modules/videoio/src/cap_libv4l.cpp close(deviceHandle); deviceHandle 433 modules/videoio/src/cap_libv4l.cpp capture->deviceHandle = v4l1_open(deviceName, O_RDWR); deviceHandle 436 modules/videoio/src/cap_libv4l.cpp if (capture->deviceHandle == 0) deviceHandle 446 modules/videoio/src/cap_libv4l.cpp if (v4l1_ioctl(capture->deviceHandle, VIDIOCGCAP, &capture->capability) < 0) deviceHandle 475 modules/videoio/src/cap_libv4l.cpp capture->deviceHandle = v4l2_open (deviceName, O_RDWR /* required */ | O_NONBLOCK, 0); deviceHandle 479 modules/videoio/src/cap_libv4l.cpp if (capture->deviceHandle == 0) deviceHandle 489 modules/videoio/src/cap_libv4l.cpp if (-1 == xioctl (capture->deviceHandle, VIDIOC_QUERYCAP, &capture->cap)) deviceHandle 501 modules/videoio/src/cap_libv4l.cpp if (-1 != xioctl (capture->deviceHandle, VIDIOC_G_INPUT, &capture->capability.channels)) deviceHandle 586 modules/videoio/src/cap_libv4l.cpp if(0 == v4l2_ioctl (capture->deviceHandle, VIDIOC_QUERYCTRL, &capture->queryctrl)) { deviceHandle 598 modules/videoio/src/cap_libv4l.cpp if(v4l2_ioctl(capture->deviceHandle, VIDIOC_G_CTRL, &c) == 0) { deviceHandle 602 modules/videoio/src/cap_libv4l.cpp } while(0 == v4l2_ioctl (capture->deviceHandle, VIDIOC_QUERYCTRL, &capture->queryctrl)); deviceHandle 609 modules/videoio/src/cap_libv4l.cpp if(v4l2_ioctl(capture->deviceHandle, VIDIOC_QUERYCTRL, &capture->queryctrl) == 0) { deviceHandle 620 modules/videoio/src/cap_libv4l.cpp if(v4l2_ioctl(capture->deviceHandle, VIDIOC_G_CTRL, &c) == 0) { deviceHandle 629 modules/videoio/src/cap_libv4l.cpp if(v4l2_ioctl(capture->deviceHandle, VIDIOC_QUERYCTRL, &capture->queryctrl) == 0) { deviceHandle 643 modules/videoio/src/cap_libv4l.cpp if(v4l2_ioctl(capture->deviceHandle, VIDIOC_G_CTRL, &c) == 0) { deviceHandle 706 modules/videoio/src/cap_libv4l.cpp if (-1 == xioctl (capture->deviceHandle, VIDIOC_ENUMINPUT, &capture->inp)) deviceHandle 718 modules/videoio/src/cap_libv4l.cpp if (-1 == xioctl (capture->deviceHandle, VIDIOC_G_FMT, &capture->form)) { deviceHandle 748 modules/videoio/src/cap_libv4l.cpp if (-1 == xioctl (capture->deviceHandle, VIDIOC_S_FMT, &capture->form)) { deviceHandle 783 modules/videoio/src/cap_libv4l.cpp if (-1 == xioctl (capture->deviceHandle, VIDIOC_REQBUFS, &capture->req)) deviceHandle 823 modules/videoio/src/cap_libv4l.cpp if (-1 == xioctl (capture->deviceHandle, VIDIOC_QUERYBUF, &buf)) { deviceHandle 837 modules/videoio/src/cap_libv4l.cpp capture->deviceHandle, buf.m.offset); deviceHandle 921 modules/videoio/src/cap_libv4l.cpp if (v4l1_ioctl(capture->deviceHandle, VIDIOCGCHAN , &selectedChannel) != -1) { deviceHandle 924 modules/videoio/src/cap_libv4l.cpp if (v4l1_ioctl(capture->deviceHandle, VIDIOCSCHAN , &selectedChannel) == -1) { deviceHandle 935 modules/videoio/src/cap_libv4l.cpp if(v4l1_ioctl(capture->deviceHandle, VIDIOCGWIN, &capture->captureWindow) == -1) { deviceHandle 945 modules/videoio/src/cap_libv4l.cpp if(v4l1_ioctl(capture->deviceHandle, VIDIOCGPICT, &capture->imageProperties) < 0) { deviceHandle 969 modules/videoio/src/cap_libv4l.cpp if (v4l1_ioctl(capture->deviceHandle, VIDIOCSPICT, &capture->imageProperties) < 0) { deviceHandle 974 modules/videoio/src/cap_libv4l.cpp if (v4l1_ioctl(capture->deviceHandle, VIDIOCGPICT, &capture->imageProperties) < 0) { deviceHandle 989 modules/videoio/src/cap_libv4l.cpp v4l1_ioctl(capture->deviceHandle, VIDIOCGMBUF, &capture->memoryBuffer); deviceHandle 994 modules/videoio/src/cap_libv4l.cpp capture->deviceHandle, deviceHandle 1103 modules/videoio/src/cap_libv4l.cpp if (-1 == xioctl (capture->deviceHandle, VIDIOC_DQBUF, &buf)) { deviceHandle 1133 modules/videoio/src/cap_libv4l.cpp if (-1 == xioctl (capture->deviceHandle, VIDIOC_QBUF, &buf)) deviceHandle 1156 modules/videoio/src/cap_libv4l.cpp FD_SET (capture->deviceHandle, &fds); deviceHandle 1162 modules/videoio/src/cap_libv4l.cpp r = select (capture->deviceHandle+1, &fds, NULL, NULL, &tv); deviceHandle 1208 modules/videoio/src/cap_libv4l.cpp if (-1 == xioctl (capture->deviceHandle, VIDIOC_QBUF, &buf)) { deviceHandle 1216 modules/videoio/src/cap_libv4l.cpp if (-1 == xioctl (capture->deviceHandle, VIDIOC_STREAMON, deviceHandle 1234 modules/videoio/src/cap_libv4l.cpp if (v4l1_ioctl(capture->deviceHandle, VIDIOCMCAPTURE, &capture->mmaps[capture->bufferIndex]) == -1) { deviceHandle 1259 modules/videoio/src/cap_libv4l.cpp if (v4l1_ioctl (capture->deviceHandle, VIDIOCMCAPTURE, deviceHandle 1281 modules/videoio/src/cap_libv4l.cpp if (v4l1_ioctl(capture->deviceHandle, VIDIOCSYNC, &capture->mmaps[capture->bufferIndex].frame) == -1) { deviceHandle 1366 modules/videoio/src/cap_libv4l.cpp if (-1 == xioctl (capture->deviceHandle, VIDIOC_G_FMT, &capture->form)) { deviceHandle 1369 modules/videoio/src/cap_libv4l.cpp if (v4l1_ioctl (capture->deviceHandle, VIDIOCGWIN, &capture->captureWindow) < 0) { deviceHandle 1397 modules/videoio/src/cap_libv4l.cpp if (xioctl (capture->deviceHandle, VIDIOC_G_PARM, &sp) < 0){ deviceHandle 1441 modules/videoio/src/cap_libv4l.cpp if(v4l2_ioctl(capture->deviceHandle, VIDIOC_G_CTRL, &capture->control) == 0) { deviceHandle 1530 modules/videoio/src/cap_libv4l.cpp xioctl (capture->deviceHandle, VIDIOC_S_CROP, &capture->crop); deviceHandle 1536 modules/videoio/src/cap_libv4l.cpp xioctl (capture->deviceHandle, VIDIOC_G_FMT, &capture->form); deviceHandle 1551 modules/videoio/src/cap_libv4l.cpp xioctl (capture->deviceHandle, VIDIOC_S_FMT, &capture->form); deviceHandle 1562 modules/videoio/src/cap_libv4l.cpp xioctl (capture->deviceHandle, VIDIOC_S_PARM, &setfps); deviceHandle 1570 modules/videoio/src/cap_libv4l.cpp if (-1 == xioctl (capture->deviceHandle, VIDIOC_G_FMT, &capture->form)) deviceHandle 1595 modules/videoio/src/cap_libv4l.cpp if (ioctl(capture->deviceHandle, VIDIOCSWIN, &capture->captureWindow) < 0) { deviceHandle 1600 modules/videoio/src/cap_libv4l.cpp if (ioctl(capture->deviceHandle, VIDIOCGWIN, &capture->captureWindow) < 0) { deviceHandle 1666 modules/videoio/src/cap_libv4l.cpp if(v4l2_ioctl(capture->deviceHandle, VIDIOC_G_CTRL, &capture->control) == 0) { deviceHandle 1687 modules/videoio/src/cap_libv4l.cpp if (v4l2_ioctl(capture->deviceHandle, VIDIOC_S_CTRL, &c) != 0) { deviceHandle 1729 modules/videoio/src/cap_libv4l.cpp if (v4l1_ioctl(capture->deviceHandle, VIDIOCSPICT, &capture->imageProperties) < 0){ deviceHandle 1795 modules/videoio/src/cap_libv4l.cpp if (xioctl (capture->deviceHandle, VIDIOC_S_PARM, &setfps) < 0){ deviceHandle 1819 modules/videoio/src/cap_libv4l.cpp if (capture->deviceHandle != -1) { deviceHandle 1820 modules/videoio/src/cap_libv4l.cpp v4l1_close(capture->deviceHandle); deviceHandle 1824 modules/videoio/src/cap_libv4l.cpp if (xioctl(capture->deviceHandle, VIDIOC_STREAMOFF, &capture->type) < 0) { deviceHandle 1833 modules/videoio/src/cap_libv4l.cpp if (capture->deviceHandle != -1) { deviceHandle 1834 modules/videoio/src/cap_libv4l.cpp v4l2_close(capture->deviceHandle); deviceHandle 303 modules/videoio/src/cap_v4l.cpp int deviceHandle; deviceHandle 372 modules/videoio/src/cap_v4l.cpp int deviceHandle; deviceHandle 381 modules/videoio/src/cap_v4l.cpp deviceHandle = open(deviceName, O_RDONLY); deviceHandle 382 modules/videoio/src/cap_v4l.cpp if (deviceHandle != -1) { deviceHandle 388 modules/videoio/src/cap_v4l.cpp if (deviceHandle != -1) deviceHandle 389 modules/videoio/src/cap_v4l.cpp close(deviceHandle); deviceHandle 429 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_S_FMT, &capture->form)) deviceHandle 456 modules/videoio/src/cap_v4l.cpp capture->deviceHandle = open(deviceName, O_RDWR); deviceHandle 458 modules/videoio/src/cap_v4l.cpp if (capture->deviceHandle == 0) deviceHandle 468 modules/videoio/src/cap_v4l.cpp if (ioctl(capture->deviceHandle, VIDIOCGCAP, &capture->capability) < 0) deviceHandle 498 modules/videoio/src/cap_v4l.cpp capture->deviceHandle = open (deviceName, O_RDWR /* required */ | O_NONBLOCK, 0); deviceHandle 499 modules/videoio/src/cap_v4l.cpp if (-1 == capture->deviceHandle) deviceHandle 509 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_QUERYCAP, &capture->cap)) deviceHandle 519 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_G_INPUT, &deviceIndex)) deviceHandle 531 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_ENUMINPUT, &capture->inp)) deviceHandle 614 modules/videoio/src/cap_v4l.cpp if(ioctl(capture->deviceHandle, VIDIOCGPICT, &capture->imageProperties) < 0) { deviceHandle 622 modules/videoio/src/cap_v4l.cpp if (try_palette(capture->deviceHandle, &capture->imageProperties, VIDEO_PALETTE_RGB24, 24)) { deviceHandle 625 modules/videoio/src/cap_v4l.cpp else if (try_palette(capture->deviceHandle, &capture->imageProperties, VIDEO_PALETTE_YUV420P, 16)) { deviceHandle 628 modules/videoio/src/cap_v4l.cpp else if (try_palette(capture->deviceHandle, &capture->imageProperties, VIDEO_PALETTE_YUV420, 16)) { deviceHandle 631 modules/videoio/src/cap_v4l.cpp else if (try_palette(capture->deviceHandle, &capture->imageProperties, VIDEO_PALETTE_YUV411P, 16)) { deviceHandle 663 modules/videoio/src/cap_v4l.cpp if (0 == ioctl (capture->deviceHandle, VIDIOC_QUERYCTRL, deviceHandle 731 modules/videoio/src/cap_v4l.cpp if (0 == ioctl (capture->deviceHandle, VIDIOC_QUERYCTRL, deviceHandle 854 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_ENUMINPUT, &capture->inp)) deviceHandle 866 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_G_FMT, &capture->form)) { deviceHandle 904 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_REQBUFS, &capture->req)) deviceHandle 944 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_QUERYBUF, &buf)) { deviceHandle 958 modules/videoio/src/cap_v4l.cpp capture->deviceHandle, buf.m.offset); deviceHandle 1040 modules/videoio/src/cap_v4l.cpp if (ioctl(capture->deviceHandle, VIDIOCGCHAN , &selectedChannel) != -1) { deviceHandle 1043 modules/videoio/src/cap_v4l.cpp if (ioctl(capture->deviceHandle, VIDIOCSCHAN , &selectedChannel) == -1) { deviceHandle 1054 modules/videoio/src/cap_v4l.cpp if(ioctl(capture->deviceHandle, VIDIOCGWIN, &capture->captureWindow) == -1) { deviceHandle 1072 modules/videoio/src/cap_v4l.cpp ioctl(capture->deviceHandle, VIDIOCGMBUF, &capture->memoryBuffer); deviceHandle 1077 modules/videoio/src/cap_v4l.cpp capture->deviceHandle, deviceHandle 1183 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_DQBUF, &buf)) { deviceHandle 1191 modules/videoio/src/cap_v4l.cpp if (ioctl(capture->deviceHandle, VIDIOC_QBUF, &buf) == -1) deviceHandle 1214 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_QBUF, &buf)) deviceHandle 1235 modules/videoio/src/cap_v4l.cpp FD_SET (capture->deviceHandle, &fds); deviceHandle 1241 modules/videoio/src/cap_v4l.cpp r = select (capture->deviceHandle+1, &fds, NULL, NULL, &tv); deviceHandle 1293 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_QBUF, &buf)) { deviceHandle 1301 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_STREAMON, deviceHandle 1324 modules/videoio/src/cap_v4l.cpp if (ioctl(capture->deviceHandle, VIDIOCMCAPTURE, &capture->mmaps[capture->bufferIndex]) == -1) { deviceHandle 1366 modules/videoio/src/cap_v4l.cpp if (ioctl (capture->deviceHandle, VIDIOCMCAPTURE, deviceHandle 2117 modules/videoio/src/cap_v4l.cpp if (ioctl(capture->deviceHandle, VIDIOCSYNC, &capture->mmaps[capture->bufferIndex].frame) == -1) { deviceHandle 2309 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_G_FMT, &capture->form)) { deviceHandle 2357 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_G_CTRL, deviceHandle 2428 modules/videoio/src/cap_v4l.cpp if (ioctl (capture->deviceHandle, deviceHandle 2495 modules/videoio/src/cap_v4l.cpp if (ioctl (capture->deviceHandle, VIDIOC_CROPCAP, &capture->cropcap) < 0) { deviceHandle 2504 modules/videoio/src/cap_v4l.cpp if (ioctl (capture->deviceHandle, VIDIOC_S_CROP, &capture->crop) < 0) { deviceHandle 2513 modules/videoio/src/cap_v4l.cpp ioctl (capture->deviceHandle, VIDIOC_G_FMT, &capture->form); deviceHandle 2528 modules/videoio/src/cap_v4l.cpp ioctl (capture->deviceHandle, VIDIOC_S_FMT, &capture->form); deviceHandle 2536 modules/videoio/src/cap_v4l.cpp ioctl (capture->deviceHandle, VIDIOC_S_PARM, &setfps); deviceHandle 2543 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, VIDIOC_G_FMT, &capture->form)) deviceHandle 2573 modules/videoio/src/cap_v4l.cpp if (ioctl(capture->deviceHandle, VIDIOCSWIN, &capture->captureWindow) < 0) { deviceHandle 2578 modules/videoio/src/cap_v4l.cpp if (ioctl(capture->deviceHandle, VIDIOCGWIN, &capture->captureWindow) < 0) { deviceHandle 2643 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, deviceHandle 2713 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl (capture->deviceHandle, deviceHandle 2759 modules/videoio/src/cap_v4l.cpp if (ioctl(capture->deviceHandle, VIDIOCSPICT, &capture->imageProperties) deviceHandle 2845 modules/videoio/src/cap_v4l.cpp if (-1 == ioctl(capture->deviceHandle, VIDIOC_STREAMOFF, &capture->type)) { deviceHandle 2864 modules/videoio/src/cap_v4l.cpp if (capture->deviceHandle != -1) deviceHandle 2865 modules/videoio/src/cap_v4l.cpp close(capture->deviceHandle);