Home
last modified time | relevance | path

Searched refs:lat_buf (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_msg_queue.c204 struct vdec_lat_buf *lat_buf; in vdec_msg_queue_deinit() local
212 lat_buf = &msg_queue->lat_buf[i]; in vdec_msg_queue_deinit()
214 mem = &lat_buf->wdma_err_addr; in vdec_msg_queue_deinit()
218 mem = &lat_buf->slice_bc_addr; in vdec_msg_queue_deinit()
222 mem = &lat_buf->rd_mv_addr; in vdec_msg_queue_deinit()
226 mem = &lat_buf->tile_addr; in vdec_msg_queue_deinit()
230 kfree(lat_buf->private_data); in vdec_msg_queue_deinit()
231 lat_buf->private_data = NULL; in vdec_msg_queue_deinit()
245 struct vdec_lat_buf *lat_buf; in vdec_msg_queue_core_work() local
251 lat_buf = vdec_msg_queue_dqbuf(&msg_queue->core_ctx); in vdec_msg_queue_core_work()
[all …]
H A Dvdec_msg_queue.h20 typedef int (*core_decode_cb_t)(struct vdec_lat_buf *lat_buf);
104 struct vdec_lat_buf lat_buf[NUM_BUFFER_COUNT]; member
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_hevc_req_multi_if.c732 struct vdec_lat_buf *lat_buf, in vdec_hevc_slice_setup_lat_buffer() argument
744 lat_buf->src_buf_req = src_buf_info->m2m_buf.vb.vb2_buf.req_obj.req; in vdec_hevc_slice_setup_lat_buffer()
745 v4l2_m2m_buf_copy_metadata(&src_buf_info->m2m_buf.vb, &lat_buf->ts_info, true); in vdec_hevc_slice_setup_lat_buffer()
765 inst->vsi->ube.dma_addr = lat_buf->ctx->msg_queue.wdma_addr.dma_addr; in vdec_hevc_slice_setup_lat_buffer()
766 inst->vsi->ube.size = lat_buf->ctx->msg_queue.wdma_addr.size; in vdec_hevc_slice_setup_lat_buffer()
768 inst->vsi->err_map.dma_addr = lat_buf->wdma_err_addr.dma_addr; in vdec_hevc_slice_setup_lat_buffer()
769 inst->vsi->err_map.size = lat_buf->wdma_err_addr.size; in vdec_hevc_slice_setup_lat_buffer()
771 inst->vsi->slice_bc.dma_addr = lat_buf->slice_bc_addr.dma_addr; in vdec_hevc_slice_setup_lat_buffer()
772 inst->vsi->slice_bc.size = lat_buf->slice_bc_addr.size; in vdec_hevc_slice_setup_lat_buffer()
777 share_info = lat_buf->private_data; in vdec_hevc_slice_setup_lat_buffer()
[all …]
H A Dvdec_h264_req_multi_if.c453 static int vdec_h264_slice_core_decode(struct vdec_lat_buf *lat_buf) in vdec_h264_slice_core_decode() argument
459 struct mtk_vcodec_dec_ctx *ctx = lat_buf->ctx; in vdec_h264_slice_core_decode()
462 struct vdec_h264_slice_share_info *share_info = lat_buf->private_data; in vdec_h264_slice_core_decode()
492 lat_buf->ctx->msg_queue.wdma_addr.dma_addr; in vdec_h264_slice_core_decode()
494 lat_buf->ctx->msg_queue.wdma_addr.dma_addr + in vdec_h264_slice_core_decode()
495 lat_buf->ctx->msg_queue.wdma_addr.size; in vdec_h264_slice_core_decode()
496 inst->vsi_core->wdma_err_addr = lat_buf->wdma_err_addr.dma_addr; in vdec_h264_slice_core_decode()
497 inst->vsi_core->slice_bc_start_addr = lat_buf->slice_bc_addr.dma_addr; in vdec_h264_slice_core_decode()
498 inst->vsi_core->slice_bc_end_addr = lat_buf->slice_bc_addr.dma_addr + in vdec_h264_slice_core_decode()
499 lat_buf->slice_bc_addr.size; in vdec_h264_slice_core_decode()
[all …]
H A Dvdec_av1_req_lat_if.c740 static int vdec_av1_slice_core_decode(struct vdec_lat_buf *lat_buf);
1065 struct vdec_lat_buf *lat_buf) in vdec_av1_slice_setup_lat_from_src_buf() argument
1074 lat_buf->src_buf_req = src->vb2_buf.req_obj.req; in vdec_av1_slice_setup_lat_from_src_buf()
1075 dst = &lat_buf->ts_info; in vdec_av1_slice_setup_lat_from_src_buf()
1595 struct vdec_lat_buf *lat_buf) in vdec_av1_slice_setup_lat_buffer() argument
1603 vsi->ube.dma_addr = lat_buf->ctx->msg_queue.wdma_addr.dma_addr; in vdec_av1_slice_setup_lat_buffer()
1604 vsi->ube.size = lat_buf->ctx->msg_queue.wdma_addr.size; in vdec_av1_slice_setup_lat_buffer()
1605 vsi->trans.dma_addr = lat_buf->ctx->msg_queue.wdma_wptr_addr; in vdec_av1_slice_setup_lat_buffer()
1607 vsi->trans.dma_addr_end = lat_buf->ctx->msg_queue.wdma_rptr_addr; in vdec_av1_slice_setup_lat_buffer()
1608 vsi->err_map.dma_addr = lat_buf->wdma_err_addr.dma_addr; in vdec_av1_slice_setup_lat_buffer()
[all …]
H A Dvdec_vp9_req_lat_if.c502 static int vdec_vp9_slice_core_decode(struct vdec_lat_buf *lat_buf);
716 struct vdec_lat_buf *lat_buf) in vdec_vp9_slice_setup_lat_from_src_buf() argument
725 lat_buf->src_buf_req = src->vb2_buf.req_obj.req; in vdec_vp9_slice_setup_lat_from_src_buf()
727 dst = &lat_buf->ts_info; in vdec_vp9_slice_setup_lat_from_src_buf()
981 struct vdec_lat_buf *lat_buf) in vdec_vp9_slice_setup_lat_buffer() argument
1005 vsi->ube.dma_addr = lat_buf->ctx->msg_queue.wdma_addr.dma_addr; in vdec_vp9_slice_setup_lat_buffer()
1006 vsi->ube.size = lat_buf->ctx->msg_queue.wdma_addr.size; in vdec_vp9_slice_setup_lat_buffer()
1007 vsi->trans.dma_addr = lat_buf->ctx->msg_queue.wdma_wptr_addr; in vdec_vp9_slice_setup_lat_buffer()
1009 vsi->trans.dma_addr_end = lat_buf->ctx->msg_queue.wdma_rptr_addr; in vdec_vp9_slice_setup_lat_buffer()
1010 vsi->err_map.dma_addr = lat_buf->wdma_err_addr.dma_addr; in vdec_vp9_slice_setup_lat_buffer()
[all …]