Searched refs:mv_buf (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/media/platform/mtk-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()
|
/Linux-v5.10/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()
|