Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dvdec_msg_queue.c179 struct vdec_lat_buf *lat_buf; in vdec_msg_queue_deinit() local
187 lat_buf = &msg_queue->lat_buf[i]; in vdec_msg_queue_deinit()
189 mem = &lat_buf->wdma_err_addr; in vdec_msg_queue_deinit()
193 mem = &lat_buf->slice_bc_addr; in vdec_msg_queue_deinit()
197 kfree(lat_buf->private_data); in vdec_msg_queue_deinit()
208 struct vdec_lat_buf *lat_buf; in vdec_msg_queue_core_work() local
210 lat_buf = vdec_msg_queue_dqbuf(&dev->msg_queue_core_ctx); in vdec_msg_queue_core_work()
211 if (!lat_buf) in vdec_msg_queue_core_work()
214 ctx = lat_buf->ctx; in vdec_msg_queue_core_work()
218 lat_buf->core_decode(lat_buf); in vdec_msg_queue_core_work()
[all …]
Dvdec_msg_queue.h22 typedef int (*core_decode_cb_t)(struct vdec_lat_buf *lat_buf);
77 struct vdec_lat_buf lat_buf[NUM_BUFFER_COUNT]; member
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_h264_req_multi_if.c456 static int vdec_h264_slice_core_decode(struct vdec_lat_buf *lat_buf) in vdec_h264_slice_core_decode() argument
462 struct mtk_vcodec_ctx *ctx = lat_buf->ctx; in vdec_h264_slice_core_decode()
465 struct vdec_h264_slice_share_info *share_info = lat_buf->private_data; in vdec_h264_slice_core_decode()
496 lat_buf->ctx->msg_queue.wdma_addr.dma_addr; in vdec_h264_slice_core_decode()
498 lat_buf->ctx->msg_queue.wdma_addr.dma_addr + in vdec_h264_slice_core_decode()
499 lat_buf->ctx->msg_queue.wdma_addr.size; in vdec_h264_slice_core_decode()
500 inst->vsi_core->wdma_err_addr = lat_buf->wdma_err_addr.dma_addr; in vdec_h264_slice_core_decode()
501 inst->vsi_core->slice_bc_start_addr = lat_buf->slice_bc_addr.dma_addr; in vdec_h264_slice_core_decode()
502 inst->vsi_core->slice_bc_end_addr = lat_buf->slice_bc_addr.dma_addr + in vdec_h264_slice_core_decode()
503 lat_buf->slice_bc_addr.size; in vdec_h264_slice_core_decode()
[all …]
Dvdec_vp9_req_lat_if.c503 static int vdec_vp9_slice_core_decode(struct vdec_lat_buf *lat_buf);
717 struct vdec_lat_buf *lat_buf) in vdec_vp9_slice_setup_lat_from_src_buf() argument
726 lat_buf->src_buf_req = src->vb2_buf.req_obj.req; in vdec_vp9_slice_setup_lat_from_src_buf()
728 dst = &lat_buf->ts_info; in vdec_vp9_slice_setup_lat_from_src_buf()
982 struct vdec_lat_buf *lat_buf) in vdec_vp9_slice_setup_lat_buffer() argument
1006 vsi->ube.dma_addr = lat_buf->ctx->msg_queue.wdma_addr.dma_addr; in vdec_vp9_slice_setup_lat_buffer()
1007 vsi->ube.size = lat_buf->ctx->msg_queue.wdma_addr.size; in vdec_vp9_slice_setup_lat_buffer()
1008 vsi->trans.dma_addr = lat_buf->ctx->msg_queue.wdma_wptr_addr; in vdec_vp9_slice_setup_lat_buffer()
1010 vsi->trans.dma_addr_end = lat_buf->ctx->msg_queue.wdma_rptr_addr; in vdec_vp9_slice_setup_lat_buffer()
1011 vsi->err_map.dma_addr = lat_buf->wdma_err_addr.dma_addr; in vdec_vp9_slice_setup_lat_buffer()
[all …]