Searched refs:_deviceFd (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/video_capture/linux/
H A Dvideo_capture_linux.cc54 _deviceFd(-1),
120 if (_deviceFd != -1)
121 close(_deviceFd);
146 if ((_deviceFd = open(device, O_RDWR | O_NONBLOCK, 0)) < 0)
178 while (ioctl(_deviceFd, VIDIOC_ENUM_FMT, &fmt) == 0) {
222 if (ioctl(_deviceFd, VIDIOC_S_FMT, &video_fmt) < 0)
239 if (ioctl(_deviceFd, VIDIOC_G_PARM, &streamparms) < 0) {
252 if (ioctl(_deviceFd, VIDIOC_S_PARM, &streamparms) < 0) {
290 if (ioctl(_deviceFd, VIDIOC_STREAMON, &type) == -1)
325 close(_deviceFd);
[all...]
H A Dvideo_capture_linux.h46 int32_t _deviceFd; member in class:webrtc::videocapturemodule::VideoCaptureModuleV4L2

Completed in 145 milliseconds