Home
last modified time | relevance | path

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

/external/libkmsxx/utils/
Dkmscapture.cpp159 struct v4l2_requestbuffers v4lreqbuf = {}; in CameraPipeline() local
160 v4lreqbuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in CameraPipeline()
161 v4lreqbuf.memory = v4l_mem; in CameraPipeline()
162 v4lreqbuf.count = CAMERA_BUF_QUEUE_SIZE; in CameraPipeline()
163 r = ioctl(m_fd, VIDIOC_REQBUFS, &v4lreqbuf); in CameraPipeline()
165 ASSERT(v4lreqbuf.count == CAMERA_BUF_QUEUE_SIZE); in CameraPipeline()
/external/libkmsxx/kms++util/src/
Dvideodevice.cpp180 v4l2_requestbuffers v4lreqbuf{}; in v4l2_request_bufs() local
181 v4lreqbuf.type = buf_type; in v4l2_request_bufs()
182 v4lreqbuf.memory = V4L2_MEMORY_DMABUF; in v4l2_request_bufs()
183 v4lreqbuf.count = queue_size; in v4l2_request_bufs()
184 int r = ioctl(fd, VIDIOC_REQBUFS, &v4lreqbuf); in v4l2_request_bufs()
186 ASSERT(v4lreqbuf.count == queue_size); in v4l2_request_bufs()