Searched refs:reqbuf (Results 1 – 1 of 1) sorted by relevance
501 struct v4l2_requestbuffers reqbuf; in v4l2_overlay_req_buf() local503 reqbuf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT; in v4l2_overlay_req_buf()504 reqbuf.memory = V4L2_MEMORY_MMAP; in v4l2_overlay_req_buf()505 reqbuf.count = *num_bufs; in v4l2_overlay_req_buf()507 ret = ioctl(fd, VIDIOC_REQBUFS, &reqbuf); in v4l2_overlay_req_buf()512 LOGI("%d buffers allocated %d requested\n", reqbuf.count, 4); in v4l2_overlay_req_buf()513 if (reqbuf.count > *num_bufs) { in v4l2_overlay_req_buf()517 *num_bufs = reqbuf.count; in v4l2_overlay_req_buf()518 LOGI("buffer cookie is %d\n", reqbuf.type); in v4l2_overlay_req_buf()