Searched refs:bufrequest (Results 1 – 1 of 1) sorted by relevance
160 v4l2_requestbuffers bufrequest; in startStream() local161 bufrequest.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in startStream()162 bufrequest.memory = V4L2_MEMORY_MMAP; in startStream()163 bufrequest.count = 1; in startStream()164 if (ioctl(mDeviceFd, VIDIOC_REQBUFS, &bufrequest) < 0) { in startStream()251 v4l2_requestbuffers bufrequest; in stopStream() local252 bufrequest.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in stopStream()253 bufrequest.memory = V4L2_MEMORY_MMAP; in stopStream()254 bufrequest.count = 0; in stopStream()255 ioctl(mDeviceFd, VIDIOC_REQBUFS, &bufrequest); in stopStream()