| /linux/include/media/ |
| A D | videobuf2-core.h | 236 struct vb2_queue; 253 struct vb2_queue *vb2_queue; member 435 int (*queue_setup)(struct vb2_queue *q, 439 void (*wait_prepare)(struct vb2_queue *q); 440 void (*wait_finish)(struct vb2_queue *q); 450 void (*stop_streaming)(struct vb2_queue *q); 611 struct vb2_queue { struct 762 void vb2_discard_done(struct vb2_queue *q); 1006 int vb2_core_queue_init(struct vb2_queue *q); 1031 void vb2_queue_error(struct vb2_queue *q); [all …]
|
| A D | videobuf2-v4l2.h | 75 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b); 119 int vb2_prepare_buf(struct vb2_queue *q, struct media_device *mdev, 145 int vb2_qbuf(struct vb2_queue *q, struct media_device *mdev, 157 int vb2_expbuf(struct vb2_queue *q, struct v4l2_exportbuffer *eb); 201 int vb2_streamon(struct vb2_queue *q, enum v4l2_buf_type type); 220 int vb2_streamoff(struct vb2_queue *q, enum v4l2_buf_type type); 233 int __must_check vb2_queue_init(struct vb2_queue *q); 256 void vb2_queue_release(struct vb2_queue *q); 272 int vb2_queue_change_type(struct vb2_queue *q, unsigned int type); 377 void vb2_ops_wait_prepare(struct vb2_queue *vq); [all …]
|
| A D | v4l2-mem2mem.h | 66 struct vb2_queue q; 157 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx, 441 struct vb2_queue *q); 451 struct vb2_queue *q); 560 int (*queue_init)(void *priv, struct vb2_queue *src_vq, struct vb2_queue *dst_vq)); 741 struct vb2_queue *v4l2_m2m_get_src_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_src_vq() 752 struct vb2_queue *v4l2_m2m_get_dst_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_dst_vq()
|
| /linux/drivers/media/common/videobuf2/ |
| A D | videobuf2-core.c | 71 struct vb2_queue *_q = (vb)->vb2_queue; \ 83 struct vb2_queue *_q = (vb)->vb2_queue; \ 95 struct vb2_queue *_q = (vb)->vb2_queue; \ 225 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() 380 struct vb2_queue *q = vb->vb2_queue; in __setup_offsets() 1184 struct vb2_queue *q = vb->vb2_queue; in vb2_buffer_done() 1268 struct vb2_queue *q = vb->vb2_queue; in __prepare_userptr() 1384 struct vb2_queue *q = vb->vb2_queue; in __prepare_dmabuf() 1539 struct vb2_queue *q = vb->vb2_queue; in __enqueue_in_driver() 1551 struct vb2_queue *q = vb->vb2_queue; in __buf_prepare() [all …]
|
| A D | videobuf2-v4l2.c | 71 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() 483 struct vb2_queue *q = vb->vb2_queue; in __fill_v4l2_buffer() 593 if (!vb->vb2_queue->copy_timestamp) in __fill_vb2_buffer() 949 int vb2_queue_init(struct vb2_queue *q) in vb2_queue_init() [all …]
|
| /linux/drivers/media/dvb-core/ |
| A D | dvb_vb2.c | 29 static int _queue_setup(struct vb2_queue *vq, in _queue_setup() 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() 165 struct vb2_queue *q = &ctx->vb_q; in dvb_vb2_init() 200 struct vb2_queue *q = (struct vb2_queue *)&ctx->vb_q; in dvb_vb2_release() 213 struct vb2_queue *q = &ctx->vb_q; in dvb_vb2_stream_on() 230 struct vb2_queue *q = (struct vb2_queue *)&ctx->vb_q; in dvb_vb2_stream_off() 354 struct vb2_queue *q = &ctx->vb_q; in dvb_vb2_querybuf() 368 struct vb2_queue *q = &ctx->vb_q; in dvb_vb2_expbuf() [all …]
|
| /linux/drivers/media/platform/mediatek/vcodec/decoder/ |
| A D | mtk_vcodec_dec.h | 84 int mtk_vcodec_dec_queue_init(void *priv, struct vb2_queue *src_vq, 85 struct vb2_queue *dst_vq); 92 int vb2ops_vdec_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, 98 int vb2ops_vdec_start_streaming(struct vb2_queue *q, unsigned int count); 99 void vb2ops_vdec_stop_streaming(struct vb2_queue *q);
|
| /linux/drivers/media/platform/rockchip/rga/ |
| A D | rga-buf.c | 41 rga_queue_setup(struct vb2_queue *vq, in rga_queue_setup() 78 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_init() 80 struct rga_frame *f = rga_get_frame(ctx, vb->vb2_queue->type); in rga_buf_init() 111 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_prepare() 112 struct rga_frame *f = rga_get_frame(ctx, vb->vb2_queue->type); in rga_buf_prepare() 153 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_queue() 162 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_cleanup() 169 static void rga_buf_return_buffers(struct vb2_queue *q, in rga_buf_return_buffers() 186 static int rga_buf_start_streaming(struct vb2_queue *q, unsigned int count) in rga_buf_start_streaming() 206 static void rga_buf_stop_streaming(struct vb2_queue *q) in rga_buf_stop_streaming()
|
| /linux/include/trace/events/ |
| A D | vb2.h | 12 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),
|
| /linux/drivers/staging/media/sunxi/cedrus/ |
| A D | cedrus_video.c | 292 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() 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() 535 static void cedrus_stop_streaming(struct vb2_queue *vq) in cedrus_stop_streaming() 553 struct cedrus_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in cedrus_buf_queue() 560 struct cedrus_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in cedrus_buf_request_complete() 577 int cedrus_queue_init(void *priv, struct vb2_queue *src_vq, in cedrus_queue_init() [all …]
|
| A D | cedrus_video.h | 27 int cedrus_queue_init(void *priv, struct vb2_queue *src_vq, 28 struct vb2_queue *dst_vq);
|
| /linux/drivers/media/test-drivers/vivid/ |
| A D | vivid-meta-out.c | 16 static int meta_out_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in meta_out_queue_setup() 39 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_prepare() 65 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_queue() 75 static int meta_out_start_streaming(struct vb2_queue *vq, unsigned int count) in meta_out_start_streaming() 103 static void meta_out_stop_streaming(struct vb2_queue *vq) in meta_out_stop_streaming() 113 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_request_complete()
|
| A D | vivid-meta-cap.c | 16 static int meta_cap_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in meta_cap_queue_setup() 39 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_prepare() 65 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_queue() 75 static int meta_cap_start_streaming(struct vb2_queue *vq, unsigned int count) in meta_cap_start_streaming() 103 static void meta_cap_stop_streaming(struct vb2_queue *vq) in meta_cap_stop_streaming() 113 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_request_complete()
|
| A D | vivid-vbi-out.c | 18 static int vbi_out_queue_setup(struct vb2_queue *vq, in vbi_out_queue_setup() 41 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_prepare() 43 unsigned size = vb->vb2_queue->type == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT ? in vbi_out_buf_prepare() 70 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_queue() 80 static int vbi_out_start_streaming(struct vb2_queue *vq, unsigned count) in vbi_out_start_streaming() 106 static void vbi_out_stop_streaming(struct vb2_queue *vq) in vbi_out_stop_streaming() 119 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_request_complete()
|
| /linux/drivers/media/common/saa7146/ |
| A D | saa7146_vbi.c | 220 static int queue_setup(struct vb2_queue *q, in queue_setup() 237 struct vb2_queue *vq = vb->vb2_queue; in buf_queue() 255 struct vb2_queue *vq = vb->vb2_queue; in buf_init() 284 struct vb2_queue *vq = vb->vb2_queue; in buf_cleanup() 290 static void return_buffers(struct vb2_queue *q, int state) in return_buffers() 380 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 393 static void stop_streaming(struct vb2_queue *q) in stop_streaming()
|
| /linux/drivers/media/platform/chips-media/wave5/ |
| A D | wave5-helper.h | 21 int wave5_vpu_queue_init(void *priv, struct vb2_queue *src_vq, struct vb2_queue *dst_vq, 30 void wave5_return_bufs(struct vb2_queue *q, u32 state);
|
| /linux/drivers/media/pci/bt8xx/ |
| A D | bttv-vbi.c | 60 static int queue_setup_vbi(struct vb2_queue *q, unsigned int *num_buffers, in queue_setup_vbi() 78 struct vb2_queue *vq = vb->vb2_queue; in buf_queue_vbi() 98 struct vb2_queue *vq = vb->vb2_queue; in buf_prepare_vbi() 117 struct vb2_queue *vq = vb->vb2_queue; in buf_cleanup_vbi() 124 static int start_streaming_vbi(struct vb2_queue *q, unsigned int count) in start_streaming_vbi() 151 static void stop_streaming_vbi(struct vb2_queue *q) in stop_streaming_vbi()
|
| /linux/drivers/media/v4l2-core/ |
| A D | v4l2-mem2mem.c | 578 struct vb2_queue *vq; in v4l2_m2m_reqbufs() 612 struct vb2_queue *vq; in v4l2_m2m_querybuf() 733 struct vb2_queue *q) in v4l2_m2m_force_last_buf_done() 765 struct vb2_queue *vq; in v4l2_m2m_qbuf() 803 struct vb2_queue *vq; in v4l2_m2m_dqbuf() 822 struct vb2_queue *vq; in v4l2_m2m_prepare_buf() 840 struct vb2_queue *vq; in v4l2_m2m_create_bufs() 850 struct vb2_queue *vq; in v4l2_m2m_expbuf() 860 struct vb2_queue *vq; in v4l2_m2m_streamon() 989 struct vb2_queue *vq; in v4l2_m2m_mmap() [all …]
|
| /linux/drivers/media/pci/cx23885/ |
| A D | cx23885-vbi.c | 114 static int queue_setup(struct vb2_queue *q, in queue_setup() 131 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 158 cx23885_free_buffer(vb->vb2_queue->drv_priv, buf); in buffer_finish() 185 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 217 static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count) in cx23885_start_streaming() 228 static void cx23885_stop_streaming(struct vb2_queue *q) in cx23885_stop_streaming()
|
| /linux/drivers/media/pci/cx88/ |
| A D | cx88-vbi.c | 115 static int queue_setup(struct vb2_queue *q, in queue_setup() 132 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare() 156 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_finish() 169 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_queue() 194 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 205 static void stop_streaming(struct vb2_queue *q) in stop_streaming()
|
| /linux/drivers/media/usb/au0828/ |
| A D | au0828-vbi.c | 21 static int vbi_queue_setup(struct vb2_queue *vq, in vbi_queue_setup() 37 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_prepare() 55 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_queue()
|
| /linux/drivers/media/usb/em28xx/ |
| A D | em28xx-vbi.c | 21 static int vbi_queue_setup(struct vb2_queue *vq, in vbi_queue_setup() 46 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_prepare() 67 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_queue()
|
| A D | em28xx-v4l.h | 9 int em28xx_start_analog_streaming(struct vb2_queue *vq, unsigned int count); 10 void em28xx_stop_vbi_streaming(struct vb2_queue *vq);
|
| /linux/drivers/media/platform/verisilicon/ |
| A D | hantro_v4l2.c | 478 struct vb2_queue *vq; in hantro_update_requires_hold_capture_buf() 503 struct vb2_queue *vq; in hantro_set_fmt_out() 568 struct vb2_queue *peer_vq; in hantro_set_fmt_cap() 666 struct vb2_queue *vq; in vidioc_s_selection() 831 struct vb2_queue *vq = vb->vb2_queue; in hantro_buf_prepare() 860 struct hantro_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in hantro_buf_queue() 863 if (V4L2_TYPE_IS_CAPTURE(vb->vb2_queue->type) && in hantro_buf_queue() 864 vb2_is_streaming(vb->vb2_queue) && in hantro_buf_queue() 882 static bool hantro_vq_is_coded(struct vb2_queue *q) in hantro_vq_is_coded() 932 hantro_return_bufs(struct vb2_queue *q, in hantro_return_bufs() [all …]
|
| /linux/drivers/media/platform/chips-media/coda/ |
| A D | coda.h | 204 int (*queue_init)(void *priv, struct vb2_queue *src_vq, 205 struct vb2_queue *dst_vq); 314 int coda_encoder_queue_init(void *priv, struct vb2_queue *src_vq, 315 struct vb2_queue *dst_vq); 316 int coda_decoder_queue_init(void *priv, struct vb2_queue *src_vq, 317 struct vb2_queue *dst_vq);
|