Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/vdec/
A Dvdec_vp9_if.c165 struct vp9_dram_buf mv_buf; member
190 struct mtk_vcodec_mem mv_buf; member
392 mem = &inst->mv_buf; in vp9_alloc_work_buf()
405 vsi->mv_buf.va = (unsigned long)mem->va; in vp9_alloc_work_buf()
406 vsi->mv_buf.pa = (unsigned long)mem->dma_addr; in vp9_alloc_work_buf()
407 vsi->mv_buf.sz = (unsigned int)mem->size; in vp9_alloc_work_buf()
671 inst->vsi->mv_buf.va = (unsigned long)inst->mv_buf.va; in vp9_reset()
672 inst->vsi->mv_buf.pa = (unsigned long)inst->mv_buf.dma_addr; in vp9_reset()
673 inst->vsi->mv_buf.sz = (unsigned long)inst->mv_buf.size; in vp9_reset()
774 mem = &inst->mv_buf; in vdec_vp9_deinit()
A Dvdec_h264_if.c130 struct mtk_vcodec_mem mv_buf[H264_MAX_FB_NUM]; member
175 mem = &inst->mv_buf[i]; in alloc_mv_buf()
197 mem = &inst->mv_buf[i]; in free_mv_buf()
A Dvdec_h264_req_multi_if.c158 struct mtk_vcodec_mem mv_buf[H264_MAX_MV_NUM]; member
319 mem = &inst->mv_buf[i]; in vdec_h264_slice_alloc_mv_buf()
339 mem = &inst->mv_buf[i]; in vdec_h264_slice_free_mv_buf()
507 mem = &inst->mv_buf[i]; in vdec_h264_slice_core_decode()
638 mem = &inst->mv_buf[i]; in vdec_h264_slice_lat_decode()
772 mem = &inst->mv_buf[i]; in vdec_h264_slice_single_decode()
A Dvdec_h264_req_if.c89 struct mtk_vcodec_mem mv_buf[H264_MAX_MV_NUM]; member
194 mem = &inst->mv_buf[i]; in alloc_mv_buf()
216 mem = &inst->mv_buf[i]; in free_mv_buf()
/linux-6.3-rc2/drivers/media/platform/ti/vpe/
A Dvpe.c412 void *mv_buf[2]; /* virtual addrs of motion vector bufs */ member
554 if (ctx->mv_buf[0]) in realloc_mv_buffers()
555 dma_free_coherent(dev, ctx->mv_buf_size, ctx->mv_buf[0], in realloc_mv_buffers()
558 if (ctx->mv_buf[1]) in realloc_mv_buffers()
559 dma_free_coherent(dev, ctx->mv_buf_size, ctx->mv_buf[1], in realloc_mv_buffers()
565 ctx->mv_buf[0] = dma_alloc_coherent(dev, size, &ctx->mv_buf_dma[0], in realloc_mv_buffers()
567 if (!ctx->mv_buf[0]) { in realloc_mv_buffers()
572 ctx->mv_buf[1] = dma_alloc_coherent(dev, size, &ctx->mv_buf_dma[1], in realloc_mv_buffers()
574 if (!ctx->mv_buf[1]) { in realloc_mv_buffers()
576 dma_free_coherent(dev, size, ctx->mv_buf[0], in realloc_mv_buffers()

Completed in 19 milliseconds