Home
last modified time | relevance | path

Searched refs:v4L2Buffer (Results 1 – 1 of 1) sorted by relevance

/packages/services/DeviceAsWebcam/jni/
DUVCProvider.cpp690 struct v4l2_buffer v4L2Buffer = *(static_cast<V4L2Buffer*>(buffer)->getV4L2Buffer()); in getFrameAndQueueBufferToGadgetDriver() local
691 ALOGV("%s: got buffer, queueing it with index %u", __FUNCTION__, v4L2Buffer.index); in getFrameAndQueueBufferToGadgetDriver()
693 if (ioctl(mUVCFd.get(), VIDIOC_QBUF, &v4L2Buffer) < 0) { in getFrameAndQueueBufferToGadgetDriver()
764 struct v4l2_buffer v4L2Buffer {}; in processStreamEvent() struct
765 v4L2Buffer.type = V4L2_BUF_TYPE_VIDEO_OUTPUT; in processStreamEvent()
766 v4L2Buffer.memory = V4L2_MEMORY_MMAP; in processStreamEvent()
768 if (ioctl(mUVCFd.get(), VIDIOC_DQBUF, &v4L2Buffer) < 0) { in processStreamEvent()