Home
last modified time | relevance | path

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

123

/linux-6.12.1/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.h356 struct v4l2_buffer *buf);
367 struct v4l2_buffer *buf);
378 struct v4l2_buffer *buf);
389 struct v4l2_buffer *buf);
873 struct v4l2_buffer *buf);
877 struct v4l2_buffer *buf);
879 struct v4l2_buffer *buf);
881 struct v4l2_buffer *buf);
Dv4l2-ioctl.h415 struct v4l2_buffer *b);
417 struct v4l2_buffer *b);
421 struct v4l2_buffer *b);
426 struct v4l2_buffer *b);
Dv4l2-common.h576 static inline u64 v4l2_buffer_get_timestamp(const struct v4l2_buffer *buf) in v4l2_buffer_get_timestamp()
587 static inline void v4l2_buffer_set_timestamp(struct v4l2_buffer *buf, in v4l2_buffer_set_timestamp()
/linux-6.12.1/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.12.1/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 …]
Dcapture.c.rst86 struct v4l2_buffer buf;
245 struct v4l2_buffer buf;
262 struct v4l2_buffer buf;
357 struct v4l2_buffer buf;
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
Dfunc-munmap.rst35 :c:type:`v4l2_buffer` ``length`` field for the
/linux-6.12.1/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-6.12.1/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 vb2_buffer *vb, struct v4l2_buffer *b, in vb2_queue_or_prepare_buf()
481 struct v4l2_buffer *b = pb; in __fill_v4l2_buffer()
651 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_querybuf()
721 struct v4l2_buffer *b) in vb2_prepare_buf()
811 struct v4l2_buffer *b) in vb2_qbuf()
[all …]
/linux-6.12.1/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-6.12.1/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.12.1/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c400 static int get_v4l2_buffer32(struct v4l2_buffer *vb, in get_v4l2_buffer32()
409 *vb = (struct v4l2_buffer) { in get_v4l2_buffer32()
446 static int get_v4l2_buffer32_time32(struct v4l2_buffer *vb, in get_v4l2_buffer32_time32()
454 *vb = (struct v4l2_buffer) { in get_v4l2_buffer32_time32()
490 static int put_v4l2_buffer32(struct v4l2_buffer *vb, in put_v4l2_buffer32()
535 static int put_v4l2_buffer32_time32(struct v4l2_buffer *vb, in put_v4l2_buffer32_time32()
1048 struct v4l2_buffer *b64 = arg; in v4l2_compat_get_array_args()
1118 struct v4l2_buffer *b64 = arg; in v4l2_compat_put_array_args()
Dv4l2-mem2mem.c593 struct v4l2_buffer *buf) in v4l2_m2m_adjust_mem_offset()
610 struct v4l2_buffer *buf) in v4l2_m2m_querybuf()
762 struct v4l2_buffer *buf) in v4l2_m2m_qbuf()
801 struct v4l2_buffer *buf) in v4l2_m2m_dqbuf()
819 struct v4l2_buffer *buf) in v4l2_m2m_prepare_buf()
1405 struct v4l2_buffer *buf) in v4l2_m2m_ioctl_querybuf()
1414 struct v4l2_buffer *buf) in v4l2_m2m_ioctl_qbuf()
1423 struct v4l2_buffer *buf) in v4l2_m2m_ioctl_dqbuf()
1432 struct v4l2_buffer *buf) in v4l2_m2m_ioctl_prepare_buf()
/linux-6.12.1/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