/linux/include/media/ |
H A D | v4l2-mem2mem.h | 112 struct vb2_v4l2_buffer *last_src_buf; 139 struct vb2_v4l2_buffer vb; 229 v4l2_m2m_buf_done(struct vb2_v4l2_buffer *buf, enum vb2_buffer_state state) in v4l2_m2m_buf_done() 300 struct vb2_v4l2_buffer *vbuf) in v4l2_m2m_is_last_draining_src_buf() 312 struct vb2_v4l2_buffer *vbuf); 592 struct vb2_v4l2_buffer *vbuf); 637 struct vb2_v4l2_buffer *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx); 645 static inline struct vb2_v4l2_buffer * 657 static inline struct vb2_v4l2_buffer * 668 struct vb2_v4l2_buffer *v4l2_m2m_last_buf(struct v4l2_m2m_queue_ctx *q_ctx); [all …]
|
H A D | videobuf2-v4l2.h | 44 struct vb2_v4l2_buffer { struct 63 container_of(vb, struct vb2_v4l2_buffer, vb2_buf)
|
/linux/drivers/media/platform/amphion/ |
H A D | vpu_v4l2.h | 13 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); 15 void vpu_set_buffer_average_qp(struct vb2_v4l2_buffer *vbuf, u32 qp); 24 struct vb2_v4l2_buffer *vpu_next_src_buf(struct vpu_inst *inst); 26 struct vb2_v4l2_buffer *vpu_find_buf_by_sequence(struct vpu_inst *inst, u32 type, u32 sequence); 27 struct vb2_v4l2_buffer *vpu_find_buf_by_idx(struct vpu_inst *inst, u32 type, u32 idx); 51 static inline int vpu_vb_is_codecconfig(struct vb2_v4l2_buffer *vbuf) in vpu_vb_is_codecconfig()
|
/linux/drivers/media/platform/chips-media/coda/ |
H A D | trace.h | 53 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/drivers/staging/media/rkvdec/ |
H A D | rkvdec.h | 38 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/drivers/media/platform/qcom/venus/ |
H A D | helpers.h | 15 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);
|
H A D | helpers.c | 435 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() 1393 void venus_helper_acquire_buf_ref(struct vb2_v4l2_buffer *vbuf) in venus_helper_acquire_buf_ref() 1401 static int is_buf_refed(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) in is_buf_refed() 1414 struct vb2_v4l2_buffer * 1427 struct vb2_v4l2_buffer *vbuf, unsigned int type, in venus_helper_change_dpb_owner() 1447 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in venus_helper_vb2_buf_init() 1464 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in venus_helper_vb2_buf_prepare() [all …]
|
/linux/drivers/media/platform/mediatek/jpeg/ |
H A D | mtk_jpeg_core.h | 85 struct vb2_v4l2_buffer b; 99 struct vb2_v4l2_buffer *src_buffer; 100 struct vb2_v4l2_buffer *dst_buffer;
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-mem2mem.c | 136 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() 513 struct vb2_v4l2_buffer *src_buf, *dst_buf; in v4l2_m2m_buf_done_and_job_finish() 635 struct vb2_v4l2_buffer *vbuf) in v4l2_m2m_last_buffer_done() 647 struct vb2_v4l2_buffer *next_dst_buf; in v4l2_update_last_buf_state() [all …]
|
/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_video.h | 20 struct vb2_v4l2_buffer buf; 26 to_vsp1_vb2_buffer(struct vb2_v4l2_buffer *vbuf) in to_vsp1_vb2_buffer()
|
/linux/drivers/media/pci/mgb4/ |
H A D | mgb4_io.h | 25 struct vb2_v4l2_buffer vb; 29 static inline struct mgb4_frame_buffer *to_frame_buffer(struct vb2_v4l2_buffer *vbuf) in to_frame_buffer()
|
/linux/drivers/media/test-drivers/visl/ |
H A D | visl-dec.h | 56 struct vb2_v4l2_buffer *src; 57 struct vb2_v4l2_buffer *dst;
|
/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_g1_h264_dec.c | 22 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()
|
H A D | hantro_g1_vp8_dec.c | 235 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()
|
H A D | hantro_h1_jpeg_enc.c | 109 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()
|
H A D | rockchip_vpu2_hw_vp8_dec.c | 348 struct vb2_v4l2_buffer *vb2_src; in cfg_parts() 448 struct vb2_v4l2_buffer *vb2_dst) in cfg_ref() 484 struct vb2_v4l2_buffer *vb2_dst) in cfg_buffers() 513 struct vb2_v4l2_buffer *vb2_dst; in rockchip_vpu2_vp8_dec_run()
|
H A D | rockchip_vpu2_hw_jpeg_enc.c | 135 struct vb2_v4l2_buffer *src_buf, *dst_buf; in rockchip_vpu2_jpeg_enc_run() 193 struct vb2_v4l2_buffer *dst_buf = hantro_get_dst_buf(ctx); in rockchip_vpu2_jpeg_enc_done()
|
/linux/drivers/staging/media/meson/vdec/ |
H A D | vdec_helpers.h | 45 struct vb2_v4l2_buffer *vbuf, u32 field); 47 struct vb2_v4l2_buffer *vbuf,
|
H A D | vdec_helpers.c | 274 struct vb2_v4l2_buffer *vbuf, in dst_buf_done() 324 struct vb2_v4l2_buffer *vbuf, u32 field) in amvdec_dst_buf_done() 358 struct vb2_v4l2_buffer *vbuf, in amvdec_dst_buf_done_offset() 409 struct vb2_v4l2_buffer *vbuf; in amvdec_dst_buf_done_idx()
|
/linux/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus.h | 85 struct vb2_v4l2_buffer *src; 86 struct vb2_v4l2_buffer *dst; 254 vb2_v4l2_to_cedrus_buffer(const struct vb2_v4l2_buffer *p) in vb2_v4l2_to_cedrus_buffer()
|
/linux/drivers/media/platform/rockchip/rga/ |
H A D | rga.h | 101 struct vb2_v4l2_buffer vb_buf; 113 static inline struct rga_vb_buffer *vb_to_rga(struct vb2_v4l2_buffer *vb) in vb_to_rga()
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-common.h | 251 struct vb2_v4l2_buffer vb; 265 struct vb2_v4l2_buffer vb; 271 to_rkisp1_params_buffer(struct vb2_v4l2_buffer *vbuf) in to_rkisp1_params_buffer()
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateful.c | 59 struct vb2_v4l2_buffer *vb; in get_display_buffer() 102 struct vb2_v4l2_buffer *vb; in get_free_buffer() 280 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/drivers/media/platform/st/sti/hva/ |
H A D | hva.h | 116 struct vb2_v4l2_buffer vbuf; 142 struct vb2_v4l2_buffer vbuf;
|
/linux/drivers/media/pci/zoran/ |
H A D | zoran.h | 36 struct vb2_v4l2_buffer vbuf; 42 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vb2_to_zr_buffer()
|