Searched refs:mv_buf (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/vdec/ |
D | vdec_vp9_if.c | 165 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()
|
D | vdec_h264_if.c | 130 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()
|
D | vdec_h264_req_multi_if.c | 158 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() 502 mem = &inst->mv_buf[i]; in vdec_h264_slice_core_decode() 607 mem = &inst->mv_buf[i]; in vdec_h264_slice_lat_decode() 740 mem = &inst->mv_buf[i]; in vdec_h264_slice_single_decode()
|
D | vdec_h264_req_if.c | 89 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-v6.1/drivers/media/platform/ti/vpe/ |
D | vpe.c | 412 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()
|