Home
last modified time | relevance | path

Searched refs:vb2_buffer (Results 1 – 25 of 189) sorted by relevance

12345678

/kernel/linux/linux-5.10/include/media/
Dvideobuf2-core.h245 struct vb2_buffer { struct
425 int (*buf_out_validate)(struct vb2_buffer *vb);
426 int (*buf_init)(struct vb2_buffer *vb);
427 int (*buf_prepare)(struct vb2_buffer *vb);
428 void (*buf_finish)(struct vb2_buffer *vb);
429 void (*buf_cleanup)(struct vb2_buffer *vb);
434 void (*buf_queue)(struct vb2_buffer *vb);
436 void (*buf_request_complete)(struct vb2_buffer *vb);
457 int (*verify_planes_array)(struct vb2_buffer *vb, const void *pb);
458 void (*init_buffer)(struct vb2_buffer *vb);
[all …]
Dvideobuf2-dma-sg.h19 struct vb2_buffer *vb, unsigned int plane_no) in vb2_dma_sg_plane_desc()
Dvideobuf2-dma-contig.h20 vb2_dma_contig_plane_dma_addr(struct vb2_buffer *vb, unsigned int plane_no) in vb2_dma_contig_plane_dma_addr()
/kernel/linux/linux-5.10/include/trace/events/
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),
Dv4l2.h182 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),
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
Dvideobuf2-core.c192 static void __enqueue_in_driver(struct vb2_buffer *vb);
214 static int __vb2_buf_mem_alloc(struct vb2_buffer *vb) in __vb2_buf_mem_alloc()
260 static void __vb2_buf_mem_free(struct vb2_buffer *vb) in __vb2_buf_mem_free()
276 static void __vb2_buf_userptr_put(struct vb2_buffer *vb) in __vb2_buf_userptr_put()
291 static void __vb2_plane_dmabuf_put(struct vb2_buffer *vb, struct vb2_plane *p) in __vb2_plane_dmabuf_put()
310 static void __vb2_buf_dmabuf_put(struct vb2_buffer *vb) in __vb2_buf_dmabuf_put()
322 static void __vb2_buf_mem_prepare(struct vb2_buffer *vb) in __vb2_buf_mem_prepare()
341 static void __vb2_buf_mem_finish(struct vb2_buffer *vb) in __vb2_buf_mem_finish()
360 static void __setup_offsets(struct vb2_buffer *vb) in __setup_offsets()
367 struct vb2_buffer *prev = q->bufs[vb->index - 1]; in __setup_offsets()
[all …]
Dvideobuf2-v4l2.c64 static int __verify_planes_array(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __verify_planes_array()
86 static int __verify_planes_array_core(struct vb2_buffer *vb, const void *pb) in __verify_planes_array_core()
95 static int __verify_length(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __verify_length()
134 static void __init_vb2_v4l2_buffer(struct vb2_buffer *vb) in __init_vb2_v4l2_buffer()
141 static void __copy_timestamp(struct vb2_buffer *vb, const void *pb) in __copy_timestamp()
160 static void vb2_warn_zero_bytesused(struct vb2_buffer *vb) in vb2_warn_zero_bytesused()
176 static int vb2_fill_vb2_v4l2_buffer(struct vb2_buffer *vb, struct v4l2_buffer *b) in vb2_fill_vb2_v4l2_buffer()
345 struct vb2_buffer *vb, in set_buffer_cache_hints()
398 struct vb2_buffer *vb; in vb2_queue_or_prepare_buf()
522 static void __fill_v4l2_buffer(struct vb2_buffer *vb, void *pb) in __fill_v4l2_buffer()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/omap/
Domap_vout_vrfb.h23 struct vb2_buffer *vb);
35 struct vb2_buffer *vb) in omap_vout_prepare_vrfb()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dhelpers.h19 int venus_helper_vb2_buf_init(struct vb2_buffer *vb);
20 int venus_helper_vb2_buf_prepare(struct vb2_buffer *vb);
21 void venus_helper_vb2_buf_queue(struct vb2_buffer *vb);
/kernel/linux/linux-5.10/drivers/media/platform/rockchip/rga/
Drga-buf.c38 static int rga_buf_prepare(struct vb2_buffer *vb) in rga_buf_prepare()
51 static void rga_buf_queue(struct vb2_buffer *vb) in rga_buf_queue()
113 void rga_buf_map(struct vb2_buffer *vb) in rga_buf_map()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_enc_hw.h86 struct vb2_buffer *src_buf);
88 struct vb2_buffer *dst_buf);
Dmtk_jpeg_enc_hw.c56 struct vb2_buffer *src_buf) in mtk_jpeg_set_enc_src()
72 struct vb2_buffer *dst_buf) in mtk_jpeg_set_enc_dst()
/kernel/linux/linux-5.10/drivers/media/usb/au0828/
Dau0828-vbi.c34 static int vbi_buffer_prepare(struct vb2_buffer *vb) in vbi_buffer_prepare()
52 vbi_buffer_queue(struct vb2_buffer *vb) in vbi_buffer_queue()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-meta-out.c40 static int meta_out_buf_prepare(struct vb2_buffer *vb) in meta_out_buf_prepare()
65 static void meta_out_buf_queue(struct vb2_buffer *vb) in meta_out_buf_queue()
114 static void meta_out_buf_request_complete(struct vb2_buffer *vb) in meta_out_buf_request_complete()
Dvivid-meta-cap.c40 static int meta_cap_buf_prepare(struct vb2_buffer *vb) in meta_cap_buf_prepare()
65 static void meta_cap_buf_queue(struct vb2_buffer *vb) in meta_cap_buf_queue()
114 static void meta_cap_buf_request_complete(struct vb2_buffer *vb) in meta_cap_buf_request_complete()
Dvivid-vbi-out.c40 static int vbi_out_buf_prepare(struct vb2_buffer *vb) in vbi_out_buf_prepare()
68 static void vbi_out_buf_queue(struct vb2_buffer *vb) in vbi_out_buf_queue()
118 static void vbi_out_buf_request_complete(struct vb2_buffer *vb) in vbi_out_buf_request_complete()
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/
Dcedrus.h195 static inline dma_addr_t cedrus_buf_addr(struct vb2_buffer *buf, in cedrus_buf_addr()
208 struct vb2_buffer *buf = NULL; in cedrus_dst_buf_addr()
228 vb2_to_cedrus_buffer(const struct vb2_buffer *p) in vb2_to_cedrus_buffer()
Dcedrus_video.c430 static int cedrus_buf_out_validate(struct vb2_buffer *vb) in cedrus_buf_out_validate()
438 static int cedrus_buf_prepare(struct vb2_buffer *vb) in cedrus_buf_prepare()
525 static void cedrus_buf_queue(struct vb2_buffer *vb) in cedrus_buf_queue()
533 static void cedrus_buf_request_complete(struct vb2_buffer *vb) in cedrus_buf_request_complete()
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/
Dem28xx-vbi.c54 static int vbi_buffer_prepare(struct vb2_buffer *vb) in vbi_buffer_prepare()
74 vbi_buffer_queue(struct vb2_buffer *vb) in vbi_buffer_queue()
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
Dcx23885-vbi.c128 static int buffer_prepare(struct vb2_buffer *vb) in buffer_prepare()
152 static void buffer_finish(struct vb2_buffer *vb) in buffer_finish()
182 static void buffer_queue(struct vb2_buffer *vb) in buffer_queue()
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-vbi.c129 static int buffer_prepare(struct vb2_buffer *vb) in buffer_prepare()
154 static void buffer_finish(struct vb2_buffer *vb) in buffer_finish()
166 static void buffer_queue(struct vb2_buffer *vb) in buffer_queue()
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_queue.c104 static int uvc_buffer_prepare(struct vb2_buffer *vb) in uvc_buffer_prepare()
131 static void uvc_buffer_queue(struct vb2_buffer *vb) in uvc_buffer_queue()
153 static void uvc_buffer_finish(struct vb2_buffer *vb) in uvc_buffer_finish()
479 struct vb2_buffer *vb = &buf->buf.vb2_buf; in uvc_queue_buffer_complete()
/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvb_vb2.c54 static int _buffer_prepare(struct vb2_buffer *vb) in _buffer_prepare()
71 static void _buffer_queue(struct vb2_buffer *vb) in _buffer_queue()
137 static void _fill_dmx_buffer(struct vb2_buffer *vb, void *pb) in _fill_dmx_buffer()
149 static int _fill_vb2_buffer(struct vb2_buffer *vb, struct vb2_plane *planes) in _fill_vb2_buffer()
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
Dcodec_hevc_common.c72 struct vb2_buffer *vb = &buf->vb.vb2_buf; in codec_hevc_setup_buffers_gxbb()
125 struct vb2_buffer *vb = &buf->vb.vb2_buf; in codec_hevc_setup_buffers_gxl()
281 struct vb2_buffer *vb) in codec_hevc_fill_mmu_map()
/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda.h358 int coda_sps_parse_profile(struct coda_ctx *ctx, struct vb2_buffer *vb);
372 bool coda_jpeg_check_buffer(struct coda_ctx *ctx, struct vb2_buffer *vb);
373 int coda_jpeg_decode_header(struct coda_ctx *ctx, struct vb2_buffer *vb);

12345678