Searched refs:v4lreqbuf (Results 1 – 2 of 2) sorted by relevance
159 struct v4l2_requestbuffers v4lreqbuf = {}; in CameraPipeline() local160 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()
180 v4l2_requestbuffers v4lreqbuf{}; in v4l2_request_bufs() local181 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()