Lines Matching defs:v4l2_buf
135 struct v4l2_buffer v4l2_buf;
136 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf));
156 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
157 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
158 v4l2_buf.length = omx->drv_ctx.num_planes;
159 v4l2_buf.m.planes = plane;
160 while(!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) {
163 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf;
166 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000) +
167 (uint64_t)v4l2_buf.timestamp.tv_usec;
182 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
183 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
184 v4l2_buf.length = 1;
185 v4l2_buf.m.planes = plane;
186 while(!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) {
189 vdec_msg.msgdata.input_frame_clientdata=(void*)&v4l2_buf;
245 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
246 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
247 v4l2_buf.length = omx->drv_ctx.num_planes;
248 v4l2_buf.m.planes = plane;
249 v4l2_buf.index = ptr[5];
250 v4l2_buf.flags = 0;
254 vdec_msg.msgdata.output_frame.client_data = (void*)&v4l2_buf;
2692 struct v4l2_buffer v4l2_buf;
2695 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf));