Home
last modified time | relevance | path

Searched refs:vb2_src (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_stateless.c290 struct vb2_buffer *vb2_src; in mtk_vdec_worker() local
305 vb2_src = &vb2_v4l2_src->vb2_buf; in mtk_vdec_worker()
311 vb2_src->vb2_queue->type, vb2_src->index, vb2_src); in mtk_vdec_worker()
313 bs_src->va = vb2_plane_vaddr(vb2_src, 0); in mtk_vdec_worker()
314 bs_src->dma_addr = vb2_dma_contig_plane_dma_addr(vb2_src, 0); in mtk_vdec_worker()
315 bs_src->size = (size_t)vb2_src->planes[0].bytesused; in mtk_vdec_worker()
319 vb2_src->index); in mtk_vdec_worker()
324 ctx->id, bs_src->va, &bs_src->dma_addr, bs_src->size, vb2_src); in mtk_vdec_worker()
326 src_buf_req = vb2_src->req_obj.req; in mtk_vdec_worker()
336 ctx->id, vb2_src->index, bs_src->size, in mtk_vdec_worker()
[all …]
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_g1_vp8_dec.c235 struct vb2_v4l2_buffer *vb2_src; in cfg_parts() local
245 vb2_src = hantro_get_src_buf(ctx); in cfg_parts()
246 src_dma = vb2_dma_contig_plane_dma_addr(&vb2_src->vb2_buf, 0); in cfg_parts()
H A Drockchip_vpu2_hw_vp8_dec.c348 struct vb2_v4l2_buffer *vb2_src; in cfg_parts() local
357 vb2_src = hantro_get_src_buf(ctx); in cfg_parts()
358 src_dma = vb2_dma_contig_plane_dma_addr(&vb2_src->vb2_buf, 0); in cfg_parts()
H A Dhantro_g2_vp9_dec.c792 struct vb2_v4l2_buffer *vb2_src) in config_source() argument
801 stream_base = vb2_dma_contig_plane_dma_addr(&vb2_src->vb2_buf, 0); in config_source()
812 src_len = vb2_get_plane_payload(&vb2_src->vb2_buf, 0); in config_source()
819 src_buf_len = vb2_plane_size(&vb2_src->vb2_buf, 0); in config_source()
826 struct vb2_v4l2_buffer *vb2_src, struct vb2_v4l2_buffer *vb2_dst) in config_registers() argument
902 config_source(ctx, dec_params, vb2_src); in config_registers()
H A Drockchip_vpu981_hw_av1_dec.c2049 struct vb2_v4l2_buffer *vb2_src) in rockchip_vpu981_av1_dec_set_input_buffer() argument
2060 src_dma = vb2_dma_contig_plane_dma_addr(&vb2_src->vb2_buf, 0); in rockchip_vpu981_av1_dec_set_input_buffer()
2061 src_len = vb2_get_plane_payload(&vb2_src->vb2_buf, 0); in rockchip_vpu981_av1_dec_set_input_buffer()
2062 src_buf_len = vb2_plane_size(&vb2_src->vb2_buf, 0); in rockchip_vpu981_av1_dec_set_input_buffer()
2099 struct vb2_v4l2_buffer *vb2_src; in rockchip_vpu981_av1_dec_run() local
2108 vb2_src = hantro_get_src_buf(ctx); in rockchip_vpu981_av1_dec_run()
2109 if (!vb2_src) { in rockchip_vpu981_av1_dec_run()
2115 rockchip_vpu981_av1_dec_frame_ref(ctx, vb2_src->vb2_buf.timestamp); in rockchip_vpu981_av1_dec_run()
2153 rockchip_vpu981_av1_dec_set_input_buffer(ctx, vb2_src); in rockchip_vpu981_av1_dec_run()