Searched refs:reqBufs (Results 1 – 1 of 1) sorted by relevance
1183 struct v4l2_requestbuffers reqBufs; in initV4L2mmap() local1187 memset(&reqBufs, 0, sizeof(v4l2_requestbuffers)); in initV4L2mmap()1188 reqBufs.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in initV4L2mmap()1189 reqBufs.memory = V4L2_MEMORY_MMAP; in initV4L2mmap()1190 reqBufs.count = PRVW_CAP_BUF_CNT; in initV4L2mmap()1192 if (-1 == ioctlLoop(camHal->fd, VIDIOC_REQBUFS, &reqBufs)) { in initV4L2mmap()1201 if (reqBufs.count < PRVW_CAP_BUF_CNT) { in initV4L2mmap()1206 ( bufObj* ) calloc(reqBufs.count, sizeof(bufObj)); in initV4L2mmap()1214 camHal->n_buffers < reqBufs.count; in initV4L2mmap()