Home
last modified time | relevance | path

Searched refs:v4l2_buffer (Results 1 – 25 of 57) sorted by relevance

123

/Linux-v6.6/include/media/
Dvideobuf2-v4l2.h75 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b);
120 struct v4l2_buffer *b);
146 struct v4l2_buffer *b);
183 int vb2_dqbuf(struct vb2_queue *q, struct v4l2_buffer *b, bool nonblocking);
329 struct v4l2_buffer *p);
330 int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p);
331 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p);
332 int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p);
Dv4l2-mem2mem.h349 struct v4l2_buffer *buf);
360 struct v4l2_buffer *buf);
371 struct v4l2_buffer *buf);
382 struct v4l2_buffer *buf);
864 struct v4l2_buffer *buf);
868 struct v4l2_buffer *buf);
870 struct v4l2_buffer *buf);
872 struct v4l2_buffer *buf);
Dvideobuf-core.h201 int videobuf_querybuf(struct videobuf_queue *q, struct v4l2_buffer *b);
203 struct v4l2_buffer *b);
205 struct v4l2_buffer *b, int nonblocking);
Dv4l2-ioctl.h413 struct v4l2_buffer *b);
415 struct v4l2_buffer *b);
419 struct v4l2_buffer *b);
424 struct v4l2_buffer *b);
Dv4l2-common.h550 static inline u64 v4l2_buffer_get_timestamp(const struct v4l2_buffer *buf) in v4l2_buffer_get_timestamp()
561 static inline void v4l2_buffer_set_timestamp(struct v4l2_buffer *buf, in v4l2_buffer_set_timestamp()
/Linux-v6.6/drivers/usb/gadget/function/
Duvc_queue.h74 int uvcg_query_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf);
76 int uvcg_queue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf);
79 struct v4l2_buffer *buf, int nonblocking);
Duvc_queue.c189 int uvcg_query_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf) in uvcg_query_buffer()
194 int uvcg_queue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf) in uvcg_queue_buffer()
203 int uvcg_dequeue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf, in uvcg_dequeue_buffer()
/Linux-v6.6/Documentation/userspace-api/media/v4l/
Dvidioc-querybuf.rst20 ``int ioctl(int fd, VIDIOC_QUERYBUF, struct v4l2_buffer *argp)``
29 Pointer to struct :c:type:`v4l2_buffer`.
39 :c:type:`v4l2_buffer` to the same buffer type as was
62 :c:type:`v4l2_buffer` is set to the number of filled-in
66 The struct :c:type:`v4l2_buffer` structure is specified in
Dvidioc-prepare-buf.rst20 ``int ioctl(int fd, VIDIOC_PREPARE_BUF, struct v4l2_buffer *argp)``
29 Pointer to struct :c:type:`v4l2_buffer`.
40 The struct :c:type:`v4l2_buffer` structure is specified in
Dvidioc-qbuf.rst20 ``int ioctl(int fd, VIDIOC_QBUF, struct v4l2_buffer *argp)``
24 ``int ioctl(int fd, VIDIOC_DQBUF, struct v4l2_buffer *argp)``
33 Pointer to struct :c:type:`v4l2_buffer`.
43 :c:type:`v4l2_buffer` to the same buffer type as was
50 one. The contents of the struct :c:type:`v4l2_buffer` returned
126 a struct :c:type:`v4l2_buffer` as above, when
148 The struct :c:type:`v4l2_buffer` structure is specified in
Dmmap.rst43 :c:type:`v4l2_buffer` are passed as sixth and second
45 multi-planar API, struct :c:type:`v4l2_buffer` contains an
94 struct v4l2_buffer buffer;
167 struct v4l2_buffer buffer;
174 /* length in struct v4l2_buffer in multi-planar API stores the size
221 index number of a buffer (struct :c:type:`v4l2_buffer`
254 the struct ::c:type:`v4l2_buffer` ``timestamp`` of captured
Ddmabuf.rst35 are passed in struct :c:type:`v4l2_buffer` (or in struct
74 struct v4l2_buffer buf;
97 struct v4l2_buffer buf;
154 the struct :c:type:`v4l2_buffer` ``timestamp`` of captured or
Dbuffer.rst15 or field parity, are stored in a struct :c:type:`v4l2_buffer`,
19 some plane-specific members of struct :c:type:`v4l2_buffer`,
22 struct :c:type:`v4l2_buffer` contains an array of plane structures.
155 .. c:type:: v4l2_buffer
157 struct v4l2_buffer
164 .. flat-table:: struct v4l2_buffer
270 struct :c:type:`v4l2_buffer` structure.
300 take a :c:type:`v4l2_buffer` as argument.
345 :c:type:`v4l2_buffer` is ``V4L2_MEMORY_MMAP``, this
348 :c:type:`v4l2_buffer`.
[all …]
Dfunc-munmap.rst35 :c:type:`v4l2_buffer` ``length`` field for the
Dfield-order.rst84 :c:type:`v4l2_buffer` ``field`` can never be
124 struct :c:type:`v4l2_buffer` ``field`` to
129 :c:type:`v4l2_buffer` ``sequence`` field. This
/Linux-v6.6/drivers/staging/media/sunxi/sun6i-isp/
Dsun6i_isp_params.c208 vb2_buffer = &state->pending->v4l2_buffer.vb2_buf; in sun6i_isp_params_state_cleanup()
216 vb2_buffer = &isp_buffer->v4l2_buffer.vb2_buf; in sun6i_isp_params_state_cleanup()
246 vb2_buffer = &isp_buffer->v4l2_buffer.vb2_buf; in sun6i_isp_params_state_update()
275 vb2_buffer = &isp_buffer->v4l2_buffer.vb2_buf; in sun6i_isp_params_state_complete()
280 isp_buffer->v4l2_buffer.sequence = isp_dev->capture.state.sequence + 1; in sun6i_isp_params_state_complete()
333 struct vb2_v4l2_buffer *v4l2_buffer = to_vb2_v4l2_buffer(vb2_buffer); in sun6i_isp_params_buffer_queue() local
335 container_of(v4l2_buffer, struct sun6i_isp_buffer, v4l2_buffer); in sun6i_isp_params_buffer_queue()
Dsun6i_isp_capture.c75 vb2_buffer = &isp_buffer->v4l2_buffer.vb2_buf; in sun6i_isp_capture_buffer_configure()
168 vb2_buffer = &isp_buffer->v4l2_buffer.vb2_buf; in sun6i_isp_capture_state_cleanup()
176 vb2_buffer = &isp_buffer->v4l2_buffer.vb2_buf; in sun6i_isp_capture_state_cleanup()
234 &isp_buffer->v4l2_buffer.vb2_buf; in sun6i_isp_capture_state_complete()
237 isp_buffer->v4l2_buffer.sequence = state->sequence; in sun6i_isp_capture_state_complete()
301 struct vb2_v4l2_buffer *v4l2_buffer = to_vb2_v4l2_buffer(vb2_buffer); in sun6i_isp_capture_buffer_queue() local
303 container_of(v4l2_buffer, struct sun6i_isp_buffer, v4l2_buffer); in sun6i_isp_capture_buffer_queue()
Dsun6i_isp.h26 struct vb2_v4l2_buffer v4l2_buffer; member
/Linux-v6.6/drivers/media/common/videobuf2/
Dvideobuf2-v4l2.c64 static int __verify_planes_array(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __verify_planes_array()
95 static int __verify_length(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __verify_length()
143 const struct v4l2_buffer *b = pb; in __copy_timestamp()
176 static int vb2_fill_vb2_v4l2_buffer(struct vb2_buffer *vb, struct v4l2_buffer *b) in vb2_fill_vb2_v4l2_buffer()
346 struct v4l2_buffer *b) in set_buffer_cache_hints()
367 struct v4l2_buffer *b, bool is_prepare, in vb2_queue_or_prepare_buf()
494 struct v4l2_buffer *b = pb; in __fill_v4l2_buffer()
653 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_querybuf()
724 struct v4l2_buffer *b) in vb2_prepare_buf()
803 struct v4l2_buffer *b) in vb2_qbuf()
[all …]
/Linux-v6.6/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_csi_capture.c343 vb2_buffer = &csi_buffer->v4l2_buffer.vb2_buf; in sun6i_csi_capture_buffer_configure()
457 vb2_buffer = &csi_buffer->v4l2_buffer.vb2_buf; in sun6i_csi_capture_state_cleanup()
465 vb2_buffer = &csi_buffer->v4l2_buffer.vb2_buf; in sun6i_csi_capture_state_cleanup()
519 &csi_buffer->v4l2_buffer.vb2_buf; in sun6i_csi_capture_state_complete()
522 csi_buffer->v4l2_buffer.sequence = state->sequence; in sun6i_csi_capture_state_complete()
574 struct vb2_v4l2_buffer *v4l2_buffer = to_vb2_v4l2_buffer(buffer); in sun6i_csi_capture_buffer_prepare() local
585 v4l2_buffer->field = capture->format.fmt.pix.field; in sun6i_csi_capture_buffer_prepare()
594 struct vb2_v4l2_buffer *v4l2_buffer = to_vb2_v4l2_buffer(buffer); in sun6i_csi_capture_buffer_queue() local
596 container_of(v4l2_buffer, struct sun6i_csi_buffer, v4l2_buffer); in sun6i_csi_capture_buffer_queue()
Dsun6i_csi.h28 struct vb2_v4l2_buffer v4l2_buffer; member
/Linux-v6.6/include/trace/events/
Dv4l2.h101 TP_PROTO(int minor, struct v4l2_buffer *buf),
172 TP_PROTO(int minor, struct v4l2_buffer *buf),
177 TP_PROTO(int minor, struct v4l2_buffer *buf),
/Linux-v6.6/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c392 static int get_v4l2_buffer32(struct v4l2_buffer *vb, in get_v4l2_buffer32()
401 *vb = (struct v4l2_buffer) { in get_v4l2_buffer32()
438 static int get_v4l2_buffer32_time32(struct v4l2_buffer *vb, in get_v4l2_buffer32_time32()
446 *vb = (struct v4l2_buffer) { in get_v4l2_buffer32_time32()
482 static int put_v4l2_buffer32(struct v4l2_buffer *vb, in put_v4l2_buffer32()
527 static int put_v4l2_buffer32_time32(struct v4l2_buffer *vb, in put_v4l2_buffer32_time32()
1040 struct v4l2_buffer *b64 = arg; in v4l2_compat_get_array_args()
1110 struct v4l2_buffer *b64 = arg; in v4l2_compat_put_array_args()
Dv4l2-mem2mem.c590 struct v4l2_buffer *buf) in v4l2_m2m_adjust_mem_offset()
607 struct v4l2_buffer *buf) in v4l2_m2m_querybuf()
759 struct v4l2_buffer *buf) in v4l2_m2m_qbuf()
798 struct v4l2_buffer *buf) in v4l2_m2m_dqbuf()
816 struct v4l2_buffer *buf) in v4l2_m2m_prepare_buf()
1381 struct v4l2_buffer *buf) in v4l2_m2m_ioctl_querybuf()
1390 struct v4l2_buffer *buf) in v4l2_m2m_ioctl_qbuf()
1399 struct v4l2_buffer *buf) in v4l2_m2m_ioctl_dqbuf()
1408 struct v4l2_buffer *buf) in v4l2_m2m_ioctl_prepare_buf()
/Linux-v6.6/drivers/media/usb/uvc/
Duvc_queue.c274 int uvc_query_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf) in uvc_query_buffer()
298 struct media_device *mdev, struct v4l2_buffer *buf) in uvc_queue_buffer()
321 int uvc_dequeue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf, in uvc_dequeue_buffer()

123