Home
last modified time | relevance | path

Searched refs:v4l2_buf (Results 1 – 6 of 6) sorted by relevance

/drivers/media/video/uvc/
Duvc_queue.c176 struct v4l2_buffer *v4l2_buf) in __uvc_query_buffer() argument
178 memcpy(v4l2_buf, &buf->buf, sizeof *v4l2_buf); in __uvc_query_buffer()
181 v4l2_buf->flags |= V4L2_BUF_FLAG_MAPPED; in __uvc_query_buffer()
186 v4l2_buf->flags |= V4L2_BUF_FLAG_DONE; in __uvc_query_buffer()
190 v4l2_buf->flags |= V4L2_BUF_FLAG_QUEUED; in __uvc_query_buffer()
199 struct v4l2_buffer *v4l2_buf) in uvc_query_buffer() argument
204 if (v4l2_buf->index >= queue->count) { in uvc_query_buffer()
209 __uvc_query_buffer(&queue->buffer[v4l2_buf->index], v4l2_buf); in uvc_query_buffer()
221 struct v4l2_buffer *v4l2_buf) in uvc_queue_buffer() argument
227 uvc_trace(UVC_TRACE_CAPTURE, "Queuing buffer %u.\n", v4l2_buf->index); in uvc_queue_buffer()
[all …]
Duvcvideo.h739 struct v4l2_buffer *v4l2_buf);
741 struct v4l2_buffer *v4l2_buf);
743 struct v4l2_buffer *v4l2_buf, int nonblocking);
/drivers/media/video/gspca/
Dgspca.c90 frame->v4l2_buf.flags |= V4L2_BUF_FLAG_MAPPED; in gspca_vm_open()
98 frame->v4l2_buf.flags &= ~V4L2_BUF_FLAG_MAPPED; in gspca_vm_close()
115 if ((frame->v4l2_buf.flags & BUF_ALL_FLAGS) in gspca_get_i_frame()
268 if ((frame->v4l2_buf.flags & BUF_ALL_FLAGS) in gspca_frame_add()
275 &frame->v4l2_buf.timestamp); in gspca_frame_add()
276 frame->v4l2_buf.sequence = ++gspca_dev->sequence; in gspca_frame_add()
286 > frame->v4l2_buf.length) { in gspca_frame_add()
289 frame->v4l2_buf.length); in gspca_frame_add()
300 frame->v4l2_buf.bytesused = frame->data_end - frame->data; in gspca_frame_add()
301 frame->v4l2_buf.flags &= ~V4L2_BUF_FLAG_QUEUED; in gspca_frame_add()
[all …]
Dgspca.h127 struct v4l2_buffer v4l2_buf; member
Dvc032x.c2313 && len > frame->v4l2_buf.length - (frame->data_end - frame->data)) in sd_pkt_scan()
2314 len = frame->v4l2_buf.length - (frame->data_end - frame->data); in sd_pkt_scan()
/drivers/media/video/gspca/m5602/
Dm5602_core.c297 if (cur_frame_len + len <= frame->v4l2_buf.length) { in m5602_urb_complete()
303 } else if (frame->v4l2_buf.length - cur_frame_len > 0) { in m5602_urb_complete()
306 frame->v4l2_buf.length - cur_frame_len); in m5602_urb_complete()