Home
last modified time | relevance | path

Searched refs:vb2_queue (Results 1 - 25 of 479) sorted by relevance

12345678910>>...20

/kernel/linux/linux-6.6/include/media/
H A Dvideobuf2-core.h233 struct vb2_queue;
237 * @vb2_queue: pointer to &struct vb2_queue with the queue to
250 struct vb2_queue *vb2_queue; member
405 * &vb2_queue->min_buffers_needed. If that is non-zero
432 int (*queue_setup)(struct vb2_queue *q,
436 void (*wait_prepare)(struct vb2_queue *q);
437 void (*wait_finish)(struct vb2_queue *q);
445 int (*prepare_streaming)(struct vb2_queue *
585 struct vb2_queue { global() struct
[all...]
H A Dvideobuf2-v4l2.h56 /* VB2 V4L2 flags as set in vb2_queue.subsystem_flags */
68 * @q: pointer to &struct vb2_queue with videobuf2 queue.
73 struct vb2_buffer *vb2_find_buffer(struct vb2_queue *q, u64 timestamp);
75 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b);
81 * @q: pointer to &struct vb2_queue with videobuf2 queue.
85 int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req);
91 * @q: pointer to &struct vb2_queue with videobuf2 queue.
95 int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create);
100 * @q: pointer to &struct vb2_queue with videobuf2 queue.
119 int vb2_prepare_buf(struct vb2_queue *
[all...]
H A Dv4l2-mem2mem.h55 * @q: pointer to struct &vb2_queue
66 struct vb2_queue q;
145 * v4l2_m2m_get_vq() - return vb2_queue for the given type
150 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx,
434 struct vb2_queue *q);
444 struct vb2_queue *q);
553 int (*queue_init)(void *priv, struct vb2_queue *src_vq, struct vb2_queue *dst_vq));
729 * v4l2_m2m_get_src_vq() - return vb2_queue for source buffers
734 struct vb2_queue *v4l2_m2m_get_src_v
[all...]
/kernel/linux/linux-5.10/include/media/
H A Dvideobuf2-core.h57 * gfp_flags field of vb2_queue. The size argument to this function
229 struct vb2_queue;
233 * @vb2_queue: pointer to &struct vb2_queue with the queue to
246 struct vb2_queue *vb2_queue; member
395 * &vb2_queue->min_buffers_needed. If that is non-zero
418 int (*queue_setup)(struct vb2_queue *q,
422 void (*wait_prepare)(struct vb2_queue *q);
423 void (*wait_finish)(struct vb2_queue *
567 struct vb2_queue { global() struct
[all...]
H A Dvideobuf2-v4l2.h56 /* VB2 V4L2 flags as set in vb2_queue.subsystem_flags */
68 * @q: pointer to &struct vb2_queue with videobuf2 queue.
78 int vb2_find_timestamp(const struct vb2_queue *q, u64 timestamp,
81 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b);
87 * @q: pointer to &struct vb2_queue with videobuf2 queue.
91 int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req);
97 * @q: pointer to &struct vb2_queue with videobuf2 queue.
101 int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create);
106 * @q: pointer to &struct vb2_queue with videobuf2 queue.
125 int vb2_prepare_buf(struct vb2_queue *
[all...]
H A Dv4l2-mem2mem.h55 * @q: pointer to struct &vb2_queue
66 struct vb2_queue q;
145 * v4l2_m2m_get_vq() - return vb2_queue for the given type
150 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx,
434 struct vb2_queue *q);
444 struct vb2_queue *q);
548 int (*queue_init)(void *priv, struct vb2_queue *src_vq, struct vb2_queue *dst_vq));
724 * v4l2_m2m_get_src_vq() - return vb2_queue for source buffers
729 struct vb2_queue *v4l2_m2m_get_src_v
[all...]
/kernel/linux/linux-6.6/drivers/media/common/videobuf2/
H A Dvideobuf2-core.c55 dprintk((vb)->vb2_queue, 2, "call_memop(%d, %s)%s\n", \
57 (vb)->vb2_queue->mem_ops->op ? "" : " (nop)")
61 struct vb2_queue *_q = (vb)->vb2_queue; \
73 struct vb2_queue *_q = (vb)->vb2_queue; \
85 struct vb2_queue *_q = (vb)->vb2_queue; \
117 dprintk((vb)->vb2_queue, 2, "call_vb_qop(%d, %s)%s\n", \
119 (vb)->vb2_queue
[all...]
H A Dvideobuf2-v4l2.c71 dprintk(vb->vb2_queue, 1, in __verify_planes_array()
77 dprintk(vb->vb2_queue, 1, in __verify_planes_array()
145 struct vb2_queue *q = vb->vb2_queue; in __copy_timestamp()
170 if (vb->vb2_queue->allow_zero_bytesused) in vb2_warn_zero_bytesused()
178 struct vb2_queue *q = vb->vb2_queue; in vb2_fill_vb2_v4l2_buffer()
259 if (vb->vb2_queue->allow_zero_bytesused) in vb2_fill_vb2_v4l2_buffer()
302 if (vb->vb2_queue->allow_zero_bytesused) in vb2_fill_vb2_v4l2_buffer()
314 if (!vb->vb2_queue in vb2_fill_vb2_v4l2_buffer()
[all...]
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
H A Dvideobuf2-core.c55 dprintk((vb)->vb2_queue, 2, "call_memop(%d, %s)%s\n", \
57 (vb)->vb2_queue->mem_ops->op ? "" : " (nop)")
61 struct vb2_queue *_q = (vb)->vb2_queue; \
73 struct vb2_queue *_q = (vb)->vb2_queue; \
85 struct vb2_queue *_q = (vb)->vb2_queue; \
117 dprintk((vb)->vb2_queue, 2, "call_vb_qop(%d, %s)%s\n", \
119 (vb)->vb2_queue
[all...]
H A Dvideobuf2-v4l2.c71 dprintk(vb->vb2_queue, 1, in __verify_planes_array()
77 dprintk(vb->vb2_queue, 1, in __verify_planes_array()
145 struct vb2_queue *q = vb->vb2_queue; in __copy_timestamp()
170 if (vb->vb2_queue->allow_zero_bytesused) in vb2_warn_zero_bytesused()
178 struct vb2_queue *q = vb->vb2_queue; in vb2_fill_vb2_v4l2_buffer()
259 if (vb->vb2_queue->allow_zero_bytesused) in vb2_fill_vb2_v4l2_buffer()
302 if (vb->vb2_queue->allow_zero_bytesused) in vb2_fill_vb2_v4l2_buffer()
314 if (!vb->vb2_queue in vb2_fill_vb2_v4l2_buffer()
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/rockchip/rga/
H A Drga-buf.c19 rga_queue_setup(struct vb2_queue *vq, in rga_queue_setup()
40 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_prepare()
41 struct rga_frame *f = rga_get_frame(ctx, vb->vb2_queue->type); in rga_buf_prepare()
54 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_queue()
59 static void rga_buf_return_buffers(struct vb2_queue *q, in rga_buf_return_buffers()
76 static int rga_buf_start_streaming(struct vb2_queue *q, unsigned int count) in rga_buf_start_streaming()
91 static void rga_buf_stop_streaming(struct vb2_queue *q) in rga_buf_stop_streaming()
115 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_map()
/kernel/linux/linux-6.6/drivers/media/platform/rockchip/rga/
H A Drga-buf.c19 rga_queue_setup(struct vb2_queue *vq, in rga_queue_setup()
40 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_prepare()
41 struct rga_frame *f = rga_get_frame(ctx, vb->vb2_queue->type); in rga_buf_prepare()
54 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_queue()
59 static void rga_buf_return_buffers(struct vb2_queue *q, in rga_buf_return_buffers()
76 static int rga_buf_start_streaming(struct vb2_queue *q, unsigned int count) in rga_buf_start_streaming()
91 static void rga_buf_stop_streaming(struct vb2_queue *q) in rga_buf_stop_streaming()
115 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_map()
/kernel/linux/linux-5.10/drivers/media/dvb-core/
H A Ddvb_vb2.c33 static int _queue_setup(struct vb2_queue *vq, in _queue_setup()
56 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _buffer_prepare()
73 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _buffer_queue()
84 static int _start_streaming(struct vb2_queue *vq, unsigned int count) in _start_streaming()
92 static void _stop_streaming(struct vb2_queue *vq) in _stop_streaming()
110 static void _dmxdev_lock(struct vb2_queue *vq) in _dmxdev_lock()
118 static void _dmxdev_unlock(struct vb2_queue *vq) in _dmxdev_unlock()
139 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _fill_dmx_buffer()
151 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _fill_vb2_buffer()
169 struct vb2_queue * in dvb_vb2_init()
[all...]
/kernel/linux/linux-6.6/drivers/media/dvb-core/
H A Ddvb_vb2.c29 static int _queue_setup(struct vb2_queue *vq, in _queue_setup()
52 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _buffer_prepare()
69 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _buffer_queue()
80 static int _start_streaming(struct vb2_queue *vq, unsigned int count) in _start_streaming()
88 static void _stop_streaming(struct vb2_queue *vq) in _stop_streaming()
106 static void _dmxdev_lock(struct vb2_queue *vq) in _dmxdev_lock()
114 static void _dmxdev_unlock(struct vb2_queue *vq) in _dmxdev_unlock()
135 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _fill_dmx_buffer()
147 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _fill_vb2_buffer()
165 struct vb2_queue * in dvb_vb2_init()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec.h85 int mtk_vcodec_dec_queue_init(void *priv, struct vb2_queue *src_vq,
86 struct vb2_queue *dst_vq);
93 int vb2ops_vdec_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers,
99 int vb2ops_vdec_start_streaming(struct vb2_queue *q, unsigned int count);
100 void vb2ops_vdec_stop_streaming(struct vb2_queue *q);
/kernel/linux/linux-5.10/include/trace/events/
H A Dvb2.h12 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
47 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
52 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
57 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
62 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
/kernel/linux/linux-6.6/include/trace/events/
H A Dvb2.h12 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
47 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
52 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
57 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
62 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_video.c292 struct vb2_queue *vq; in cedrus_s_fmt_vid_cap()
317 struct vb2_queue *vq; in cedrus_s_fmt_vid_out_p()
375 struct vb2_queue *vq; in cedrus_s_fmt_vid_out()
376 struct vb2_queue *peer_vq; in cedrus_s_fmt_vid_out()
431 static int cedrus_queue_setup(struct vb2_queue *vq, unsigned int *nbufs, in cedrus_queue_setup()
454 static void cedrus_queue_cleanup(struct vb2_queue *vq, u32 state) in cedrus_queue_cleanup()
484 struct vb2_queue *vq = vb->vb2_queue; in cedrus_buf_prepare()
507 static int cedrus_start_streaming(struct vb2_queue *vq, unsigned int count) in cedrus_start_streaming()
535 static void cedrus_stop_streaming(struct vb2_queue *v
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_video.c280 struct vb2_queue *vq; in cedrus_s_fmt_vid_cap()
300 struct vb2_queue *vq; in cedrus_s_fmt_vid_out()
301 struct vb2_queue *peer_vq; in cedrus_s_fmt_vid_out()
387 static int cedrus_queue_setup(struct vb2_queue *vq, unsigned int *nbufs, in cedrus_queue_setup()
410 static void cedrus_queue_cleanup(struct vb2_queue *vq, u32 state) in cedrus_queue_cleanup()
440 struct vb2_queue *vq = vb->vb2_queue; in cedrus_buf_prepare()
463 static int cedrus_start_streaming(struct vb2_queue *vq, unsigned int count) in cedrus_start_streaming()
510 static void cedrus_stop_streaming(struct vb2_queue *vq) in cedrus_stop_streaming()
528 struct cedrus_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in cedrus_buf_queue()
[all...]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
H A Dvivid-meta-out.c16 static int meta_out_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in meta_out_queue_setup()
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_prepare()
68 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_queue()
78 static int meta_out_start_streaming(struct vb2_queue *vq, unsigned int count) in meta_out_start_streaming()
106 static void meta_out_stop_streaming(struct vb2_queue *vq) in meta_out_stop_streaming()
116 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_request_complete()
H A Dvivid-meta-cap.c16 static int meta_cap_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in meta_cap_queue_setup()
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_prepare()
68 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_queue()
78 static int meta_cap_start_streaming(struct vb2_queue *vq, unsigned int count) in meta_cap_start_streaming()
106 static void meta_cap_stop_streaming(struct vb2_queue *vq) in meta_cap_stop_streaming()
116 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_request_complete()
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
H A Dvivid-meta-out.c16 static int meta_out_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in meta_out_queue_setup()
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_prepare()
68 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_queue()
78 static int meta_out_start_streaming(struct vb2_queue *vq, unsigned int count) in meta_out_start_streaming()
106 static void meta_out_stop_streaming(struct vb2_queue *vq) in meta_out_stop_streaming()
116 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_request_complete()
H A Dvivid-meta-cap.c16 static int meta_cap_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in meta_cap_queue_setup()
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_prepare()
68 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_queue()
78 static int meta_cap_start_streaming(struct vb2_queue *vq, unsigned int count) in meta_cap_start_streaming()
106 static void meta_cap_stop_streaming(struct vb2_queue *vq) in meta_cap_stop_streaming()
116 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_request_complete()
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
H A Dhantro_v4l2.c482 struct vb2_queue *vq; in hantro_update_requires_hold_capture_buf()
507 struct vb2_queue *vq; in hantro_set_fmt_out()
517 struct vb2_queue *peer_vq; in hantro_set_fmt_out()
580 struct vb2_queue *vq; in hantro_set_fmt_cap()
590 struct vb2_queue *peer_vq; in hantro_set_fmt_cap()
688 struct vb2_queue *vq; in vidioc_s_selection()
796 hantro_queue_setup(struct vb2_queue *vq, unsigned int *num_buffers, in hantro_queue_setup()
852 struct vb2_queue *vq = vb->vb2_queue; in hantro_buf_prepare()
881 struct hantro_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in hantro_buf_queue()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
H A Dhantro_v4l2.c403 struct vb2_queue *vq; in hantro_set_fmt_out()
413 struct vb2_queue *peer_vq; in hantro_set_fmt_out()
473 struct vb2_queue *vq; in hantro_set_fmt_cap()
483 struct vb2_queue *peer_vq; in hantro_set_fmt_cap()
574 hantro_queue_setup(struct vb2_queue *vq, unsigned int *num_buffers, in hantro_queue_setup()
630 struct vb2_queue *vq = vb->vb2_queue; in hantro_buf_prepare()
659 struct hantro_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in hantro_buf_queue()
665 static bool hantro_vq_is_coded(struct vb2_queue *q) in hantro_vq_is_coded()
672 static int hantro_start_streaming(struct vb2_queue *
[all...]

Completed in 18 milliseconds

12345678910>>...20