Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_vp9_if.c166 struct vp9_dram_buf mv_buf; member
191 struct mtk_vcodec_mem mv_buf; member
390 mem = &inst->mv_buf; in vp9_alloc_work_buf()
403 vsi->mv_buf.va = (unsigned long)mem->va; in vp9_alloc_work_buf()
404 vsi->mv_buf.pa = (unsigned long)mem->dma_addr; in vp9_alloc_work_buf()
405 vsi->mv_buf.sz = (unsigned int)mem->size; in vp9_alloc_work_buf()
667 inst->vsi->mv_buf.va = (unsigned long)inst->mv_buf.va; in vp9_reset()
668 inst->vsi->mv_buf.pa = (unsigned long)inst->mv_buf.dma_addr; in vp9_reset()
669 inst->vsi->mv_buf.sz = (unsigned long)inst->mv_buf.size; in vp9_reset()
764 mem = &inst->mv_buf; in vdec_vp9_deinit()
Dvdec_h264_req_multi_if.c157 struct mtk_vcodec_mem mv_buf[H264_MAX_MV_NUM]; member
318 mem = &inst->mv_buf[i]; in vdec_h264_slice_alloc_mv_buf()
338 mem = &inst->mv_buf[i]; in vdec_h264_slice_free_mv_buf()
503 mem = &inst->mv_buf[i]; in vdec_h264_slice_core_decode()
633 mem = &inst->mv_buf[i]; in vdec_h264_slice_lat_decode()
772 mem = &inst->mv_buf[i]; in vdec_h264_slice_single_decode()
Dvdec_h264_if.c129 struct mtk_vcodec_mem mv_buf[H264_MAX_FB_NUM]; member
172 mem = &inst->mv_buf[i]; in alloc_mv_buf()
194 mem = &inst->mv_buf[i]; in free_mv_buf()
Dvdec_h264_req_if.c88 struct mtk_vcodec_mem mv_buf[H264_MAX_MV_NUM]; member
191 mem = &inst->mv_buf[i]; in alloc_mv_buf()
213 mem = &inst->mv_buf[i]; in free_mv_buf()
Dvdec_hevc_req_multi_if.c362 struct mtk_vcodec_mem mv_buf[HEVC_MAX_MV_NUM]; member
653 mem = &inst->mv_buf[i]; in vdec_hevc_slice_alloc_mv_buf()
673 mem = &inst->mv_buf[i]; in vdec_hevc_slice_free_mv_buf()
760 mem = &inst->mv_buf[i]; in vdec_hevc_slice_setup_lat_buffer()
844 mem = &inst->mv_buf[i]; in vdec_hevc_slice_setup_core_buffer()
/linux-6.12.1/drivers/media/platform/ti/vpe/
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()