Home
last modified time | relevance | path

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

123

/linux-6.1.9/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);
850 struct v4l2_buffer *buf);
854 struct v4l2_buffer *buf);
856 struct v4l2_buffer *buf);
858 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.h548 static inline u64 v4l2_buffer_get_timestamp(const struct v4l2_buffer *buf) in v4l2_buffer_get_timestamp()
559 static inline void v4l2_buffer_set_timestamp(struct v4l2_buffer *buf, in v4l2_buffer_set_timestamp()
/linux-6.1.9/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c136 struct vb2_v4l2_buffer *v4l2_buffer = to_vb2_v4l2_buffer(buffer); in sun6i_video_buffer_prepare() local
138 container_of(v4l2_buffer, struct sun6i_csi_buffer, v4l2_buffer); in sun6i_video_buffer_prepare()
150 v4l2_buffer->field = video->format.fmt.pix.field; in sun6i_video_buffer_prepare()
159 struct vb2_v4l2_buffer *v4l2_buffer = to_vb2_v4l2_buffer(buffer); in sun6i_video_buffer_queue() local
161 container_of(v4l2_buffer, struct sun6i_csi_buffer, v4l2_buffer); in sun6i_video_buffer_queue()
246 vb2_buffer_done(&buf->v4l2_buffer.vb2_buf, in sun6i_video_start_streaming()
273 vb2_buffer_done(&buf->v4l2_buffer.vb2_buf, VB2_BUF_STATE_ERROR); in sun6i_video_stop_streaming()
283 struct vb2_v4l2_buffer *v4l2_buffer; in sun6i_video_frame_done() local
307 v4l2_buffer = &buf->v4l2_buffer; in sun6i_video_frame_done()
308 v4l2_buffer->vb2_buf.timestamp = ktime_get_ns(); in sun6i_video_frame_done()
[all …]
Dsun6i_csi.h21 struct vb2_v4l2_buffer v4l2_buffer; member
/linux-6.1.9/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-6.1.9/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
272 struct :c:type:`v4l2_buffer` structure.
302 take a :c:type:`v4l2_buffer` as argument.
350 :c:type:`v4l2_buffer` is ``V4L2_MEMORY_MMAP``, this
353 :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
Dcapture.c.rst86 struct v4l2_buffer buf;
245 struct v4l2_buffer buf;
262 struct v4l2_buffer buf;
357 struct v4l2_buffer buf;
Dext-ctrls-codec-stateless.rst647 ``timestamp`` field in struct :c:type:`v4l2_buffer`. Use the
649 :c:type:`timeval` in struct :c:type:`v4l2_buffer` to a __u64.
822 ``timestamp`` field in struct :c:type:`v4l2_buffer`. Use the
824 :c:type:`timeval` in struct :c:type:`v4l2_buffer` to a __u64.
1009 struct :c:type:`v4l2_buffer`. Use the :c:func:`v4l2_timeval_to_ns()`
1011 :c:type:`v4l2_buffer` to a __u64.
1016 struct :c:type:`v4l2_buffer`. Use the :c:func:`v4l2_timeval_to_ns()`
1018 :c:type:`v4l2_buffer` to a __u64.
1023 struct :c:type:`v4l2_buffer`. Use the :c:func:`v4l2_timeval_to_ns()`
1025 :c:type:`v4l2_buffer` to a __u64.
[all …]
/linux-6.1.9/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-6.1.9/drivers/staging/media/deprecated/tm6000/
Dtm6000.h359 struct v4l2_buffer *b);
360 int tm6000_vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *b);
361 int tm6000_vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *b);
/linux-6.1.9/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-6.1.9/drivers/media/v4l2-core/
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()
Dv4l2-compat-ioctl32.c405 static int get_v4l2_buffer32(struct v4l2_buffer *vb, in get_v4l2_buffer32()
414 *vb = (struct v4l2_buffer) { in get_v4l2_buffer32()
451 static int get_v4l2_buffer32_time32(struct v4l2_buffer *vb, in get_v4l2_buffer32_time32()
459 *vb = (struct v4l2_buffer) { in get_v4l2_buffer32_time32()
495 static int put_v4l2_buffer32(struct v4l2_buffer *vb, in put_v4l2_buffer32()
540 static int put_v4l2_buffer32_time32(struct v4l2_buffer *vb, in put_v4l2_buffer32_time32()
1079 struct v4l2_buffer *b64 = arg; in v4l2_compat_get_array_args()
1171 struct v4l2_buffer *b64 = arg; in v4l2_compat_put_array_args()
/linux-6.1.9/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