| /linux/include/media/ |
| H 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); 448 int (*prepare_streaming)(struct vb2_queue *q); 449 int (*start_streaming)(struct vb2_queue *q, unsigned int count); 450 void (*stop_streaming)(struct vb2_queue *q); 451 void (*unprepare_streaming)(struct vb2_queue *q); 611 struct vb2_queue { struct [all …]
|
| H A D | videobuf2-v4l2.h | 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); 85 int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req); 95 int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create); 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); 183 int vb2_dqbuf(struct vb2_queue *q, struct v4l2_buffer *b, bool nonblocking); 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); [all …]
|
| H A D | v4l2-mc.h | 86 int v4l_vb2q_enable_media_source(struct vb2_queue *q); 212 static inline int v4l_vb2q_enable_media_source(struct vb2_queue *q) in v4l_vb2q_enable_media_source()
|
| /linux/drivers/media/common/videobuf2/ |
| H A D | videobuf2-core.c | 65 dprintk((vb)->vb2_queue, 2, "call_memop(%d, %s)%s\n", \ 67 (vb)->vb2_queue->mem_ops->op ? "" : " (nop)") 71 struct vb2_queue *_q = (vb)->vb2_queue; \ 83 struct vb2_queue *_q = (vb)->vb2_queue; \ 95 struct vb2_queue *_q = (vb)->vb2_queue; \ 127 dprintk((vb)->vb2_queue, 2, "call_vb_qop(%d, %s)%s\n", \ 129 (vb)->vb2_queue->ops->op ? "" : " (nop)") 136 err = (vb)->vb2_queue->ops->op ? \ 137 (vb)->vb2_queue->ops->op(args) : 0; \ 146 if ((vb)->vb2_queue->ops->op) \ [all …]
|
| H 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() 314 if (!vb->vb2_queue->copy_timestamp || V4L2_TYPE_IS_CAPTURE(b->type)) { in vb2_fill_vb2_v4l2_buffer() 344 static void set_buffer_cache_hints(struct vb2_queue *q, in set_buffer_cache_hints() 366 static int vb2_queue_or_prepare_buf(struct vb2_queue *q, struct media_device *mdev, in vb2_queue_or_prepare_buf() [all …]
|
| H A D | videobuf2-vmalloc.c | 42 buf = kzalloc(sizeof(*buf), GFP_KERNEL | vb->vb2_queue->gfp_flags); in vb2_vmalloc_alloc() 54 buf->dma_dir = vb->vb2_queue->dma_dir; in vb2_vmalloc_alloc() 85 buf->dma_dir = vb->vb2_queue->dma_dir; in vb2_vmalloc_get_userptr() 417 buf->dma_dir = vb->vb2_queue->dma_dir; in vb2_vmalloc_attach_dmabuf()
|
| /linux/drivers/media/dvb-core/ |
| H A D | dvb_vb2.c | 29 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 *q = &ctx->vb_q; in dvb_vb2_init() [all …]
|
| /linux/drivers/media/platform/mediatek/vcodec/decoder/ |
| H 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/include/trace/events/ |
| H 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),
|
| H A D | v4l2.h | 182 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 246 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 251 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 256 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 261 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
|
| /linux/drivers/media/common/saa7146/ |
| H 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()
|
| H A D | saa7146_video.c | 556 static int queue_setup(struct vb2_queue *q, in queue_setup() 574 struct vb2_queue *vq = vb->vb2_queue; in buf_queue() 589 struct vb2_queue *vq = vb->vb2_queue; in buf_init() 614 struct vb2_queue *vq = vb->vb2_queue; in buf_prepare() 629 struct vb2_queue *vq = vb->vb2_queue; in buf_cleanup() 635 static void return_buffers(struct vb2_queue *q, int state) in return_buffers() 653 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 666 static void stop_streaming(struct vb2_queue *q) in stop_streaming()
|
| /linux/drivers/media/usb/em28xx/ |
| H 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/staging/media/sunxi/cedrus/ |
| H 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/visl/ |
| H A D | visl-video.h | 22 int visl_queue_init(void *priv, struct vb2_queue *src_vq, 23 struct vb2_queue *dst_vq);
|
| /linux/drivers/media/platform/chips-media/coda/ |
| H 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);
|
| /linux/drivers/media/platform/mediatek/vcodec/encoder/ |
| H A D | mtk_vcodec_enc.h | 45 int mtk_vcodec_enc_queue_init(void *priv, struct vb2_queue *src_vq, 46 struct vb2_queue *dst_vq);
|
| /linux/drivers/staging/media/tegra-video/ |
| H A D | vi.h | 63 int (*vi_start_streaming)(struct vb2_queue *vq, u32 count); 64 void (*vi_stop_streaming)(struct vb2_queue *vq); 202 struct vb2_queue queue;
|
| /linux/drivers/media/pci/saa7134/ |
| H A D | saa7134-ts.c | 70 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in saa7134_ts_buffer_init() 83 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in saa7134_ts_buffer_prepare() 106 int saa7134_ts_queue_setup(struct vb2_queue *q, in saa7134_ts_queue_setup() 125 int saa7134_ts_start_streaming(struct vb2_queue *vq, unsigned int count) in saa7134_ts_start_streaming() 154 void saa7134_ts_stop_streaming(struct vb2_queue *vq) in saa7134_ts_stop_streaming()
|
| H A D | saa7134-vbi.c | 73 struct saa7134_dmaqueue *dmaq = buf->vb2.vb2_buf.vb2_queue->drv_priv; in buffer_activate() 107 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_prepare() 128 static int queue_setup(struct vb2_queue *q, in queue_setup() 150 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_init()
|
| H A D | saa7134.h | 593 struct vb2_queue video_vbq; 595 struct vb2_queue vbi_vbq; 612 struct vb2_queue empress_vbq; 795 int saa7134_vb2_start_streaming(struct vb2_queue *vq, unsigned int count); 796 void saa7134_vb2_stop_streaming(struct vb2_queue *vq); 832 int saa7134_ts_queue_setup(struct vb2_queue *q, 835 int saa7134_ts_start_streaming(struct vb2_queue *vq, unsigned int count); 836 void saa7134_ts_stop_streaming(struct vb2_queue *vq);
|
| /linux/drivers/media/usb/au0828/ |
| H A D | au0828.h | 205 struct vb2_queue vb_vidq; 206 struct vb2_queue vb_vbiq; 320 extern int au0828_start_analog_streaming(struct vb2_queue *vq, 322 extern void au0828_stop_vbi_streaming(struct vb2_queue *vq);
|
| /linux/drivers/media/usb/stk1160/ |
| H A D | stk1160-v4l.c | 483 struct vb2_queue *q = &dev->vb_vidq; in vidioc_s_fmt_vid_cap() 518 struct vb2_queue *q = &dev->vb_vidq; in vidioc_s_std() 650 static int queue_setup(struct vb2_queue *vq, in queue_setup() 683 struct stk1160 *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 715 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 722 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 777 struct vb2_queue *q; in stk1160_vb2_setup()
|
| /linux/drivers/media/i2c/ |
| H A D | video-i2c.c | 86 struct vb2_queue vb_vidq; 391 static int queue_setup(struct vb2_queue *vq, in queue_setup() 414 struct video_i2c_data *data = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() 429 struct video_i2c_data *data = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() 489 static void video_i2c_del_list(struct vb2_queue *vq, enum vb2_buffer_state state) in video_i2c_del_list() 504 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming() 536 static void stop_streaming(struct vb2_queue *vq) in stop_streaming() 750 struct vb2_queue *queue; in video_i2c_probe()
|
| /linux/drivers/media/platform/rockchip/rkisp1/ |
| H A D | rkisp1-stats.c | 91 static int rkisp1_stats_vb2_queue_setup(struct vb2_queue *vq, in rkisp1_stats_vb2_queue_setup() 112 struct vb2_queue *vq = vb->vb2_queue; in rkisp1_stats_vb2_buf_queue() 131 static void rkisp1_stats_vb2_stop_streaming(struct vb2_queue *vq) in rkisp1_stats_vb2_stop_streaming() 157 rkisp1_stats_init_vb2_queue(struct vb2_queue *q, struct rkisp1_stats *stats) in rkisp1_stats_init_vb2_queue()
|