Home
last modified time | relevance | path

Searched refs:vb2_v4l2_buffer (Results 1 – 25 of 229) sorted by relevance

12345678910

/linux-6.1.9/include/media/
Dv4l2-mem2mem.h106 struct vb2_v4l2_buffer *last_src_buf;
132 struct vb2_v4l2_buffer vb;
222 v4l2_m2m_buf_done(struct vb2_v4l2_buffer *buf, enum vb2_buffer_state state) in v4l2_m2m_buf_done()
293 struct vb2_v4l2_buffer *vbuf) in v4l2_m2m_is_last_draining_src_buf()
305 struct vb2_v4l2_buffer *vbuf);
585 struct vb2_v4l2_buffer *vbuf);
616 struct vb2_v4l2_buffer *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx);
624 static inline struct vb2_v4l2_buffer *
636 static inline struct vb2_v4l2_buffer *
647 struct vb2_v4l2_buffer *v4l2_m2m_last_buf(struct v4l2_m2m_queue_ctx *q_ctx);
[all …]
Dvideobuf2-v4l2.h44 struct vb2_v4l2_buffer { struct
63 container_of(vb, struct vb2_v4l2_buffer, vb2_buf)
/linux-6.1.9/drivers/media/platform/amphion/
Dvpu_v4l2.h13 void vpu_set_buffer_state(struct vb2_v4l2_buffer *vbuf, unsigned int state);
14 unsigned int vpu_get_buffer_state(struct vb2_v4l2_buffer *vbuf);
22 struct vb2_v4l2_buffer *vpu_next_src_buf(struct vpu_inst *inst);
24 struct vb2_v4l2_buffer *vpu_find_buf_by_sequence(struct vpu_inst *inst, u32 type, u32 sequence);
25 struct vb2_v4l2_buffer *vpu_find_buf_by_idx(struct vpu_inst *inst, u32 type, u32 idx);
49 static inline int vpu_vb_is_codecconfig(struct vb2_v4l2_buffer *vbuf) in vpu_vb_is_codecconfig()
Dvpu_v4l2.c52 void vpu_set_buffer_state(struct vb2_v4l2_buffer *vbuf, unsigned int state) in vpu_set_buffer_state()
59 unsigned int vpu_get_buffer_state(struct vb2_v4l2_buffer *vbuf) in vpu_get_buffer_state()
197 struct vb2_v4l2_buffer *vbuf = NULL; in vpu_process_output_buffer()
223 struct vb2_v4l2_buffer *vbuf = NULL; in vpu_process_capture_buffer()
243 struct vb2_v4l2_buffer *vpu_next_src_buf(struct vpu_inst *inst) in vpu_next_src_buf()
245 struct vb2_v4l2_buffer *src_buf = NULL; in vpu_next_src_buf()
269 struct vb2_v4l2_buffer *src_buf; in vpu_skip_frame()
290 struct vb2_v4l2_buffer *vpu_find_buf_by_sequence(struct vpu_inst *inst, u32 type, u32 sequence) in vpu_find_buf_by_sequence()
293 struct vb2_v4l2_buffer *vbuf = NULL; in vpu_find_buf_by_sequence()
317 struct vb2_v4l2_buffer *vpu_find_buf_by_idx(struct vpu_inst *inst, u32 type, u32 idx) in vpu_find_buf_by_idx()
[all …]
/linux-6.1.9/drivers/media/platform/chips-media/
Dtrace.h53 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
74 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
79 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
84 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
111 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
152 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
158 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
163 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
/linux-6.1.9/drivers/staging/media/rkvdec/
Drkvdec.h38 struct vb2_v4l2_buffer *src;
39 struct vb2_v4l2_buffer *dst;
72 void (*done)(struct rkvdec_ctx *ctx, struct vb2_v4l2_buffer *src_buf,
73 struct vb2_v4l2_buffer *dst_buf,
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dhelpers.h15 struct vb2_v4l2_buffer *venus_helper_find_buf(struct venus_inst *inst,
18 struct vb2_v4l2_buffer *vbuf, unsigned int type,
52 void venus_helper_acquire_buf_ref(struct vb2_v4l2_buffer *vbuf);
69 struct vb2_v4l2_buffer *vbuf);
Dhelpers.c435 struct vb2_v4l2_buffer *vbuf) in return_buf_error()
448 put_ts_metadata(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) in put_ts_metadata()
477 struct vb2_v4l2_buffer *vbuf) in venus_helper_get_ts_metadata()
499 session_process_buf(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) in session_process_buf()
1391 void venus_helper_acquire_buf_ref(struct vb2_v4l2_buffer *vbuf) in venus_helper_acquire_buf_ref()
1399 static int is_buf_refed(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) in is_buf_refed()
1412 struct vb2_v4l2_buffer *
1425 struct vb2_v4l2_buffer *vbuf, unsigned int type, in venus_helper_change_dpb_owner()
1445 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in venus_helper_vb2_buf_init()
1462 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in venus_helper_vb2_buf_prepare()
[all …]
/linux-6.1.9/drivers/media/platform/renesas/vsp1/
Dvsp1_video.h20 struct vb2_v4l2_buffer buf;
26 to_vsp1_vb2_buffer(struct vb2_v4l2_buffer *vbuf) in to_vsp1_vb2_buffer()
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-m2m.c45 struct vb2_v4l2_buffer *src_vbuf, *dst_vbuf; in mdp_m2m_process_done()
47 src_vbuf = (struct vb2_v4l2_buffer *) in mdp_m2m_process_done()
49 dst_vbuf = (struct vb2_v4l2_buffer *) in mdp_m2m_process_done()
65 struct vb2_v4l2_buffer *src_vb, *dst_vb; in mdp_m2m_device_run()
169 static struct vb2_v4l2_buffer *mdp_m2m_buf_remove(struct mdp_m2m_ctx *ctx, in mdp_m2m_buf_remove()
173 return (struct vb2_v4l2_buffer *) in mdp_m2m_buf_remove()
176 return (struct vb2_v4l2_buffer *) in mdp_m2m_buf_remove()
183 struct vb2_v4l2_buffer *vb; in mdp_m2m_stop_streaming()
223 struct vb2_v4l2_buffer *v4l2_buf = to_vb2_v4l2_buffer(vb); in mdp_m2m_buf_prepare()
240 struct vb2_v4l2_buffer *v4l2_buf = to_vb2_v4l2_buffer(vb); in mdp_m2m_buf_out_validate()
[all …]
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-mem2mem.c136 struct vb2_v4l2_buffer *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx) in v4l2_m2m_next_buf()
154 struct vb2_v4l2_buffer *v4l2_m2m_last_buf(struct v4l2_m2m_queue_ctx *q_ctx) in v4l2_m2m_last_buf()
172 struct vb2_v4l2_buffer *v4l2_m2m_buf_remove(struct v4l2_m2m_queue_ctx *q_ctx) in v4l2_m2m_buf_remove()
192 struct vb2_v4l2_buffer *vbuf) in v4l2_m2m_buf_remove_by_buf()
205 struct vb2_v4l2_buffer *
210 struct vb2_v4l2_buffer *ret = NULL; in v4l2_m2m_buf_remove_by_idx()
300 struct vb2_v4l2_buffer *dst, *src; in __v4l2_m2m_try_queue()
510 struct vb2_v4l2_buffer *src_buf, *dst_buf; in v4l2_m2m_buf_done_and_job_finish()
632 struct vb2_v4l2_buffer *vbuf) in v4l2_m2m_last_buffer_done()
644 struct vb2_v4l2_buffer *next_dst_buf; in v4l2_update_last_buf_state()
[all …]
/linux-6.1.9/drivers/staging/media/meson/vdec/
Dvdec_helpers.h45 struct vb2_v4l2_buffer *vbuf, u32 field);
47 struct vb2_v4l2_buffer *vbuf,
/linux-6.1.9/drivers/media/platform/verisilicon/
Dhantro_g1_h264_dec.c22 static void set_params(struct hantro_ctx *ctx, struct vb2_v4l2_buffer *src_buf) in set_params()
205 static void set_buffers(struct hantro_ctx *ctx, struct vb2_v4l2_buffer *src_buf) in set_buffers()
208 struct vb2_v4l2_buffer *dst_buf; in set_buffers()
253 struct vb2_v4l2_buffer *src_buf; in hantro_g1_h264_dec_run()
Dhantro_g1_vp8_dec.c235 struct vb2_v4l2_buffer *vb2_src; in cfg_parts()
371 struct vb2_v4l2_buffer *vb2_dst) in cfg_ref()
408 struct vb2_v4l2_buffer *vb2_dst) in cfg_buffers()
436 struct vb2_v4l2_buffer *vb2_dst; in hantro_g1_vp8_dec_run()
Dhantro_h1_jpeg_enc.c109 struct vb2_v4l2_buffer *src_buf, *dst_buf; in hantro_h1_jpeg_enc_run()
162 struct vb2_v4l2_buffer *dst_buf = hantro_get_dst_buf(ctx); in hantro_h1_jpeg_enc_done()
/linux-6.1.9/drivers/staging/media/sunxi/cedrus/
Dcedrus.h93 struct vb2_v4l2_buffer *src;
94 struct vb2_v4l2_buffer *dst;
260 vb2_v4l2_to_cedrus_buffer(const struct vb2_v4l2_buffer *p) in vb2_v4l2_to_cedrus_buffer()
/linux-6.1.9/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_dma.c20 struct vb2_v4l2_buffer vb;
25 vb2_v4l2_to_csi_buffer(const struct vb2_v4l2_buffer *p) in vb2_v4l2_to_csi_buffer()
114 struct vb2_v4l2_buffer *v_buf; in sun4i_csi_buffer_fill_slot()
162 struct vb2_v4l2_buffer *v_buf; in sun4i_csi_buffer_mark_done()
216 struct vb2_v4l2_buffer *v_buf = csi->current_buf[slot]; in return_all_buffers()
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec_stateless.c132 struct vb2_v4l2_buffer *vb2_dst; in mtk_vdec_stateless_cap_to_disp()
156 struct vb2_v4l2_buffer *vb2_v4l2; in vdec_get_cap_buffer()
199 struct vb2_v4l2_buffer *vb2_v4l2_src; in mtk_vdec_worker()
270 struct vb2_v4l2_buffer *vb2_v4l2 = to_vb2_v4l2_buffer(vb); in vb2ops_vdec_stateless_buf_queue()
440 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vb2ops_vdec_out_buf_validate()
Dmtk_vcodec_dec_stateful.c62 struct vb2_v4l2_buffer *vb; in get_display_buffer()
104 struct vb2_v4l2_buffer *vb; in get_free_buffer()
281 struct vb2_v4l2_buffer *src_buf, *dst_buf; in mtk_vdec_worker()
415 struct vb2_v4l2_buffer *src_buf; in vb2ops_vdec_stateful_buf_queue()
421 struct vb2_v4l2_buffer *vb2_v4l2; in vb2ops_vdec_stateful_buf_queue()
/linux-6.1.9/drivers/media/platform/ti/omap/
Domap_voutdef.h120 struct vb2_v4l2_buffer vbuf;
126 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vb2_to_omap_vout_buffer()
/linux-6.1.9/drivers/media/platform/rockchip/rga/
Drga-buf.c53 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rga_buf_queue()
63 struct vb2_v4l2_buffer *vbuf; in rga_buf_return_buffers()
/linux-6.1.9/drivers/media/pci/cx23885/
Dcx23885-vbi.c130 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare()
154 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish()
184 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue()
/linux-6.1.9/drivers/media/pci/cx88/
Dcx88-vbi.c131 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare()
155 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish()
168 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue()
/linux-6.1.9/drivers/media/usb/uvc/
Duvc_queue.c35 static inline struct uvc_buffer *uvc_vbuf_to_buffer(struct vb2_v4l2_buffer *buf) in uvc_vbuf_to_buffer()
100 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in uvc_buffer_prepare()
128 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in uvc_buffer_queue()
151 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in uvc_buffer_finish()
/linux-6.1.9/drivers/media/platform/st/sti/delta/
Ddelta-v4l2.c92 struct vb2_v4l2_buffer *vbuf; in delta_au_done()
102 struct vb2_v4l2_buffer *vbuf; in delta_frame_done()
119 struct vb2_v4l2_buffer *vbuf; in requeue_free_frames()
146 struct vb2_v4l2_buffer *vbuf = &frame->vbuf; in delta_recycle()
931 struct vb2_v4l2_buffer *vbuf; in delta_run_work()
1119 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in delta_vb2_au_prepare()
1242 struct vb2_v4l2_buffer *vbuf; in delta_get_free_frame()
1298 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in delta_vb2_au_queue()
1311 struct vb2_v4l2_buffer *vbuf = NULL; in delta_vb2_au_start_streaming()
1400 struct vb2_v4l2_buffer *vbuf; in delta_vb2_au_stop_streaming()
[all …]

12345678910